public DDMesureUnitCollection FetchByQuery(Query qry) { DDMesureUnitCollection coll = new DDMesureUnitCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDMesureUnitCollection FetchAll() { DDMesureUnitCollection coll = new DDMesureUnitCollection(); Query qry = new Query(DDMesureUnit.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DDMesureUnitCollection FetchByID(object UnitID) { DDMesureUnitCollection coll = new DDMesureUnitCollection().Where("UnitID", UnitID).Load(); return(coll); }