コード例 #1
0
 // ////////////////////////////////////////////////////////////////////////
 // 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)
 {
     BondingCompaniesGateway bondingCompaniesGateway = new BondingCompaniesGateway(null);
     bondingCompaniesGateway.Insert(companiesId, date, name, deleted, companyId);
 }
コード例 #2
0
 /// <summary>
 /// DeleteDirect
 /// </summary>
 /// <param name="companiesId">companiesId</param>
 /// <param name="date">date</param>
 public void DeleteDirect(int companiesId, DateTime date)
 {
     // Delete comments
     BondingCompaniesGateway bondingCompaniesGateway = new BondingCompaniesGateway(null);
     bondingCompaniesGateway.Delete(companiesId, date);
 }