Esempio n. 1
0
        public TransactionTypeDescriptorCollection FetchByQuery(Query qry)
        {
            TransactionTypeDescriptorCollection coll = new TransactionTypeDescriptorCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public TransactionTypeDescriptorCollection FetchAll()
        {
            TransactionTypeDescriptorCollection coll = new TransactionTypeDescriptorCollection();
            Query qry = new Query(TransactionTypeDescriptor.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public TransactionTypeDescriptorCollection FetchByID(object TransactionTypeDescriptorId)
        {
            TransactionTypeDescriptorCollection coll = new TransactionTypeDescriptorCollection().Where("TransactionTypeDescriptorId", TransactionTypeDescriptorId).Load();

            return(coll);
        }