Esempio n. 1
0
 public void Emit_sqlite()
 {
     var database = string.Format("{0}.s3db", Guid.NewGuid());
     var cs = string.Format("Data Source={0};Version=3;New=True;", database);
     var svc = new MigrationHelper("sqlite");
     svc.Migrate(cs);
 }
Esempio n. 2
0
        public void Emit_mssql()
        {
            var cs  = "Data Source=(local);Initial Catalog=Linger;Integrated Security=true";
            var svc = new MigrationHelper("sqlserver");

            svc.Migrate(cs);
        }
Esempio n. 3
0
        public void Emit_mysql()
        {
            var cs  = string.Format("Database=Linger;User=root;Password=password");
            var svc = new MigrationHelper("mysql");

            svc.Migrate(cs);
        }
Esempio n. 4
0
        public void Emit_sqlite()
        {
            var database = string.Format("{0}.s3db", Guid.NewGuid());
            var cs       = string.Format("Data Source={0};Version=3;New=True;", database);
            var svc      = new MigrationHelper("sqlite");

            svc.Migrate(cs);
        }
Esempio n. 5
0
 public void Emit_mssql()
 {
     var cs = "Data Source=(local);Initial Catalog=Linger;Integrated Security=true";
     var svc = new MigrationHelper("sqlserver");
     svc.Migrate(cs);
 }
Esempio n. 6
0
 public void Emit_mysql()
 {
     var cs = string.Format("Database=Linger;User=root;Password=password");
     var svc = new MigrationHelper("mysql");
     svc.Migrate(cs);
 }