Browse Source

Update README.md

pull/12/MERGE
sunkaixuan 6 years ago
committed by GitHub
parent
commit
22d60e0af7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      README.md

7
README.md

@ -182,12 +182,7 @@ var insertObj2 = new Student() { Name = null, CreateTime = Convert.ToDateTime("2
var t9 = db.Insertable(insertObj2).Where(true/* Is insert null */, true/*off identity*/).ExecuteCommand(); var t9 = db.Insertable(insertObj2).Where(true/* Is insert null */, true/*off identity*/).ExecuteCommand();
//Insert List<T> //Insert List<T>
var insertObjs = new List<Student>(); var s9 = db.Insertable(insertObjs).InsertColumns(it => new { it.Name }).ExecuteCommand();
for (int i = 0; i < 1000; i++)
{
insertObjs.Add(new Student() { Name = "name" + i });
}
var s9 = db.Insertable(insertObjs.ToArray()).InsertColumns(it => new { it.Name }).ExecuteCommand();
``` ```
## 4. Deleteable ## 4. Deleteable
We use it to Delete We use it to Delete

Loading…
Cancel
Save