/// <summary>
        /// Create a new CustomerEmail object.
        /// </summary>
        /// <param name="customerEmailId">Initial value of the CustomerEmailId property.</param>
        /// <param name="customerId">Initial value of the CustomerId property.</param>
        /// <param name="email">Initial value of the Email property.</param>
        public static CustomerEmail CreateCustomerEmail(global::System.Int32 customerEmailId, global::System.Int32 customerId, global::System.String email)
        {
            CustomerEmail customerEmail = new CustomerEmail();

            customerEmail.CustomerEmailId = customerEmailId;

            customerEmail.CustomerId = customerId;

            customerEmail.Email = email;

            return(customerEmail);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the CustomerEmails EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomerEmails(CustomerEmail customerEmail)
 {
     base.AddObject("CustomerEmails", customerEmail);
 }