示例#1
0
 public CompanyDatabaseAgent(IBusinessObject businessObject)
     : base(businessObject)
 {
     InsertCommand = new CompanyInsertCommand(this);
     UpdateCommand = new CompanyUpdateCommand(this);
     DeleteCommand = new CompanyDeleteCommand(this);
     SelectCommand = new CompanySelectCommand(this, CompanyQuery.SelectQuery);
 }
示例#2
0
 public CompanyDatabaseAgent(IBusinessObjectCollection businessObjectCollection)
     : base(businessObjectCollection)
 {
     SelectAllCommand = new CompanySelectCommand(this, CompanyQuery.SelectAllQuery);
 }