Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
This commit is contained in:
+31
@@ -0,0 +1,31 @@
|
||||
using WorkerService.Models.Reporting;
|
||||
|
||||
namespace TestApp.Templates
|
||||
{
|
||||
/// <summary>
|
||||
/// Query template extensions
|
||||
/// </summary>
|
||||
public partial class QueryTemplate2
|
||||
{
|
||||
/// <summary>
|
||||
/// Template data model
|
||||
/// </summary>
|
||||
public SearchModel Model { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether or not to write data inserts
|
||||
/// </summary>
|
||||
public bool AddData { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
/// <param name="model">Template data model</param>
|
||||
/// <param name="addData">Whether or not to write data inserts</param>
|
||||
public QueryTemplate2(SearchModel model = null, bool addData = false)
|
||||
{
|
||||
Model = model ?? new SearchModel();
|
||||
AddData = addData;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user