/// <summary>
        /// Create a new paymentmethod object.
        /// </summary>
        /// <param name="id">Initial value of the id property.</param>
        public static paymentmethod Createpaymentmethod(global::System.Int32 id)
        {
            paymentmethod paymentmethod = new paymentmethod();

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