/// <summary>
        ///     Retrieves a collection of <see cref="!:ProfileProductModel" /> instances.
        /// </summary>
        /// <param name="productId">
        ///     The value which identifies the <see cref="!:ProfileProductModel" /> instances to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:ProfileProductModel" /> instances that match the specified <paramref name="productId" />.
        /// </returns>
        public static IEnumerable <Consensus.Common.ProfileProduct> FetchAllByProductId(System.String productId)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ProfileProduct.FetchAllByProductId(site, productId));
        }
        public static System.String GetTableName()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ProfileProduct.GetTableName(site));
        }
        /// <summary>
        ///     Retrieves all instances of the <see cref="!:ProfileProductModel" /> class.
        /// </summary>
        /// <returns>
        ///     An enumerable collection of <see cref="!:ProfileProductModel" /> instances.
        /// </returns>
        public static IEnumerable <Consensus.Common.ProfileProduct> FetchAll()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ProfileProduct.FetchAll(site));
        }
        /// <summary>
        ///     Retrieves a specific <see cref="!:ProfileProductModel" /> instance.
        /// </summary>
        /// <param name="id">
        ///     The unique value which distinctly identifies the <see cref="!:ProfileProductModel" /> instance to be returned.
        /// </param>
        /// <returns>
        ///     The <see cref="!:ProfileProductModel" /> instance that matches the specified <paramref name="id" />; or null, if no matching instance can be found.
        /// </returns>
        public static Consensus.Common.ProfileProduct FetchById(System.String id)
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ProfileProduct.FetchById(site, id));
        }
        /// <summary>
        ///     Creates a new <see cref="!:ProfileProductModel" /> instance.
        /// </summary>
        /// <returns>
        ///     A newly instantiated <see cref="!:ProfileProductModel" /> instance.
        /// </returns>
        public static Consensus.Common.ProfileProduct Create()
        {
            ConsensusSite site = ConsensusDomain.Configuration[ConsensusDomain.Configuration.DefaultSite];

            return(ProfileProduct.Create(site));
        }