/// <summary>
        /// 创建新的 SubOrderTemplate 对象。
        /// </summary>
        /// <param name="id">ID 属性的初始值。</param>
        /// <param name="customerID">CustomerID 属性的初始值。</param>
        /// <param name="recipient">Recipient 属性的初始值。</param>
        /// <param name="recipientAddress">RecipientAddress 属性的初始值。</param>
        /// <param name="code">Code 属性的初始值。</param>
        public static SubOrderTemplate CreateSubOrderTemplate(global::System.Int32 id, global::System.Int32 customerID, global::System.String recipient, global::System.String recipientAddress, global::System.String code)
        {
            SubOrderTemplate subOrderTemplate = new SubOrderTemplate();

            subOrderTemplate.ID               = id;
            subOrderTemplate.CustomerID       = customerID;
            subOrderTemplate.Recipient        = recipient;
            subOrderTemplate.RecipientAddress = recipientAddress;
            subOrderTemplate.Code             = code;
            return(subOrderTemplate);
        }
 /// <summary>
 /// 用于向 SubOrderTemplates EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSubOrderTemplates(SubOrderTemplate subOrderTemplate)
 {
     base.AddObject("SubOrderTemplates", subOrderTemplate);
 }
 /// <summary>
 /// 用于向 SubOrderTemplates EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSubOrderTemplates(SubOrderTemplate subOrderTemplate)
 {
     base.AddObject("SubOrderTemplates", subOrderTemplate);
 }
 /// <summary>
 /// 创建新的 SubOrderTemplate 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="customerID">CustomerID 属性的初始值。</param>
 /// <param name="recipient">Recipient 属性的初始值。</param>
 /// <param name="recipientAddress">RecipientAddress 属性的初始值。</param>
 /// <param name="code">Code 属性的初始值。</param>
 public static SubOrderTemplate CreateSubOrderTemplate(global::System.Int32 id, global::System.Int32 customerID, global::System.String recipient, global::System.String recipientAddress, global::System.String code)
 {
     SubOrderTemplate subOrderTemplate = new SubOrderTemplate();
     subOrderTemplate.ID = id;
     subOrderTemplate.CustomerID = customerID;
     subOrderTemplate.Recipient = recipient;
     subOrderTemplate.RecipientAddress = recipientAddress;
     subOrderTemplate.Code = code;
     return subOrderTemplate;
 }