public DDeviceDatatypeCollection FetchByQuery(Query qry)
        {
            var coll = new DDeviceDatatypeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public DDeviceDatatypeCollection FetchAll()
        {
            var coll = new DDeviceDatatypeCollection();
            var qry  = new Query(DDeviceDatatype.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public DDeviceDatatypeCollection FetchByID(object DataTypeId)
        {
            DDeviceDatatypeCollection coll = new DDeviceDatatypeCollection().Where("DataType_ID", DataTypeId).Load();

            return(coll);
        }