/// <summary> /// Deprecated Method for adding a new object to the paymenttype EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTopaymenttype(paymenttype paymenttype) { base.AddObject("paymenttype", paymenttype); }
/// <summary> /// Create a new paymenttype object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="externalId">Initial value of the ExternalId property.</param> /// <param name="name">Initial value of the Name property.</param> public static paymenttype Createpaymenttype(global::System.Int32 id, global::System.String externalId, global::System.String name) { paymenttype paymenttype = new paymenttype(); paymenttype.Id = id; paymenttype.ExternalId = externalId; paymenttype.Name = name; return paymenttype; }