/// <summary> /// Deprecated Method for adding a new object to the LicensedProducts EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLicensedProducts(LicensedProduct licensedProduct) { base.AddObject("LicensedProducts", licensedProduct); }
/// <summary> /// Create a new LicensedProduct object. /// </summary> /// <param name="uid">Initial value of the Uid property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="limitation">Initial value of the Limitation property.</param> /// <param name="licenseNumber">Initial value of the LicenseNumber property.</param> /// <param name="id">Initial value of the Id property.</param> public static LicensedProduct CreateLicensedProduct(global::System.Guid uid, global::System.String name, global::System.Int32 limitation, global::System.Guid licenseNumber, global::System.Int64 id) { LicensedProduct licensedProduct = new LicensedProduct(); licensedProduct.Uid = uid; licensedProduct.Name = name; licensedProduct.Limitation = limitation; licensedProduct.LicenseNumber = licenseNumber; licensedProduct.Id = id; return licensedProduct; }