コード例 #1
0
ファイル: Hotels.cs プロジェクト: NosDeployer/TestBranching
 // ////////////////////////////////////////////////////////////////////////
 // PUBLIC METHODS
 //
 /// <summary>
 /// InsertDirect
 /// </summary>
 /// <param name="companiesId">companiesId</param>
 /// <param name="date">date</param>
 /// <param name="name">name</param>
 /// <param name="active">active</param>        
 /// <param name="deleted">deleted</param>
 /// <param name="companyId">companyId</param>
 public void InsertDirect(int companiesId, DateTime date, string name, bool deleted, int companyId)
 {
     HotelsGateway hotelsGateway = new HotelsGateway(null);
     hotelsGateway.Insert(companiesId, date, name, deleted, companyId);
 }
コード例 #2
0
ファイル: Hotels.cs プロジェクト: NosDeployer/TestBranching
 /// <summary>
 /// DeleteDirect
 /// </summary>
 /// <param name="companiesId">companiesId</param>
 /// <param name="date">date</param>
 public void DeleteDirect(int companiesId, DateTime date)
 {
     // Delete comments
     HotelsGateway hotelsGateway = new HotelsGateway(null);
     hotelsGateway.Delete(companiesId, date);
 }