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