Пример #1
0
        public IndividualCollection FetchByQuery(Query qry)
        {
            IndividualCollection coll = new IndividualCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public IndividualCollection FetchAll()
        {
            IndividualCollection coll = new IndividualCollection();
            Query qry = new Query(Individual.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Пример #3
0
        public IndividualCollection FetchByID(object CustomerID)
        {
            IndividualCollection coll = new IndividualCollection().Where("CustomerID", CustomerID).Load();

            return(coll);
        }