Add user case test

This commit is contained in:
sunkaixuan
2024-02-05 15:22:29 +08:00
parent f98f932533
commit 54dc72dfe8
3 changed files with 29 additions and 3 deletions

View File

@@ -45,6 +45,15 @@ namespace OrmTest
Db.CodeFirst.InitTables(type);
Db1.CodeFirst.InitTables(type);
Console.WriteLine("Hello, World!");
var list2 = NewUnitTest.Db.Reportable(new List<Unitguidsda>() {
new Unitguidsda()
}).ToQueryable().ToList();
}
public class Unitguidsda
{
public Guid Id { get; set; } = Guid.NewGuid();
}
[SugarTable("Test_Table_{year}{month}{day}")]
[SplitTable(SplitType.Month)]