Skip to content

可以自定义树的映射字段吗? #1668

Closed Answered by cn-troy
cn-troy asked this question in Q&A
Discussion options

You must be logged in to vote

已经找到解决方式了.
[Navigate(nameof(ParentCode), TempPrimary = nameof(BomCode))]
public BomInfo? Parent { get; set; }

[Navigate(nameof(ParentCode), TempPrimary = nameof(BomCode))]
public List Childs { get; set; } = new List();

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cn-troy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant