bunzee wrote:
Check this out:
1. bill --m:1--> batch --m:1-->batchstatus is not allowed.
2. employer --n:m--> batch --m:1--> batchstatus is allowed.
What you want is a relation between two entities based on a chain of relations. The only relation type we support with that feature is an m:n relation (over two m:1 relations originating from the same intermediate entity).
So, of course you can traverse the chain, but that's not a defined relation type.
In either case, you can have the chain "too far apart".
Also, the designer can have just the relation available. The designer does not have to create the related fields. After all, the designer has "fields on related field" which allow the user to specify exactly what related fields that he wants.
The designer will show the relation bill-batch and the relation batch-batchstatus, it just won't allow the relation bill-batchstatus, as these entities don't have a relation of a known type. You can traverse from bill to batchstatus, but that's another topic.
Do you see the two relations in the designer?
I can see using partial class to add field. I just hope that these "added" fields show up in the gridview and formview wizard since I use databound control and llblgenprodatasource2 alot.
yes, any property you define will show up, unless you mark it with Browsable(false) then it is ignored.