mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-04 04:37:58 +08:00
Update demo
This commit is contained in:
parent
e8009a9109
commit
a31b382f9d
@ -42,6 +42,7 @@ namespace OrmTest
|
||||
new StudentWithSnowflake() { Name = "name",Id=SnowFlakeSingle.Instance.NextId() },
|
||||
new StudentWithSnowflake() { Name = "name",Id=SnowFlakeSingle.Instance.NextId()}
|
||||
};
|
||||
db.Fastest<StudentWithSnowflake>().BulkCopy(listLong);
|
||||
}
|
||||
|
||||
// 实体类:带自增主键(Entity class: With auto-increment primary key)
|
||||
|
Loading…
Reference in New Issue
Block a user