/// <summary> /// Deprecated Method for adding a new object to the bvc_ProductType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTobvc_ProductType(bvc_ProductType bvc_ProductType) { base.AddObject("bvc_ProductType", bvc_ProductType); }
/// <summary> /// Create a new bvc_ProductType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="productTypeName">Initial value of the ProductTypeName property.</param> public static bvc_ProductType Createbvc_ProductType(global::System.Int32 id, global::System.String productTypeName) { bvc_ProductType bvc_ProductType = new bvc_ProductType(); bvc_ProductType.ID = id; bvc_ProductType.ProductTypeName = productTypeName; return bvc_ProductType; }