Ejemplo n.º 1
0
 public GeneralLibCollection FetchAll()
 {
     GeneralLibCollection coll = new GeneralLibCollection();
     Query qry = new Query(GeneralLib.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Ejemplo n.º 2
0
 public GeneralLibCollection FetchByQuery(Query qry)
 {
     GeneralLibCollection coll = new GeneralLibCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Ejemplo n.º 3
0
 public GeneralLibCollection FetchByID(object Id)
 {
     GeneralLibCollection coll = new GeneralLibCollection().Where("ID", Id).Load();
     return coll;
 }