Dashing.Engine.Dialects.MySqlDialect.DropForeignKey C# (CSharp) Méthode

DropForeignKey() public méthode

public DropForeignKey ( ForeignKey foreignKey ) : string
foreignKey Dashing.Configuration.ForeignKey
Résultat string
        public override string DropForeignKey(ForeignKey foreignKey) {
            var sql = new StringBuilder("alter table ");
            this.AppendQuotedTableName(sql, foreignKey.ChildColumn.Map);
            sql.Append(" drop foreign key ");
            this.AppendQuotedName(sql, foreignKey.Name);
            return sql.ToString();
        }