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