Jump to content
Sign in to follow this  
Flatdnl

Entity Framework - Select com FK

Recommended Posts

Flatdnl

Boa Tarde,

Gostaria de saber como faço para fazer um SELECT utilizando o EF, só que na entidade tem 2 relacionamentos.

2wpnvpl.png

Para buscar um FK consigo assim:

From o In db.PRODUTO_ESTOQUE.Include("CLIENTE")...

Como faço para trazer todos os campos... inclusive as 2 FKs?

Obrigado!

Share this post


Link to post
Share on other sites
Flatdnl

Bom Dia Bruno1234,

AFFF... não acredito que é só isso...

tentei de tudo, menos isso acredita... huahua..

Obrigado, Problema resolvido!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.