public LFormControlCollection FetchByQuery(Query qry) { LFormControlCollection coll = new LFormControlCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public LFormControlCollection FetchAll() { LFormControlCollection coll = new LFormControlCollection(); Query qry = new Query(LFormControl.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }