/// <summary>
 /// Deprecated Method for adding a new object to the SupplierSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSupplierSet(Supplier supplier)
 {
     base.AddObject("SupplierSet", supplier);
 }
 /// <summary>
 /// Create a new Supplier object.
 /// </summary>
 /// <param name="accountNumber">Initial value of the AccountNumber property.</param>
 /// <param name="addressId">Initial value of the AddressId property.</param>
 /// <param name="supplierProductId">Initial value of the SupplierProductId property.</param>
 /// <param name="creditRating">Initial value of the CreditRating property.</param>
 /// <param name="preferedSupplier">Initial value of the PreferedSupplier property.</param>
 /// <param name="activeFlag">Initial value of the ActiveFlag property.</param>
 /// <param name="purchaseWebserviceUrl">Initial value of the PurchaseWebserviceUrl property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static Supplier CreateSupplier(global::System.Int32 accountNumber, global::System.Int32 addressId, global::System.Int32 supplierProductId, global::System.Int32 creditRating, global::System.Int32 preferedSupplier, global::System.Int32 activeFlag, global::System.String purchaseWebserviceUrl, global::System.Byte[] version)
 {
     Supplier supplier = new Supplier();
     supplier.AccountNumber = accountNumber;
     supplier.AddressId = addressId;
     supplier.SupplierProductId = supplierProductId;
     supplier.CreditRating = creditRating;
     supplier.PreferedSupplier = preferedSupplier;
     supplier.ActiveFlag = activeFlag;
     supplier.PurchaseWebserviceUrl = purchaseWebserviceUrl;
     supplier.Version = version;
     return supplier;
 }