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