示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Suppliers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSuppliers(Suppliers suppliers)
 {
     base.AddObject("Suppliers", suppliers);
 }
示例#2
0
 /// <summary>
 /// Create a new Suppliers object.
 /// </summary>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 /// <param name="supplierID">Initial value of the SupplierID property.</param>
 public static Suppliers CreateSuppliers(global::System.String companyName, global::System.Int32 supplierID)
 {
     Suppliers suppliers = new Suppliers();
     suppliers.CompanyName = companyName;
     
     suppliers.SupplierID = supplierID;
     
     return suppliers;
 }