Tortuga Chain
Tortuga Chain is based around the concept of database-reflection. Rather than using mapping files, it interrogates the database for its schema. Then it generates the SQL based the intersection between the tables and classes.
Supported Databases
Full support is offered for:
- SQL Server
- MySQL
- PostgreSQL
- SQLite
- Microsoft Access (.NET Framework Only
Chain also supports any database that offers an ADO.NET provider, but without the database reflection and SQL generation capabilities.
ADO.NET requires the writing of SQL, which is often database specific.
Libraries
Full Database Reflection Support
-
SQL Server:
- Using System.Data.SqlClient Tortuga.Chain.SqlServer
- Using Microsoft.Data.SqlClient Tortuga.Chain.SqlServer.MDS
- Using OleDB Tortuga.Chain.SqlServer.OleDb
- SQLite: Tortuga.Chain.SQLite
- PostgreSql: Tortuga.Chain.PostgreSql
- Access: Tortuga.Chain.Access
- MySql: Tortuga.Chain.MySql
Result-set Mapping Only
- Odbc: Tortuga.Chain.Odbc
- OleDb: Tortuga.Chain.OleDb
- Other: Tortuga.Chain.Core
Setup
Chain internally handles connections using a thread-safe DataSource
object. Normally only one DataSource
is created per connection string so that database schema can be cached.
PrimaryDataSource = new SqlServerDataSource(connectionString);
Documentation and Tutorials
Bug Reporting
Issues should be logged in the docevaad/Chain repository.
Licensing
Tortuga Chain is offered under the MIT License.