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