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