- 优化 指定 Dto 查询对 c# 字段的支持;

This commit is contained in:
2881099
2021-01-12 12:40:07 +08:00
parent 1e6c6fc9a8
commit fcfeacdc95
3 changed files with 45 additions and 3 deletions

View File

@ -9,6 +9,7 @@ namespace FreeSql.Internal.Model
public class ReadAnonymousTypeInfo
{
public PropertyInfo Property { get; set; }
public FieldInfo ReflectionField { get; set; }
public string CsName { get; set; }
public Type CsType { get; set; }
public Type MapType { get; set; }
@ -23,6 +24,7 @@ namespace FreeSql.Internal.Model
public void CopyTo(ReadAnonymousTypeInfo target)
{
target.Property = Property;
target.ReflectionField = ReflectionField;
target.CsName = CsName;
target.CsType = CsType;
target.MapType = MapType;