Esempio 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]");
 }
Esempio n. 2
0
 public JetGenerator(
     [NotNull] JetQuoter quoter,
     [NotNull] IOptions <GeneratorOptions> generatorOptions)
     : base(new JetColumn(), quoter, new EmptyDescriptionGenerator(), generatorOptions)
 {
 }
Esempio n. 3
0
 public JetColumn(JetQuoter quoter)
     : base(new JetTypeMap(), quoter)
 {
 }
Esempio n. 4
0
 public JetGenerator(
     [NotNull] JetQuoter quoter)
     : this(quoter, new OptionsWrapper <GeneratorOptions>(new GeneratorOptions()))
 {
 }