public AppointmentOrderFactorDatabaseAgent(IBusinessObject businessObject)
     : base(businessObject)
 {
     InsertCommand = new AppointmentOrderFactorInsertCommand(this);
     UpdateCommand = new AppointmentOrderFactorUpdateCommand(this);
     DeleteCommand = new AppointmentOrderFactorDeleteCommand(this);
     SelectCommand = new AppointmentOrderFactorSelectCommand(this, AppointmentOrderFactorQuery.SelectQuery);
 }
 public AppointmentOrderFactorDatabaseAgent(IBusinessObjectCollection businessObjectCollection)
     : base(businessObjectCollection)
 {
     SelectAllCommand = new AppointmentOrderFactorSelectCommand(this, AppointmentOrderFactorQuery.SelectAllQuery);
 }