Exemple #1
0
        public TypeTableCollection FetchByQuery(Query qry)
        {
            TypeTableCollection coll = new TypeTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #2
0
        public TypeTableCollection FetchAll()
        {
            TypeTableCollection coll = new TypeTableCollection();
            Query qry = new Query(TypeTable.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemple #3
0
        public TypeTableCollection FetchByID(object TypeID)
        {
            TypeTableCollection coll = new TypeTableCollection().Where("TypeID", TypeID).Load();

            return(coll);
        }