/// <summary> /// Deprecated Method for adding a new object to the ProductsFamiliesSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProductsFamiliesSet(ProductsFamilies productsFamilies) { base.AddObject("ProductsFamiliesSet", productsFamilies); }
/// <summary> /// Create a new ProductsFamilies object. /// </summary> /// <param name="familyName">Initial value of the FamilyName property.</param> /// <param name="productId">Initial value of the ProductId property.</param> public static ProductsFamilies CreateProductsFamilies(global::System.String familyName, global::System.Int32 productId) { ProductsFamilies productsFamilies = new ProductsFamilies(); productsFamilies.FamilyName = familyName; productsFamilies.ProductId = productId; return productsFamilies; }