Beispiel #1
0
        protected virtual void WriteTableIndexScript(SqlTable table)
        {
            Throw.If(table).IsNull();

            if (!exportParams.ScriptTableIndexes)
            {
                return;
            }

            string sql        = table.ScriptIndexes();
            string objectName = table.Name + " Indexes";

            writer.WriteIndexScript(objectName, sql);
            UpdateProgress(objectName);
        }