Changing database structure at runtime with Entity Framework?
        Posted  
        
            by Teddy
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Teddy
        
        
        
        Published on 2010-04-29T12:22:41Z
        Indexed on 
            2010/04/29
            12:27 UTC
        
        
        Read the original article
        Hit count: 535
        
Hi.
 
I have to write a solution that uses different databases with different structure from the same code. So, when a user logs to the application I determine to which database he/she is connected to at runtime. The user can create tables and columns at any time and they have to see the change on the fly. The reason that I use one and the same code the information is manipulates the same way for the different databases. How can I accomplish this at runtime? Actually is the Entity Framework a good solution for my problem?
Thanks in advance.
© Stack Overflow or respective owner