/// <summary> /// Deprecated Method for adding a new object to the Suppliers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSuppliers(Supplier supplier) { base.AddObject("Suppliers", supplier); }
/// <summary> /// Create a new Supplier object. /// </summary> /// <param name="supplier_ID">Initial value of the Supplier_ID property.</param> /// <param name="company_Name">Initial value of the Company_Name property.</param> public static Supplier CreateSupplier(global::System.Int32 supplier_ID, global::System.String company_Name) { Supplier supplier = new Supplier(); supplier.Supplier_ID = supplier_ID; supplier.Company_Name = company_Name; return supplier; }