I hava a problem.
tool: entity developer 6.11.1218 trial
task: edml to efml
Now, I have parse all Classes and Associations. But some OneToMany association have debug in efml. See image:3.jpg.(efml)
It's ok in edml, like image 2.jpg. and edml's xml in 1.jpg.(edml)
The efml's xml like 4.jpg that i generate.(efml)
How to create OneToMany association with custom define properties in efml?
It shouldn't be 0..1 to * , should be 1 to * in 5.jpg.
Please give us your advice.
image links from baidu disk:
link: https://pan.baidu.com/s/1LABtp3eCYuya-ix_4AXUPQ password: 6js5 复制这段内容后打开百度网盘手机App,操作更方便哦
referential constraint properties in ef core
Re: referential constraint properties in ef core
Could you please send your images via our contact form?
-
- Posts: 9
- Joined: Mon 10 May 2021 07:48
Re: referential constraint properties in ef core
I had done now.
Re: referential constraint properties in ef core
1. The error on your screenshot is "... Properties do not have matching types: '...', '...' ". Please check the data types of properties on both sides of your association. The data types have to be the same.
2. If the property on one end has Nullable=True, the association is "0..1 to *". In the case of Nullable=False, the association would be "1 to *".
2. If the property on one end has Nullable=True, the association is "0..1 to *". In the case of Nullable=False, the association would be "1 to *".