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); }
public LFormControlCollection FetchByID(object ControlId) { LFormControlCollection coll = new LFormControlCollection().Where("Control_ID", ControlId).Load(); return(coll); }