コード例 #1
0
 /// <summary>
 /// Create a new Supplier object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static Supplier CreateSupplier(global::System.Int32 id)
 {
     Supplier supplier = new Supplier();
     supplier.ID = id;
     return supplier;
 }
コード例 #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(Supplier supplier)
 {
     base.AddObject("Suppliers", supplier);
 }