public LObjectTypeCollection FetchByQuery(Query qry) { LObjectTypeCollection coll = new LObjectTypeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LObjectTypeCollection FetchAll() { LObjectTypeCollection coll = new LObjectTypeCollection(); Query qry = new Query(LObjectType.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LObjectTypeCollection FetchByID(object Id) { LObjectTypeCollection coll = new LObjectTypeCollection().Where("ID", Id).Load(); return(coll); }