Inheritance: System.Data.Objects.DataClasses.EntityObject
Exemplo n.º 1
0
 /// <summary>
 /// Create a new Suppliers object.
 /// </summary>
 /// <param name="supplierID">Initial value of the SupplierID property.</param>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 public static Suppliers CreateSuppliers(global::System.Int32 supplierID, global::System.String companyName)
 {
     Suppliers suppliers = new Suppliers();
     suppliers.SupplierID = supplierID;
     suppliers.CompanyName = companyName;
     return suppliers;
 }
Exemplo n.º 2
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);
 }