Class SchemeFieldResolver
Resolver for fields: path to field → structure_id + db_type.
Uses IRedbContext with SQL queries via ISqlDialectPro.
Database-agnostic: SQL is provided by the dialect.
Domain-isolated: each connection string gets its own cache partition.
public class SchemeFieldResolver
Inheritance
Methods
ResolveAsync(long, string)
Get field info by path (supports nested paths: Auction.Costs).
public Task<FieldInfo?> ResolveAsync(long schemeId, string fieldPath)
ResolveManyAsync(long, IEnumerable<string>)
Batch resolve multiple fields (nested path support).
public Task<Dictionary<string, FieldInfo>> ResolveManyAsync(long schemeId, IEnumerable<string> fieldPaths)
ResolveSegmentAsync(long, string, long?, CancellationToken)
The metadata row of one path segment: a root field of the scheme (parentStructureId null) or
public Task<SchemeMetadataCacheRow?> ResolveSegmentAsync(long schemeId, string name, long? parentStructureId, CancellationToken cancellationToken = default)