public void ExecuteScript(string script) { bool saveShouldNormalizeWhitespace = ExecuteCommand.ShouldNormalizeWhitespace; ExecuteCommand.ShouldNormalizeWhitespace = false; try { List <String> statements = SQLStore.ProcessBatches(script); for (int index = 0; index < statements.Count; index++) { ExecuteStatement(statements[index]); } } finally { ExecuteCommand.ShouldNormalizeWhitespace = saveShouldNormalizeWhitespace; } }
protected internal SQLStoreConnection(SQLStore store) : base() { _store = store; _connection = InternalCreateConnection(); }