示例#1
0
        public ContainerTableCollection FetchByQuery(Query qry)
        {
            ContainerTableCollection coll = new ContainerTableCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#2
0
        public ContainerTableCollection FetchAll()
        {
            ContainerTableCollection coll = new ContainerTableCollection();
            Query qry = new Query(ContainerTable.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
示例#3
0
        public ContainerTableCollection FetchByID(object ContainerID)
        {
            ContainerTableCollection coll = new ContainerTableCollection().Where("ContainerID", ContainerID).Load();

            return(coll);
        }