예제 #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(Supplier supplier)
 {
     base.AddObject("Suppliers", supplier);
 }
예제 #2
0
 /// <summary>
 /// Create a new Supplier object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="supplierName">Initial value of the SupplierName property.</param>
 /// <param name="supplier_SupplierGroup">Initial value of the Supplier_SupplierGroup property.</param>
 /// <param name="discontinued">Initial value of the Discontinued property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Supplier CreateSupplier(global::System.Int32 id, global::System.String supplierName, global::System.Int32 supplier_SupplierGroup, global::System.Boolean discontinued, global::System.Byte[] rowVersion)
 {
     Supplier supplier = new Supplier();
     supplier.Id = id;
     supplier.SupplierName = supplierName;
     supplier.Supplier_SupplierGroup = supplier_SupplierGroup;
     supplier.Discontinued = discontinued;
     supplier.RowVersion = rowVersion;
     return supplier;
 }
 /// <summary>
 /// Create a new Supplier object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="supplierName">Initial value of the SupplierName property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static Supplier CreateSupplier(global::System.Int32 id, global::System.String supplierName, global::System.Byte[] rowVersion)
 {
     Supplier supplier = new Supplier();
     supplier.Id = id;
     supplier.SupplierName = supplierName;
     supplier.RowVersion = rowVersion;
     return supplier;
 }