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

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

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

            return(coll);
        }