/// <summary> /// Create a new SalesThisMonthView 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 SalesThisMonthView CreateSalesThisMonthView(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) { SalesThisMonthView salesThisMonthView = new SalesThisMonthView(); salesThisMonthView.Id = id; salesThisMonthView.LicenseName = licenseName; salesThisMonthView.GeneratedLicenseKey = generatedLicenseKey; salesThisMonthView.Created = created; salesThisMonthView.Updated = updated; salesThisMonthView.ProductPrice = productPrice; salesThisMonthView.OurTake = ourTake; return salesThisMonthView; }
/// <summary> /// Deprecated Method for adding a new object to the SalesThisMonthView EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSalesThisMonthView(SalesThisMonthView salesThisMonthView) { base.AddObject("SalesThisMonthView", salesThisMonthView); }