SQLSchemaProvider
classin packageklyn.data.sql.internal
public final class SQLSchemaProvider implements SchemaProvider:
SQLSchemaProvider
All Implemented Interfaces: SchemaProvider

SQL implementation of schema existence, validation, diff and DDL apply.

One connection is opened per public schema operation and every metadata result is consumed immediately. No reflection or metadata lookup occurs in repository query hot paths.

Properties
Modifier and Type Member Description
public readonly property modelFingerprint
modelFingerprint as String:
No summary.
public readonly property providerName
providerName as String:
No summary.
Inherited Properties
propertyInherited Properties from SchemaProvider: modelFingerprint, providerName
Constructors
Modifier and Type Member Description
public SQLSchemaProvider
SQLSchemaProvider( configuration as SQLConfiguration, catalog as SQLMappingCatalog ):
No summary.
Methods
Modifier and Type Member Description
public apply
apply(plan as SchemaPlan) as Void:
No summary.
public create
create(entityTypes as IList<Type>) as Void:
No summary.
public diff
diff(entityTypes as IList<Type>) as SchemaPlan:
No summary.
public drop
drop(entityTypes as IList<Type>) as Void:
No summary.
public exists
exists(entityTypes as IList<Type>) as Boolean:
No summary.
public validate
validate(entityTypes as IList<Type>) as Void:
No summary.
Inherited Methods
methodInherited Methods from SchemaProvider: apply, create, diff, drop, exists, validate