Ejemplo n.º 1
0
        /// <summary>
        /// Adds an operation to drop an index based on the columns it targets.  This is a wrapper for the default DBMigration DropTable.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="anonymousArguments">Additional arguments that may be processed by providers. Use anonymous type syntax to specify arguments e.g. 'new { SampleArgument = "MyValue" }'.</param>
        public void DropTable(string name, object anonymousArguments = null)
        {
            DbMigration dbMigration = new DbMigration();

            dbMigration.DropTable(name, anonymousArguments);
            Sql(dbMigration.GetMigrationSql(SqlConnection));
        }