Browse Source

Update README.md

pull/8/head
果糖网 3 years ago
committed by GitHub
parent
commit
834e82ffd0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      README.md

12
README.md

@ -21,8 +21,12 @@ Using SqlSugar is very simple , And it's powerful.
- Support one-to-many and many-to-many navigation properties
- Support MySql、SqlServer、Sqlite、Oracle 、 postgresql 、达梦、人大金仓 、神通数据库
## Documentation
## 🍳 Join query
## Feature characteristic
### 🍳 Join query
Super simple query syntax
```cs
var query5 = db.Queryable<Order>()
@ -46,7 +50,7 @@ WHERE
([o].[Id] = @Id0)
```
## 📑 Page query
### 📑 Page query
```cs
int pageIndex = 1;
@ -55,7 +59,7 @@ WHERE
var page = db.Queryable<Student>().ToPageList(pageIndex, pageSize, ref totalCount);
```
## 🚗 Dynamic expression
### 🚗 Dynamic expression
```cs
var names= new string [] { "a","b"};
Expressionable<Order> exp = new Expressionable<Order>();
@ -72,7 +76,7 @@ SELECT [Id],[Name],[Price],[CreateTime],[CustomId]
([Name] like '%'+ CAST(@MethodConst1 AS NVARCHAR(MAX))+'%')
)
```
## Multi-tenant transaction
### Multi-tenant transaction
```cs
//Creaate database object
SqlSugarClient db = new SqlSugarClient(new List<ConnectionConfig>()

Loading…
Cancel
Save