Update RecAction route and refactor EnsureEntity logic

Changed the RecActionController Invoke route to remove the {cmd}
parameter, now accepting POST requests at "invoke" only.
Refactored DbModelOptions.EnsureEntity<T> by removing the
entities dictionary conversion logic for virtual and non-virtual
entities.
This commit is contained in:
2025-12-10 16:02:41 +01:00
parent c8f3b29329
commit f96b73bf38
2 changed files with 1 additions and 2 deletions

View File

@@ -11,7 +11,6 @@ public record DbModelOptions
public void EnsureEntity<T>(bool isVirtual)
{
var entities = isVirtual
? VirtualEntities.ToDictionary(kvp => kvp.Key, kvp => kvp.Value as EntityBaseOptions)
: Entities.ToDictionary(kvp => kvp.Key, kvp => kvp.Value as EntityBaseOptions);