/// <summary> /// Deprecated Method for adding a new object to the producttypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToproducttypes(producttype producttype) { base.AddObject("producttypes", producttype); }
/// <summary> /// Create a new producttype object. /// </summary> /// <param name="productType_id">Initial value of the ProductType_id property.</param> /// <param name="type_str">Initial value of the type_str property.</param> /// <param name="setup_folder">Initial value of the setup_folder property.</param> public static producttype Createproducttype(global::System.Int64 productType_id, global::System.String type_str, global::System.String setup_folder) { producttype producttype = new producttype(); producttype.ProductType_id = productType_id; producttype.type_str = type_str; producttype.setup_folder = setup_folder; return producttype; }