public AccessDetailsDatabaseAgent(IBusinessObject businessObject)
     : base(businessObject)
 {
     InsertCommand = new AccessDetailsInsertCommand(this);
     UpdateCommand = new AccessDetailsUpdateCommand(this);
     DeleteCommand = new AccessDetailsDeleteCommand(this);
     SelectCommand = new AccessDetailsSelectCommand(this, AccessDetailsQuery.SelectQuery);
 }
 public AccessDetailsDatabaseAgent(IBusinessObjectCollection businessObjectCollection)
     : base(businessObjectCollection)
 {
     SelectAllCommand = new AccessDetailsSelectCommand(this, AccessDetailsQuery.SelectAllQuery);
 }