English 中文(简体)
VS 2010 SP1 and CEQ - 是否支持外国钥匙?
原标题:VS 2010 SP1 and SQL CE - Does it support foreign keys?

如果有人问,2008年Sql服务器使用的EF4与大多数用户一样,那么我会回答,在我的数据库图象上,它收集了外国钥匙。 The case for VS 2010 SP1 and CE? 我不想冒着眼花几个小时去找LCE不做。 因此,我询问任何经历过这种情况的人。

最佳回答

Yes, EF 4 works very well with SQL CE, including picking up foreign keys. You can download and examine a sample project from here: http://erikej.blogspot.com/2010/11/using-entity-framework-with-sql-server.html

问题回答

暂无回答




相关问题
SQLServerCE Problem with parameterized queries from .NET

I am pulling the hair out of my head trying to figure this one out. I can t make Parameterized queries to work in VB.Net, when I am using parameters. From what I have found, using a parameter in a ...

Entity Framework with File-Based Database

I am in the process of developing a desktop application that needs a database. The application is currently targeted to SQL Express 2005 and works wonderfully. However, I m not crazy about having ...

热门标签