/// <summary> /// Deprecated Method for adding a new object to the AssetSubscribers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAssetSubscribers(AssetSubscriber assetSubscriber) { base.AddObject("AssetSubscribers", assetSubscriber); }
/// <summary> /// Create a new AssetSubscriber object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="assetSubscriber_Asset">Initial value of the AssetSubscriber_Asset property.</param> /// <param name="assetSubscriber_Employee">Initial value of the AssetSubscriber_Employee property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static AssetSubscriber CreateAssetSubscriber(global::System.Int32 id, global::System.Int32 assetSubscriber_Asset, global::System.Int32 assetSubscriber_Employee, global::System.Byte[] rowVersion) { AssetSubscriber assetSubscriber = new AssetSubscriber(); assetSubscriber.Id = id; assetSubscriber.AssetSubscriber_Asset = assetSubscriber_Asset; assetSubscriber.AssetSubscriber_Employee = assetSubscriber_Employee; assetSubscriber.RowVersion = rowVersion; return assetSubscriber; }