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