Inheritance: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// 用于向 Suppliers EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSuppliers(Supplier supplier)
 {
     base.AddObject("Suppliers", supplier);
 }
 /// <summary>
 /// 创建新的 Supplier 对象。
 /// </summary>
 /// <param name="supplierID">SupplierID 属性的初始值。</param>
 /// <param name="companyName">CompanyName 属性的初始值。</param>
 public static Supplier CreateSupplier(global::System.Int32 supplierID, global::System.String companyName)
 {
     Supplier supplier = new Supplier();
     supplier.SupplierID = supplierID;
     supplier.CompanyName = companyName;
     return supplier;
 }