Exemplo n.º 1
0
 /// <summary>
 /// Update a work (direct to DB)
 /// </summary>
 /// <param name="originalWorkId">originalWorkId</param>
 /// <param name="originalProjectId">originalProjectId</param>
 /// <param name="originalAssetId">originalAssetId</param>
 /// <param name="originalWorkType">originalWorkType</param>
 /// <param name="originalLibraryCategoriesId">originalLibraryCategoriesId</param>
 /// <param name="originalDeleted">originalDeleted</param>
 /// <param name="originalCompanyId">originalCompanyId</param>
 /// <param name="originalComments">originalComments</param>
 /// <param name="originalHistory">originalHistory</param>
 /// 
 /// <param name="newWorkId">newWorkId</param>
 /// <param name="newProjectId">newProjectId</param>
 /// <param name="newAssetId">newAssetId</param>
 /// <param name="newWorkType">newWorkType</param>
 /// <param name="newLibraryCategoriesId">newLibraryCategoriesId</param>
 /// <param name="newDeleted">newDeleted</param>
 /// <param name="newCompanyId">newCompanyId</param>
 /// <param name="newComments">newComments</param>
 /// <param name="newHistory">newHistory</param>
 public void UpdateDirect(int originalWorkId, int originalProjectId, int originalAssetId, string originalWorkType, int? originalLibraryCategoriesId, bool originalDeleted, int originalCompanyId, string originalComments, string originalHistory, int newWorkId, int newProjectId, int newAssetId, string newWorkType, int? newLibraryCategoriesId, bool newDeleted, int newCompanyId, string newComments, string newHistory)
 {
     WorkGateway workGateway = new WorkGateway(null);
     workGateway.Update(originalWorkId, originalProjectId, originalAssetId, originalWorkType, originalLibraryCategoriesId, originalDeleted, originalCompanyId, originalComments, originalHistory, newWorkId, newProjectId, newAssetId, newWorkType, newLibraryCategoriesId, newDeleted, newCompanyId, newComments, newHistory);
 }