Example #1
0
 public DDviTinhCollection FetchAll()
 {
     DDviTinhCollection coll = new DDviTinhCollection();
     Query qry = new Query(DDviTinh.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Example #2
0
 public DDviTinhCollection FetchByQuery(Query qry)
 {
     DDviTinhCollection coll = new DDviTinhCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
Example #3
0
 public DDviTinhCollection FetchByID(object IdDviTinh)
 {
     DDviTinhCollection coll = new DDviTinhCollection().Where("ID_DVI_TINH", IdDviTinh).Load();
     return coll;
 }