コード例 #1
0
        public ProviderCollection FetchByQuery(Query qry)
        {
            ProviderCollection coll = new ProviderCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public ProviderCollection FetchAll()
        {
            ProviderCollection coll = new ProviderCollection();
            Query qry = new Query(Provider.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public ProviderCollection FetchByID(object ProviderId)
        {
            ProviderCollection coll = new ProviderCollection().Where("ProviderId", ProviderId).Load();

            return(coll);
        }