Refactor option records and improve namespace structure

Renamed Table to TableOptions and moved it, along with EntityOptions and VirtualEntityOptions, to the ReC.Infrastructure.Options.Shared namespace. Split records into separate files for better modularity and updated EntityOptions to reference TableOptions. This enhances code organization and naming consistency.
This commit is contained in:
2025-12-10 12:24:39 +01:00
parent ae059e4416
commit 4206a962ff
4 changed files with 9 additions and 12 deletions

View File

@@ -0,0 +1,3 @@
namespace ReC.Infrastructure.Options.Shared;
public record EntityOptions(TableOptions Table);

View File

@@ -0,0 +1,3 @@
namespace ReC.Infrastructure.Options.Shared;
public record TableOptions(string Name, string? Schema = null);

View File

@@ -0,0 +1,3 @@
namespace ReC.Infrastructure.Options.Shared;
public record VirtualEntityOptions;

View File

@@ -1,12 +0,0 @@
namespace ReC.Infrastructure.Options;
public record Table(
string Name,
string? Schema = null
);
public record VirtualEntityOptions
{
}
public record EntityOptions(Table Table);