DirectMigrateUp() 공개 메소드

public DirectMigrateUp ( IMigration migration ) : void
migration IMigration
리턴 void
예제 #1
0
        public static void CreateContactPersonAddressTable(string cpAddressTableName, string cpTableName)
        {
             if (BORegistry.DataAccessor is DataAccessorInMemory)
            {
                return;
            }
            if (BORegistry.DataAccessor is DataAccessorMultiSource)
            {
                return;
            }

            var databaseConfig = MyDBConnection.GetDatabaseConfig();
            var migrator = new Migrator(databaseConfig);
            migrator.DirectMigrateUp(new Migration_Temp_ContactPersonAddress(cpAddressTableName, cpTableName));

        }