实体框架4和同义词同义词、实体、框架

由网友(傾〆壹世柔情ゝ)分享简介:如果在数据库A,存在一个名为MyTable的表实际上来自一个同义词指向另一个数据库(B),我可以创建此表作为一个实体框架模型,再presents实体数据库中的,因为它实际上驻留在不同的数据库?If, in Database A, there exists a table named "MyTable" that ac...

如果在数据库A,存在一个名为MyTable的表实际上来自一个同义词指向另一个数据库(B),我可以创建此表作为一个实体框架模型,再presents实体数据库中的,因为它实际上驻留在不同的数据库?

If, in Database A, there exists a table named "MyTable" that actually comes from a synonym pointing to another database (B), can I create this table as an entity in an Entity Framework model that represents database A, since it actually resides in a different database?

我很好奇,如果有EF 4的情况,因为这改善了:http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/fff1067a-650d-4b47-a4e8-79eedebe5c11/

I'm curious if the situation with EF 4 has improved since this: http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/fff1067a-650d-4b47-a4e8-79eedebe5c11/

感谢。

推荐答案

答案是否定的,但尚不支持;你可以在这里追踪问题的情况:http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1052345-support-for-multiple-databases?ref=title

The answer is no, it is not supported yet; you can track the status of the issue here: http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1052345-support-for-multiple-databases?ref=title

阅读全文

相关推荐

最新文章