mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 12:28:15 +08:00
- 优化 指定 Dto 查询对 c# 字段的支持;
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user