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