阅读背景:

如何在实体框架中保存导航属性

来源:互联网 

I'm trying to use the repository pattern to save an entity using the Entity Framework. I'm unclear on how to save the Navigation Properties (like Account below). Can anyone shed some light on this. Especially how one would set the AccountId from an MVC controller all the way through to the repository where it's saved.I'm trying to use the repository pattern to sav




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: