entity framework join -
I have 2 tables (user, user_profile) without a clear relationship in SQL DB. And I can not add it to DB
Therefore, I can not do this:
db.user.include ("user_profile")
to join The feature is user_id
Is such a thing possible?
db.user.join ("user_profile user.id = user_profile.user_id")
How can I do this?
Thanks
Try it out:
Is equivalent to joining db.user_profile at URL in db.user in UP. Select new user.id {u, above};
Comments
Post a Comment