/// <summary> /// Deprecated Method for adding a new object to the LicenseView EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLicenseView(LicenseView licenseView) { base.AddObject("LicenseView", licenseView); }
/// <summary> /// Create a new LicenseView object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="licenseName">Initial value of the LicenseName property.</param> /// <param name="generatedLicenseKey">Initial value of the GeneratedLicenseKey property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="updated">Initial value of the Updated property.</param> /// <param name="productPrice">Initial value of the ProductPrice property.</param> /// <param name="ourTake">Initial value of the OurTake property.</param> public static LicenseView CreateLicenseView(global::System.Int32 id, global::System.String licenseName, global::System.String generatedLicenseKey, global::System.DateTime created, global::System.DateTime updated, global::System.Decimal productPrice, global::System.Decimal ourTake) { LicenseView licenseView = new LicenseView(); licenseView.Id = id; licenseView.LicenseName = licenseName; licenseView.GeneratedLicenseKey = generatedLicenseKey; licenseView.Created = created; licenseView.Updated = updated; licenseView.ProductPrice = productPrice; licenseView.OurTake = ourTake; return licenseView; }