chore: initial git load of code space

This commit is contained in:
Thom Lamb
2026-05-12 08:52:33 -05:00
parent 9abada692f
commit 5e467bcc9c
384 changed files with 65960 additions and 2 deletions
@@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore;
using Strata.SqlTools.EFCore.Configurations;
using Strata.SqlTools.EFCore.Models;
using Strata.SqlTools.EFCore.Services;
namespace Strata.SqlTools.EFCore.Tests;
/// <summary>
/// Test DbContext for in-memory testing of QueryBreakdown entities.
/// </summary>
public class TestDbContext : DbContext
{
public DbSet<QueryBreakdownEntity> QueryBreakdowns { get; set; } = null!;
public DbSet<QueryParameterEntity> QueryParameters { get; set; } = null!;
public DbSet<WithClauseEntity> WithClauses { get; set; } = null!;
public TestDbContext(DbContextOptions options) : base(options)
{
}
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.ConfigureQueryBreakdownEntities();
}
}