Exemplo n.º 1
0
 partial void OnLocationChanging(Location value);
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Supplier object.
 /// </summary>
 /// <param name="supplierID">Initial value of the SupplierID property.</param>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 public static Supplier CreateSupplier(global::System.Int32 supplierID, global::System.String companyName, global::System.Int32 rowVersion, Location location)
 {
     Supplier supplier = new Supplier();
     supplier.SupplierID = supplierID;
     supplier.CompanyName = companyName;
     supplier.RowVersion = rowVersion;
     supplier.Location = StructuralObject.VerifyComplexObjectIsNotNull(location, "Location");
     return supplier;
 }