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

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

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

            return(coll);
        }