Example #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);
 }
Example #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);
        }
Example #3
0
        public void Emit_mysql()
        {
            var cs  = string.Format("Database=Linger;User=root;Password=password");
            var svc = new MigrationHelper("mysql");

            svc.Migrate(cs);
        }
Example #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);
        }
Example #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);
 }
Example #6
0
 public void Emit_mysql()
 {
     var cs = string.Format("Database=Linger;User=root;Password=password");
     var svc = new MigrationHelper("mysql");
     svc.Migrate(cs);
 }