Refactor entity options to use shared base class
Introduce EntityBaseOptions with Columns property. Update EntityOptions and VirtualEntityOptions to inherit from EntityBaseOptions for improved code reuse and consistency.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
namespace ReC.Infrastructure.Options.Shared;
|
||||
|
||||
public record EntityBaseOptions()
|
||||
{
|
||||
public Dictionary<string, string> Columns { get; init; } = [];
|
||||
}
|
||||
Reference in New Issue
Block a user