Browse Source

Add demo

pull/40/head
sunkaixuan 1 year ago
parent
commit
81ee6250ac
  1. 2
      Src/Asp.Net/QuestDbTest/Demo/DemoE_CodeFirst.cs

2
Src/Asp.Net/QuestDbTest/Demo/DemoE_CodeFirst.cs

@ -31,6 +31,8 @@ namespace OrmTest
db.CodeFirst.InitTables<SplitTableEntity>();
TestBool(db);
TestGuid(db);
var list2=db.Queryable<SplitTableEntity>()
.PartitionBy(it => new { it.Ts, it.Id }).ToList();
Console.WriteLine("#### CodeFirst end ####");
}
private static void TestGuid(SqlSugarClient db)

Loading…
Cancel
Save