/// <summary> /// Create a new bvc_ProductXCategory object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="productId">Initial value of the ProductId property.</param> /// <param name="categoryId">Initial value of the CategoryId property.</param> /// <param name="sortOrder">Initial value of the SortOrder property.</param> /// <param name="storeId">Initial value of the StoreId property.</param> public static bvc_ProductXCategory Createbvc_ProductXCategory(global::System.Int64 id, global::System.String productId, global::System.String categoryId, global::System.Int32 sortOrder, global::System.Int64 storeId) { bvc_ProductXCategory bvc_ProductXCategory = new bvc_ProductXCategory(); bvc_ProductXCategory.Id = id; bvc_ProductXCategory.ProductId = productId; bvc_ProductXCategory.CategoryId = categoryId; bvc_ProductXCategory.SortOrder = sortOrder; bvc_ProductXCategory.StoreId = storeId; return bvc_ProductXCategory; }
/// <summary> /// Deprecated Method for adding a new object to the bvc_ProductXCategory EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_ProductXCategory(bvc_ProductXCategory bvc_ProductXCategory) { base.AddObject("bvc_ProductXCategory", bvc_ProductXCategory); }