/// <summary>
        /// Creates a new ProductChannel.
        /// </summary>
        /// <param name="channel">The channel.</param>
        /// <returns>The product channel criterion.</returns>
        public static ProductChannel CreateChannel(ShoppingProductChannel channel)
        {
            ProductChannel retval = CreateChannel();

            retval.channel = channel;
            return(retval);
        }
 /// <summary>
 /// Creates a new ProductChannel.
 /// </summary>
 /// <param name="channel">The channel.</param>
 /// <returns>The product channel criterion.</returns>
 public static ProductChannel CreateChannel(ShoppingProductChannel channel)
 {
     ProductChannel retval = CreateChannel();
       retval.channel = channel;
       return retval;
 }