Exemplo n.º 1
0
        public DDeviceTypeListCollection FetchByQuery(Query qry)
        {
            var coll = new DDeviceTypeListCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 2
0
        public DDeviceTypeListCollection FetchAll()
        {
            var coll = new DDeviceTypeListCollection();
            var qry  = new Query(DDeviceTypeList.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Exemplo n.º 3
0
        public DDeviceTypeListCollection FetchByID(object DeviceTypeId)
        {
            DDeviceTypeListCollection coll = new DDeviceTypeListCollection().Where("DeviceType_ID", DeviceTypeId).Load();

            return(coll);
        }