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