Exemplo n.º 1
0
 public void ShouldEscapeJetObjectNames()
 {
     //This will throw and error on the Jet Engine if special characters are used.
     //We do nothing.
     JetQuoter quoter = new JetQuoter();
     quoter.Quote("[Table]Name").ShouldBe("[[Table]Name]");
 }
Exemplo n.º 2
0
 public JetGenerator(
     [NotNull] JetQuoter quoter,
     [NotNull] IOptions <GeneratorOptions> generatorOptions)
     : base(new JetColumn(), quoter, new EmptyDescriptionGenerator(), generatorOptions)
 {
 }
Exemplo n.º 3
0
 public JetColumn(JetQuoter quoter)
     : base(new JetTypeMap(), quoter)
 {
 }
Exemplo n.º 4
0
 public JetGenerator(
     [NotNull] JetQuoter quoter)
     : this(quoter, new OptionsWrapper <GeneratorOptions>(new GeneratorOptions()))
 {
 }