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