Interface IValidationProvider
Provider for schema and type validation.
public interface IValidationProvider
Methods
AnalyzeSchemaChangesAsync<TProps>(IRedbScheme)
Check schema change compatibility.
Task<SchemaChangeReport> AnalyzeSchemaChangesAsync<TProps>(IRedbScheme scheme) where TProps : class
ValidatePropertyConstraints(Type, string, bool, bool)
Validate property constraints and arrays.
ValidationIssue? ValidatePropertyConstraints(Type propertyType, string propertyName, bool isRequired, bool isArray)
ValidateSchemaAsync<TProps>(IRedbScheme, bool)
Validate schema before synchronization (with contract).
Task<SchemaValidationResult> ValidateSchemaAsync<TProps>(IRedbScheme scheme, bool strictDeleteExtra = true) where TProps : class
ValidateSchemaAsync<TProps>(string, bool)
Validate schema before synchronization.
Task<SchemaValidationResult> ValidateSchemaAsync<TProps>(string schemeName, bool strictDeleteExtra = true) where TProps : class
ValidateTypeAsync(Type, string)
Validate C# type correspondence with REDB supported types.
Task<ValidationIssue?> ValidateTypeAsync(Type csharpType, string propertyName)