Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持导航属性 #9

Open
SunnyZhX opened this issue Oct 13, 2019 · 1 comment
Open

不支持导航属性 #9

SunnyZhX opened this issue Oct 13, 2019 · 1 comment

Comments

@SunnyZhX
Copy link

SunnyZhX commented Oct 13, 2019

目前是不是不支持导航属性,请问如果我想要在主表编辑界面把导航属性中部分字段显示出来如何实现?

@cq-panda
Copy link
Owner

cq-panda commented Oct 14, 2019

1、可通过 typeof(SellOrder).GetEditField()或 typeof(SellOrder).ContainsCustomAttributes(typeof(EditableAttribute))扩展方法获取实体的编辑列的属性
2、代码生成器界面可勾选是否为输入、输出实体字段,专门用来分离出实体字段,目前预留了此功能,后面有时间会加上此功能

cq-panda pushed a commit that referenced this issue Sep 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants