예제 #1
0
 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, "];"));
 }
예제 #2
0
 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");
 }