Interface ISqlColumnTypeDefinitionProviderBuilder
Represents a builder of ISqlColumnTypeDefinitionProvider instances.
public interface ISqlColumnTypeDefinitionProviderBuilder
Properties
Dialect
Specifies the SQL dialect of this builder.
SqlDialect Dialect { get; }
Property Value
Methods
Build()
Creates a new ISqlColumnTypeDefinitionProvider instance.
[Pure]
ISqlColumnTypeDefinitionProvider Build()
Returns
Contains(Type)
Checks whether or not a column type definition for the provided type
has been registered.
[Pure]
bool Contains(Type type)
Parameters
type
TypeType to check.
Returns
- bool
true when column type definition exists, otherwise false.
Register(ISqlColumnTypeDefinition)
Adds or updates the provided column type definition
by its RuntimeType to this builder.
ISqlColumnTypeDefinitionProviderBuilder Register(ISqlColumnTypeDefinition definition)
Parameters
definition
ISqlColumnTypeDefinitionDefinition to register.
Returns
Exceptions
- ArgumentException
When definition's dialect is not the same as this builder's dialect.