mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 10:42:52 +08:00
update readme
This commit is contained in:
parent
72cccffc30
commit
6581e435ad
26
readme.md
26
readme.md
@ -1,14 +1,10 @@
|
|||||||
<p align="center">
|
## FreeSql
|
||||||
<img height="160" src="https://images.cnblogs.com/cnblogs_com/FreeSql/1656841/o_200424151316logo.png"/>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
FreeSql 是功能强大的对象关系映射技术(O/RM),支持 .NETCore 2.1+ 或 .NETFramework 4.0+ 或 Xamarin
|
|
||||||
|
|
||||||
扶摇直上,至强ORM只为自由编码;鹏程万里,至简Linq可使保留黑发;横批:FreeSql(诗人:Coder)
|
|
||||||
|
|
||||||
[](https://www.nuget.org/packages/FreeSql) [](https://www.nuget.org/stats/packages/FreeSql?groupby=Version) [](https://raw.githubusercontent.com/2881099/FreeSql/master/LICENSE.txt)
|
[](https://www.nuget.org/packages/FreeSql) [](https://www.nuget.org/stats/packages/FreeSql?groupby=Version) [](https://raw.githubusercontent.com/2881099/FreeSql/master/LICENSE.txt)
|
||||||
|
|
||||||
## 🐮 Features
|
FreeSql 是功能强大的对象关系映射技术(O/RM),支持 .NETCore 2.1+ 或 .NETFramework 4.0+ 或 Xamarin
|
||||||
|
|
||||||
|
## 🐮 Features
|
||||||
|
|
||||||
- [x] 支持 CodeFirst 迁移,哪怕使用 Access 数据库也支持;
|
- [x] 支持 CodeFirst 迁移,哪怕使用 Access 数据库也支持;
|
||||||
- [x] 支持 DbFirst 从数据库导入实体类,[安装实体类生成工具](https://github.com/2881099/FreeSql/wiki/DbFirst);
|
- [x] 支持 DbFirst 从数据库导入实体类,[安装实体类生成工具](https://github.com/2881099/FreeSql/wiki/DbFirst);
|
||||||
@ -18,7 +14,7 @@ FreeSql 是功能强大的对象关系映射技术(O/RM),支持 .NETCore 2.1+
|
|||||||
- [x] 支持 读写分离、分表分库、过滤器、乐观锁、悲观锁;
|
- [x] 支持 读写分离、分表分库、过滤器、乐观锁、悲观锁;
|
||||||
- [x] 支持 MySql/SqlServer/PostgreSQL/Oracle/Sqlite/达梦/人大金仓/神州通用/Access;
|
- [x] 支持 MySql/SqlServer/PostgreSQL/Oracle/Sqlite/达梦/人大金仓/神州通用/Access;
|
||||||
|
|
||||||
## 📚 Documentation
|
## 📚 Documentation
|
||||||
|
|
||||||
| | |
|
| | |
|
||||||
| - | - |
|
| - | - |
|
||||||
@ -44,7 +40,7 @@ FreeSql 是功能强大的对象关系映射技术(O/RM),支持 .NETCore 2.1+
|
|||||||
<img src="https://images.cnblogs.com/cnblogs_com/kellynic/133561/o_200610084147functions09.png"/>
|
<img src="https://images.cnblogs.com/cnblogs_com/kellynic/133561/o_200610084147functions09.png"/>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## 🚀 Quick start
|
## 🚀 Quick start
|
||||||
|
|
||||||
> dotnet add package FreeSql.Provider.Sqlite
|
> dotnet add package FreeSql.Provider.Sqlite
|
||||||
|
|
||||||
@ -83,7 +79,7 @@ class Tag {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🔎 Query
|
## 🔎 Query
|
||||||
```csharp
|
```csharp
|
||||||
//OneToOne、ManyToOne
|
//OneToOne、ManyToOne
|
||||||
fsql.Select<Tag>().Where(a => a.Parent.Parent.Name == "粤语").ToList();
|
fsql.Select<Tag>().Where(a => a.Parent.Parent.Name == "粤语").ToList();
|
||||||
@ -119,7 +115,7 @@ fsql.Select<Song>().OrderBy(a => Guid.NewGuid()).Limit(10).ToList();
|
|||||||
```
|
```
|
||||||
[More..](https://github.com/2881099/FreeSql/wiki/%e8%a1%a8%e8%be%be%e5%bc%8f%e5%87%bd%e6%95%b0)
|
[More..](https://github.com/2881099/FreeSql/wiki/%e8%a1%a8%e8%be%be%e5%bc%8f%e5%87%bd%e6%95%b0)
|
||||||
|
|
||||||
## 🚁 Repository
|
## 🚁 Repository
|
||||||
|
|
||||||
> dotnet add package FreeSql.Repository
|
> dotnet add package FreeSql.Repository
|
||||||
|
|
||||||
@ -142,7 +138,7 @@ public void Add() {
|
|||||||
|
|
||||||
参考:[在 asp.net core 中使用 TransactionalAttribute + UnitOfWorkManager 实现多种事务传播](https://github.com/dotnetcore/FreeSql/issues/289)
|
参考:[在 asp.net core 中使用 TransactionalAttribute + UnitOfWorkManager 实现多种事务传播](https://github.com/dotnetcore/FreeSql/issues/289)
|
||||||
|
|
||||||
## 💪 Performance
|
## 💪 Performance
|
||||||
|
|
||||||
FreeSql Query & Dapper Query
|
FreeSql Query & Dapper Query
|
||||||
```shell
|
```shell
|
||||||
@ -170,7 +166,7 @@ Elapsed: 00:00:00.6495301; Query Entity Counts: 131072; ORM: Dapper
|
|||||||
|
|
||||||
[More..](https://github.com/2881099/FreeSql/wiki/%e6%80%a7%e8%83%bd)
|
[More..](https://github.com/2881099/FreeSql/wiki/%e6%80%a7%e8%83%bd)
|
||||||
|
|
||||||
## 👯 Contributors
|
## 👯 Contributors
|
||||||
|
|
||||||
[systemhejiyong](https://github.com/systemhejiyong)、
|
[systemhejiyong](https://github.com/systemhejiyong)、
|
||||||
[LambertW](https://github.com/LambertW)、
|
[LambertW](https://github.com/LambertW)、
|
||||||
@ -189,7 +185,7 @@ constantine
|
|||||||
|
|
||||||
(QQ群:4336577)
|
(QQ群:4336577)
|
||||||
|
|
||||||
## 💕 Donation
|
## 💕 Donation
|
||||||
|
|
||||||
L*y 58元、花花 88元、麦兜很乖 50元、网络来者 2000元、John 99.99元、alex 666元、bacongao 36元、无名 100元、Eternity 188元、无名 10元、⌒.Helper~..oO 66元、习惯与被习惯 100元、无名 100元、蔡易喋 88.88元、中讯科技 1000元、Good Good Work 24元、炽焰 6.6元、Nothing 100元
|
L*y 58元、花花 88元、麦兜很乖 50元、网络来者 2000元、John 99.99元、alex 666元、bacongao 36元、无名 100元、Eternity 188元、无名 10元、⌒.Helper~..oO 66元、习惯与被习惯 100元、无名 100元、蔡易喋 88.88元、中讯科技 1000元、Good Good Work 24元、炽焰 6.6元、Nothing 100元
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user