Example #1
0
 public FormrecordCollection FetchAll()
 {
     FormrecordCollection coll = new FormrecordCollection();
     Query qry = new Query(Formrecord.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Example #2
0
 public FormrecordCollection FetchByQuery(Query qry)
 {
     FormrecordCollection coll = new FormrecordCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
Example #3
0
 public FormrecordCollection FetchByID(object Id)
 {
     FormrecordCollection coll = new FormrecordCollection().Where("id", Id).Load();
     return coll;
 }