Esempio n. 1
0
 public static void ChangeToRemoteDB(DbContext source)
 {
     ConnectionTools.ChangeDatabase(source,
                                    initialCatalog: "NEW_POS_DB",
                                    userId: "makrov",
                                    password: "******",
                                    dataSource: @"34.209.147.13");
 }
Esempio n. 2
0
 public static void changeToLocalDB(DbContext source)
 {
     ConnectionTools.ChangeDatabase(source,
                                    initialCatalog: "NEW_POS_DB",
                                    userId: "makrov",
                                    password: "******",
                                    dataSource: @"localhost");
 }