Esempio n. 1
0
 public EmployeeDetailDatabaseAgent(IBusinessObject businessObject)
     : base(businessObject)
 {
     InsertCommand = new EmployeeDetailInsertCommand(this);
     UpdateCommand = new EmployeeDetailUpdateCommand(this);
     DeleteCommand = new EmployeeDetailDeleteCommand(this);
     SelectCommand = new EmployeeDetailSelectCommand(this, EmployeeDetailQuery.SelectQuery);
 }
Esempio n. 2
0
 public EmployeeDetailDatabaseAgent(IBusinessObjectCollection businessObjectCollection)
     : base(businessObjectCollection)
 {
     SelectAllCommand = new EmployeeDetailSelectCommand(this, EmployeeDetailQuery.SelectAllQuery);
 }