/// <summary> /// Create a new AssetSupplier object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="supplier">Initial value of the Supplier property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static AssetSupplier CreateAssetSupplier(global::System.Int32 id, global::System.String supplier, global::System.Byte[] rowVersion) { AssetSupplier assetSupplier = new AssetSupplier(); assetSupplier.Id = id; assetSupplier.Supplier = supplier; assetSupplier.RowVersion = rowVersion; return assetSupplier; }
/// <summary> /// Deprecated Method for adding a new object to the AssetSuppliers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssetSuppliers(AssetSupplier assetSupplier) { base.AddObject("AssetSuppliers", assetSupplier); }