Exemple #1
0
 /// <summary>
 /// Update a unit (direct to DB)
 /// </summary>
 /// <param name="originalUnitId">originalUnitId</param>
 /// <param name="originalCode">originalCode</param>
 /// <param name="originalDescription">originalDescription</param>
 /// <param name="originalVin">originalVin</param>
 /// <param name="originalManufacturer">originalManufacturer</param>
 /// <param name="originalModel">originalModel</param>
 /// <param name="originalYear_">originalYear_</param>
 /// <param name="originalIsTowable">originalIsTowable</param>
 /// <param name="originalCompanyLevelId">originalCompanyLevelId</param>
 /// <param name="originalAcquisitionDate">originalAcquisitionDate</param>
 /// <param name="originalDispositionDate">originalDispositionDate</param>
 /// <param name="originalDispositionReason">originalDispositionReason</param>        
 /// <param name="originalOwnerType">originalOwnerType</param>
 /// <param name="originalOwnerCountry">originalOwnerCountry</param>
 /// <param name="originalOwnerState">originalOwnerState</param>
 /// <param name="originalOwnerName">originalOwnerName</param>
 /// <param name="originalOwnerContact">originalOwnerContact</param>
 /// <param name="originalQualifiedDate">originalQualifiedDate</param>
 /// <param name="originalNotQualifiedDate">originalNotQualifiedDate</param>
 /// <param name="originalNotQualifiedExplain">originalNotQualifiedExplain</param>
 /// <param name="originalState">originalState</param>
 /// <param name="originalType">originalType</param>
 /// <param name="originalDeleted">originalDeleted</param>
 /// <param name="originalCompanyId">originalCompanyId</param>
 /// <param name="originalNotes">originalNotes</param>
 /// <param name="originalCategories">originalCategories</param>
 /// <param name="originalInsuranceClass">originalInsuranceClass</param>
 /// <param name="originalInsuranceClassRyderSpecified">originalInsuranceClassRyderSpecified</param>
 /// <param name="originalPurchasePrice">originalPurchasePrice</param>
 /// <param name="originalSaleProceeds">originalSaleProceeds</param>
 /// <param name="originalScrapDate">originalScrapDate</param>
 /// <param name="originalLibraryCategoriesId">originalLibraryCategoriesId</param>
 /// 
 /// <param name="newUnitId">newUnitId</param>
 /// <param name="newCode">newCode</param>
 /// <param name="newDescription">newDescription</param>
 /// <param name="newVin">newVin</param>
 /// <param name="newManufacturer">newManufacturer</param>
 /// <param name="newModel">newModel</param>
 /// <param name="newYear_">newYear_</param>
 /// <param name="newIsTowable">newIsTowable</param>
 /// <param name="newCompanyLevelId">newCompanyLevelId</param>
 /// <param name="newAcquisitionDate">newAcquisitionDate</param>
 /// <param name="newDispositionDate"newDispositionDate></param>
 /// <param name="newDispositionReason">newDispositionReason</param>        
 /// <param name="newOwnerType">newOwnerType</param>
 /// <param name="newOwnerCountry">newOwnerCountry</param>
 /// <param name="newOwnerState">newOwnerState</param>
 /// <param name="newOwnerName">newOwnerName</param>
 /// <param name="newOwnerContact">newOwnerContact</param>
 /// <param name="newQualifiedDate">newQualifiedDate</param>
 /// <param name="newNotQualifiedDate">newNotQualifiedDate</param>
 /// <param name="newNotQualifiedExplain">newNotQualifiedExplain</param>
 /// <param name="newState">newState</param>
 /// <param name="newType">newType</param>
 /// <param name="newDeleted">newDeleted</param>
 /// <param name="newCompanyId">newCompanyId</param>
 /// <param name="newNotes">newNotes</param>
 /// <param name="newCategories">newCategories</param>
 /// <param name="newInsuranceClass">newInsuranceClass</param>
 /// <param name="newInsuranceClassRyderSpecified">newInsuranceClassRyderSpecified</param>
 /// <param name="newPurchasePrice">newPurchasePrice</param>
 /// <param name="newSaleProceeds">newSaleProceeds</param>
 /// <param name="newScrapDate">newScrapDate</param>
 /// <param name="newLibraryCategoriesId">newLibraryCategoriesId</param>
 public void UpdateDirect(int originalUnitId, string originalUnitCode, string originalDescription, string originalVin, string originalManufacturer, string originalModel, string originalYear_, bool originalIsTowable, int originalCompanyLevelId, DateTime? originalAcquisitionDate, DateTime? originalDispositionDate, string originalDispositionReason, string originalOwnerType, Int64? originalOwnerCountry, Int64? originalOwnerState, string originalOwnerName, string originalOwnerContact, DateTime? originalQualifiedDate, DateTime? originalNotQualifiedDate, string originalNotQualifiedExplain, string originalState, string originalType, bool originalDeleted, int originalCompanyId, string originalNotes, string originalCategories, string originalInsuranceClass, string originalInsuranceClassRyderSpecified, decimal? originalPurchasePrice, DateTime? originalScrapDate, decimal? originalSaleProceeds, int? originalLibraryCategoriesId, int newUnitId, string newUnitCode, string newDescription, string newVin, string newManufacturer, string newModel, string newYear_, bool newIsTowable, int newCompanyLevelId, DateTime? newAcquisitionDate, DateTime? newDispositionDate, string newDispositionReason, string newOwnerType, Int64? newOwnerCountry, Int64? newOwnerState, string newOwnerName, string newOwnerContact, DateTime? newQualifiedDate, DateTime? newNotQualifiedDate, string newNotQualifiedExplain, string newState, string newType, bool newDeleted, int newCompanyId, string newNotes, string newCategories, string newInsuranceClass, string newInsuranceClassRyderSpecified, decimal? newPurchasePrice, DateTime? newScrapDate, decimal? newSaleProceeds, int? newLibraryCategoriesId)
 {
     UnitsGateway unitsGateway = new UnitsGateway(null);
     unitsGateway.Update(originalUnitId, originalUnitCode, originalDescription, originalVin, originalManufacturer, originalModel, originalYear_, originalIsTowable, originalCompanyLevelId, originalAcquisitionDate, originalDispositionDate, originalDispositionReason,  originalOwnerType, originalOwnerCountry, originalOwnerState, originalOwnerName, originalOwnerContact, originalQualifiedDate, originalNotQualifiedDate, originalNotQualifiedExplain, originalState, originalType, originalDeleted, originalCompanyId, originalNotes, originalCategories, originalInsuranceClass, originalInsuranceClassRyderSpecified, originalPurchasePrice, originalScrapDate, originalSaleProceeds, originalLibraryCategoriesId, newUnitId, newUnitCode, newDescription, newVin, newManufacturer, newModel, newYear_, newIsTowable, newCompanyLevelId, newAcquisitionDate, newDispositionDate, newDispositionReason,  newOwnerType, newOwnerCountry, newOwnerState, newOwnerName, newOwnerContact, newQualifiedDate, newNotQualifiedDate, newNotQualifiedExplain, newState, newType, newDeleted, newCompanyId, newNotes, newCategories, newInsuranceClass, newInsuranceClassRyderSpecified, newPurchasePrice, newScrapDate, newSaleProceeds, newLibraryCategoriesId);
 }