If there is a table named “MyTable” in database A that actually comes from a synonym pointing to another database (B), can I create this table as an object in the Entity Framework model that represents database A, since it really is in another database?
I am wondering if the situation has improved with EF 4: http://social.msdn.microsoft.com/Forums/en-US/adodotnetentityframework/thread/fff1067a-650d-4b47-a4e8-79eedebe5c11/
Thank.
: , ; : http://data.uservoice.com/forums/72025-ado-net-entity-framework-ef-feature-suggestions/suggestions/1052345-support-for-multiple-databases?ref=title
,
CREATE view [dbo].[MyTable] as select * from B.dbo.MyTable
Entity Framework .
Source: https://habr.com/ru/post/1771367/More articles:- (void) applicationDidEnterBackground: (приложение UIApplication *) - iosWriting a DLL for C # and C ++ Applications - c ++Binding ListView DataTemplate ListView - wpfWhat is the best way to wrap our library of software to serve both C ++ and C # client applications? - c ++Snap Silverlight animation to Click button - silverlightHow do you make line breaks in an HTML text box as a result of line breaks? - javascriptBest way to display large amounts of text? - androidVB6 "Invalid Property Use" error, where the code seems fine - vb6Two-dimensional core density estimator in Java - javaDLL Monitoring - c ++All Articles