Insql is a lightweight .NET ORM framework. Object mapping is based on Dapper, and the Sql configuration is inspired by Mybatis.
This project may not be maintained for a long time due to my work, so I suggest it be used for reference or secondary development
Insql Advocate to write native The SQL way to access the database, the overall function is divided into three:
- Unified management SQL statement, use XML as The vector of the SQL statement will be hard-coded in the program. SQL statements are externally and managed in a unified manner. Offer can be loaded from multiple sources SQL statements and matching across multiple databases The function of SQL .
- Provides a rich mapping mechanism, using Annotation , Fluent , and XML Map to implement mapping of database tables to object properties.
- Flexible dependency injection and the use of domain-driven patterns can better manage database connections and the lifecycle of database contexts.
Package | Nuget Stable | Downloads |
---|---|---|
Insql | ||
Insql.MySql | ||
Insql.Oracle | ||
Insql.PostgreSql | ||
Insql.Sqlite |