Class AccessSchemaBuilder
Responsible for building and exporting database schema and data for Access databases. Implements the IVisitor interface to support the visiting pattern for database schema elements. Handles schema creation, data export, foreign keys, indexes, identities, primary keys, and more based on configuration.
public class AccessSchemaBuilder : IVisitor
- Inheritance
-
AccessSchemaBuilder
- Implements
- Inherited Members
Constructors
AccessSchemaBuilder(string)
Responsible for building and exporting database schema and data for Access databases. Implements the IVisitor interface to support the visiting pattern for database schema elements. Handles schema creation, data export, foreign keys, indexes, identities, primary keys, and more based on configuration.
public AccessSchemaBuilder(string connectionString)
Parameters
connectionStringstring
Properties
ExportOptions
Gets or sets the export options that control the behavior of the schema and data export process.
public ExportOptions ExportOptions { get; set; }
Property Value
Methods
VisitColumn(Column)
Visits a Column object, allowing the visitor to perform operations on the column schema.
public void VisitColumn(Column column)
Parameters
columnColumnThe Column object to be visited.
VisitDatabase(Database)
Visits a Database object, allowing the visitor to perform operations on the database schema. This method is the entry point for traversing the database structure.
public void VisitDatabase(Database database)
Parameters
databaseDatabaseThe Database object to be visited.
VisitForeignKey(ForeignKey)
Visits a ForeignKey object, allowing the visitor to perform operations on the foreign key schema.
public void VisitForeignKey(ForeignKey foreignKey)
Parameters
foreignKeyForeignKeyThe ForeignKey object to be visited.
VisitIndex(Index)
Visits an Index object, allowing the visitor to perform operations on the index schema.
public void VisitIndex(Index index)
Parameters
indexIndexThe Index object to be visited.
VisitPrimaryKey(PrimaryKey)
Visits a PrimaryKey object, allowing the visitor to perform operations on the primary key schema.
public void VisitPrimaryKey(PrimaryKey primaryKey)
Parameters
primaryKeyPrimaryKeyThe PrimaryKey object to be visited.
VisitTable(Table)
Visits a Table object, allowing the visitor to perform operations on the table schema.
public void VisitTable(Table table)
Parameters
tableTableThe Table object to be visited.