public LRS232Collection FetchByQuery(Query qry) { var coll = new LRS232Collection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LRS232Collection FetchAll() { var coll = new LRS232Collection(); var qry = new Query(LRS232.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LRS232Collection FetchByID(object Id) { LRS232Collection coll = new LRS232Collection().Where("ID", Id).Load(); return(coll); }