mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-06 08:20:52 +08:00
Merge branch 'master' of https://github.com/dotnetcore/FreeSql.wiki
@@ -69,7 +69,7 @@ var t8 = fsql.Delete<Topic>().Where(items).ToSql();
|
||||
## Dictionary Delete
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ All Columns < Specified columns (InsertColumns) < Ignored Columns (IgnoreColumns
|
||||
## 7、Dictionary Insert
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ Note: the common repository in `FreeSql.Repository` also has `InsertOrUpdate` me
|
||||
## IFreeSql.InsertOrUpdateDict
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
@@ -196,7 +196,7 @@ The three of them are functions of the same level, corresponding to:
|
||||
## 7、Dictionary Update
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
2
修改.md
2
修改.md
@@ -197,7 +197,7 @@ fsql.Update<T>()
|
||||
## 7、字典更新
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
2
删除.md
2
删除.md
@@ -70,7 +70,7 @@ var t8 = fsql.Delete<Topic>().Where(items).ToSql();
|
||||
## 字典删除
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
2
添加.md
2
添加.md
@@ -153,7 +153,7 @@ var t6 = fsql.Insert(items).IgnoreColumns(a => new { a.Title, a.CreateTime }).Ex
|
||||
## 7、字典插入
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
2
添加或修改.md
2
添加或修改.md
@@ -29,7 +29,7 @@ fsql.InsertOrUpdate<T>()
|
||||
## 2、字典插入或更新
|
||||
|
||||
```csharp
|
||||
Dictionary<string, object> dic = new Dictionary<string, object>();
|
||||
var dic = new Dictionary<string, object>();
|
||||
dic.Add("id", 1);
|
||||
dic.Add("name", "xxxx");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user