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