Class AccessSchemaBuilder

Namespace
DbExport.Providers.Access
Assembly
DbExport.Api.dll

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

connectionString string

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

ExportOptions

Methods

VisitColumn(Column)

Visits a Column object, allowing the visitor to perform operations on the column schema.

public void VisitColumn(Column column)

Parameters

column Column

The 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

database Database

The 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

foreignKey ForeignKey

The 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

index Index

The 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

primaryKey PrimaryKey

The 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

table Table

The Table object to be visited.