entity framework join
Posted
by Luca Romagnoli
on Stack Overflow
See other posts from Stack Overflow
or by Luca Romagnoli
Published on 2010-06-15T09:58:53Z
Indexed on
2010/06/15
10:02 UTC
Read the original article
Hit count: 254
entity-framework
|join
Hi, i have 2 table (user, user_profile) without a explicit relationship in the sql db. and i can't add it to the db.
so, i can't do this:
db.user.include("user_profile")
the attribute in for the join is user_id
is possible do anything like this?
db.user.join("user_profile On user.id = user_profile.user_id")
How can i do that?
thanks
© Stack Overflow or respective owner