mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 增加 EfCoreFluentApi HasData 设定 CodeFirst 种子数据;
- 完善 EfCoreFluentApi 功能测试; - 增加 DbContextOptions.NoneParameter 设置是否使用参数化执行 Insert/Update;
This commit is contained in:
@ -58,6 +58,7 @@ public static partial class FreeSqlGlobalExtensions
|
||||
if (type == null) return null;
|
||||
if (type == typeof(void)) return "void";
|
||||
if (type.IsGenericParameter) return type.Name;
|
||||
if (type.IsArray) return $"{DisplayCsharp(type.GetElementType())}[]";
|
||||
var sb = new StringBuilder();
|
||||
var nestedType = type;
|
||||
while (nestedType.IsNested)
|
||||
|
Reference in New Issue
Block a user