SqlScripter.Core/src/Smo/SmoScriptingUtil.cs
/// <summary>
/// Scripting collection of Iscriptable's 
/// ver. for scripting to single file
/// </summary>
/// <param name="collection"></param>
Scripting collection of Iscriptable's
ver. for scripting to single file
Scripting collection of Iscriptable ' s ver . for scripting to single file
public static void Script(ICollection collection, StreamWriter writer, ScriptingOptions options, bool printObjectsCount, string what) {
            if (printObjectsCount) {
                log.InfoFormat("Script: {0} in {1} collection", collection.Count, what);
            }
            foreach (IScriptable scriptable in collection) {
                Script(scriptable, writer, options);
            }
        }
public static void Script ( ICollection collection , StreamWriter writer , ScriptingOptions options , bool printObjectsCount , string what ) { if ( printObjectsCount ) { log . InfoFormat ( " " , collection . Count , what ) ; } foreach ( IScriptable scriptable in collection ) { Script ( scriptable , writer , options ) ; } }
Scripting collection of Iscriptable's
ver.
Scripting collection of Iscriptable ' s ver .
collection
ICollection
None
writer
StreamWriter
options
ScriptingOptions
printObjectsCount
bool
what
string