예제 #1
0
 public HoadonTrangthaiCollection FetchAll()
 {
     HoadonTrangthaiCollection coll = new HoadonTrangthaiCollection();
     Query qry = new Query(HoadonTrangthai.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #2
0
 public HoadonTrangthaiCollection FetchByQuery(Query qry)
 {
     HoadonTrangthaiCollection coll = new HoadonTrangthaiCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #3
0
 public HoadonTrangthaiCollection FetchByID(object MessageId)
 {
     HoadonTrangthaiCollection coll = new HoadonTrangthaiCollection().Where("Message_ID", MessageId).Load();
     return coll;
 }