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