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

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

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

            return(coll);
        }