Example #1
0
        public VersionCollection FetchByQuery(Query qry)
        {
            VersionCollection coll = new VersionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public VersionCollection FetchAll()
        {
            VersionCollection coll = new VersionCollection();
            Query             qry  = new Query(Version.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public VersionCollection FetchByID(object VersionId)
        {
            VersionCollection coll = new VersionCollection().Where("VersionId", VersionId).Load();

            return(coll);
        }