private void GenerateStatementUse(StatementUse statement, TextWriter writer, CodeGeneratorOptions options) { if (statement == null) return; if (statement.Database == null) return; if (string.IsNullOrEmpty(statement.Database.Name)) return; writer.WriteLine(string.Concat("USE [", statement.Database.Name, "];")); }
public void StatementUseConstructorTest1() { string database = string.Empty; // TODO: Initialize to an appropriate value StatementUse target = new StatementUse(database); Assert.Inconclusive("TODO: Implement code to verify target"); }