We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
个人感觉 Dto属性的名称 应该和 实体 的属性名 相同时自动 查询映射比较合理吧。 现在是和 数据表的字段名相同时才自动 查询映射。 总不能把真实字段名 传输到客户端吧,那不就暴露表结构了吗?
FreeSql是不是不推荐直接查询Dto,而是先查询 实体,再通过Automapper等工具来映射? 或者Dto也要加上[Column(Name="")]特性 ?