Namespace DbExport
Classes
- ExportOptions
Options for exporting a database, including what to export and any provider-specific settings.
- SqlHelper
A helper class for executing SQL queries and scripts against a database. It provides methods for querying data, executing non-query commands, and executing SQL scripts with support for different database providers. The class implements IDisposable to ensure proper disposal of database connections when necessary.
- Utility
A collection of helper methods and properties for database operations, string manipulation, and type conversion within the application.
Interfaces
- IVisitor
Defines the Visitor pattern for traversing the database schema. Each method corresponds to a specific schema element, allowing for operations to be performed on databases, tables, columns, keys, and indexes without modifying their classes. This design promotes separation of concerns and makes it easier to add new operations on the schema elements without changing their structure.
- IVisitorAcceptor
Defines an interface for accepting visitors, allowing external operations to be performed on implementing classes without modifying their structure. This is a key component of the Visitor design pattern, enabling separation of concerns and enhancing flexibility in extending functionality.
Enums
- ExportFlags
Flags to specify what aspects of the database to export. These can be combined using bitwise operations.