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