Install

FreeSql is a .NET Standard 2.0 library, which only supports applications of .NET Framework 4.0, .NET Core or higher.

dotnet add package FreeSql
dotnet add package FreeSql.DbContext
dotnet add package FreeSql.Provider.MySqlConnector
1
2
3

Packages

Package NameVersionDescriptionNuGet
FreeSql.RepositoryNETStandard2.0、net45、net40Common Repository + UoWNuGetopen in new window
FreeSql.DbContextNETStandard2.0、net45、net40EfCore Style ImplementationNuGetopen in new window
FreeSql.Provider.MySqlNETStandard2.0、net45、net40Based on MySql.Data (Oracle official)NuGetopen in new window
FreeSql.Provider.MySqlConnectorNETStandard2.0、net45Based on MySqlConnectorNuGetopen in new window
FreeSql.Provider.PostgreSQLNETStandard2.0、net45Based on PostgreSQL 9.5+NuGetopen in new window
FreeSql.Provider.SqlServerNETStandard2.0、net45、net40Support SqlServer 2005+, based on Microsoft.Data.SqlClientNuGetopen in new window
FreeSql.Provider.SqlServerForSystemNETStandard2.0、net45、net40Support SqlServer 2005+, based on Microsoft.Data.SqlClientNuGetopen in new window
FreeSql.Provider.SqliteNETStandard2.0、net45、net40NuGetopen in new window
FreeSql.Provider.OracleNETStandard2.0、net45、net40Oracle.ManagedDataAccess.CoreNuGetopen in new window
FreeSql.Provider.FirebirdNETStandard2.0、net452FirebirdSql.Data.FirebirdClientNuGetopen in new window
FreeSql.Provider.MsAccessNETStandard2.0、net45、net40NuGetopen in new window
FreeSql.Provider.DamengNETStandard2.0、net45、net40Based on Dameng DatabaseNuGetopen in new window
FreeSql.Provider.ShenTongNETStandard2.0、net45、net40Based on ShenTong DatabaseNuGetopen in new window
FreeSql.Provider.KingbaseESNETStandard2.0、net461Based on KingbaseEsNuGetopen in new window
FreeSql.Provider.Odbcopen in new windowNETStandard2.0、net45、net40Based on ODBCNuGetopen in new window
FreeSql.Provider.Customopen in new windowNETStandard2.0、net45、net40Custom database providerNuGetopen in new window
FreeSql.Extensions.LazyLoadingNETStandard2.0、net45、net40Lazy loading extensionsNuGetopen in new window
FreeSql.Extensions.JsonMapNETStandard2.0、net45、net40Json serialization extensionsNuGetopen in new window
FreeSql.Extensions.LinqNETStandard2.0、net45、net40LinqToSql IQueryable extensionsNuGetopen in new window
FreeSql.Extensions.BaseEntityNETStandard2.0NuGetopen in new window
FreeSql.GeneratorNETCoreapp3.1Generate entity classes from the database. How does it work?open in new windowNuGetopen in new window

Guide

FreeSql supports basic CURD. In addition, it also supports creating models based on existing databases (DbFirst), and supports creating databases based on models (CodeFirst).

Getting Started

Deep Learning

Advanced