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