public ObjectsBancBoxCollection FetchAll() { ObjectsBancBoxCollection coll = new ObjectsBancBoxCollection(); Query qry = new Query(ObjectsBancBox.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ObjectsBancBoxCollection FetchByQuery(Query qry) { ObjectsBancBoxCollection coll = new ObjectsBancBoxCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ObjectsBancBoxCollection FetchByID(object ObjectsBancboxId) { ObjectsBancBoxCollection coll = new ObjectsBancBoxCollection().Where("objects_bancbox_id", ObjectsBancboxId).Load(); return coll; }