Leave a Reply

One comment

  1. Hi All!

    Has someone tried to modify the mappingSource of the DataContext at run-time before anything is excecuted? I want to able to change the datasource at run-time to point at different databases depending on who the User is.

    Right now it is using this code:

    base(global::System.Configuration.ConfigurationManager.ConnectionStrings[“FAMP_ConnectionString”].ConnectionString, mappingSource)

    Thanks!

    Gerardo Gala Reply