Closed rdagumampan closed 4 years ago
The solution has been refactored heavily to provide support for other RDMS platforms. An assembly Yuniql.Extensibility
provides the interface needed to implement. A typical development flow would be:
IDataService
ICsvImportService
MigrationServiceFactory
_plugins\{platform}
such as _plugins\pgsql
for Posgre SQLThe code has been extensively refactored to verify the extensibility. The PostgreSql is a demo case on how to support other RDBMS platforms. Contributors would have to implement IDataService and ITestDataService and run the platform tests targetting the new platform.
For example to run platform tests for PostgreSql, the following environment variables must be set:
SETX YUNIQL_TEST_TARGET_PLATFORM = "postgresql"
SETX YUNIQL_TEST_CONNECTION_STRING = "your-pgsql-connection-string"
With most RDMS relatively similar in execution flow, it would be good to refactor the code to make an open interface to support other databases such as MySql, PosgreSQL, Amazon RDS, MemSQL.