/// <summary> /// Deprecated Method for adding a new object to the bvc_ProductRelationship EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_ProductRelationship(bvc_ProductRelationship bvc_ProductRelationship) { base.AddObject("bvc_ProductRelationship", bvc_ProductRelationship); }
/// <summary> /// Create a new bvc_ProductRelationship object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="relatedProductId">Initial value of the RelatedProductId property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="marketingDescription">Initial value of the MarketingDescription property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> /// <param name="isSubstitute">Initial value of the IsSubstitute property.</param> public static bvc_ProductRelationship Createbvc_ProductRelationship(global::System.Int64 id, global::System.String productId, global::System.String relatedProductId, global::System.Int32 sortOrder, global::System.String marketingDescription, global::System.Int64 storeId, global::System.Boolean isSubstitute) { bvc_ProductRelationship bvc_ProductRelationship = new bvc_ProductRelationship(); bvc_ProductRelationship.Id = id; bvc_ProductRelationship.ProductId = productId; bvc_ProductRelationship.RelatedProductId = relatedProductId; bvc_ProductRelationship.SortOrder = sortOrder; bvc_ProductRelationship.MarketingDescription = marketingDescription; bvc_ProductRelationship.StoreId = storeId; bvc_ProductRelationship.IsSubstitute = isSubstitute; return bvc_ProductRelationship; }