public BlockedReferralCollection FetchByQuery(Query qry)
        {
            BlockedReferralCollection coll = new BlockedReferralCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
        public BlockedReferralCollection FetchAll()
        {
            BlockedReferralCollection coll = new BlockedReferralCollection();
            Query qry = new Query(BlockedReferral.Schema);

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

            return(coll);
        }