Is it possible to create associated b / t 2 elements of non-integrated fields in the Entity Framework?
Example. Take 2 tables in an outdated application (i.e. keys / structure cannot change)
Order ( OrderId : int : PK OrderNo : varchar ) OrderDetails ( DetailRecordId : int : PK OrderNo : varchar )
In the Entity Framework, I want to create a b / t Order and OrderDetails association in the OrderNo field, which is not the primary key in any table or FK relationships in the database.
It seems to me that this should not only be easy to do, but also one reason to use something like EF. However, it seems that I only want to create associations using entity keys.
entity-framework
Cody c
source share