Пример #1
0
 /// <summary>
 /// Insert a new comment (direct to DB)
 /// </summary>
 /// <param name="workId">workId</param>
 /// <param name="refId">refId</param>
 /// <param name="type">type</param>
 /// <param name="subject">subject</param>
 /// <param name="userId">userId</param>
 /// <param name="dateTime_">dateTime_</param>
 /// <param name="history">history</param>
 /// <param name="libraryFilesId">libraryFilesId</param>
 /// <param name="deleted">deleted</param>
 /// <param name="companyId">companyId</param>
 /// <param name="workType">workType</param>
 /// <returns></returns>
 public void InsertDirect(int workId, int refId, string type, string subject, int userId, DateTime? dateTime_, string history, int? libraryFilesId, bool deleted, int companyId, string workType)
 {
     WorkHistoryGateway workHistoryGateway = new WorkHistoryGateway(null);
     workHistoryGateway.Insert(workId, refId, type, subject, userId, dateTime_, history, libraryFilesId, deleted, companyId, workType);
 }