Update DynamicBuilder

This commit is contained in:
sunkaixuan
2024-05-23 23:01:09 +08:00
parent baacb792ae
commit bd3ef5de89
2 changed files with 20 additions and 1 deletions

View File

@@ -57,9 +57,17 @@ namespace SqlSugar
var type = property.Type;
if (type == typeof(DynamicOneselfType))
{
type = typeBuilderChild;
type = typeBuilder;
}
else if (type == typeof(DynamicOneselfTypeList))
{
type = typeof(List<>).MakeGenericType(typeBuilder);
}
else if (type == typeof(NestedObjectType))
{
type = typeBuilderChild;
}
else if (type == typeof(NestedObjectTypeList))
{
type = typeof(List<>).MakeGenericType(typeBuilderChild);
}

View File

@@ -18,4 +18,15 @@ namespace SqlSugar
{
}
public class NestedObjectType
{
}
public class NestedObjectTypeList
{
}
}