public FirebirdGenerator(Processors.Firebird.FirebirdOptions fbOptions) : base(new FirebirdColumn(fbOptions), new FirebirdQuoter(), new EmptyDescriptionGenerator()) 
        {
            if (fbOptions == null)
                throw new ArgumentNullException("fbOptions");

            FBOptions = fbOptions;
            truncator = new FirebirdTruncator(FBOptions.TruncateLongNames, FBOptions.PackKeyNames);
        }
        public FirebirdGenerator(Processors.Firebird.FirebirdOptions fbOptions) : base(new FirebirdColumn(fbOptions), new FirebirdQuoter())
        {
            if (fbOptions == null)
            {
                throw new ArgumentNullException("fbOptions");
            }

            FBOptions = fbOptions;
            truncator = new FirebirdTruncator(FBOptions.TruncateLongNames);
        }
Exemple #3
0
        public FirebirdGenerator(
            [NotNull] FirebirdQuoter quoter,
            [NotNull] FirebirdOptions fbOptions,
            [NotNull] IOptions <GeneratorOptions> generatorOptions)
            : base(new FirebirdColumn(fbOptions), quoter, new EmptyDescriptionGenerator(), generatorOptions)
        {
            FBOptions = fbOptions ?? throw new ArgumentNullException(nameof(fbOptions));
#pragma warning disable 618
            truncator = new FirebirdTruncator(FBOptions.TruncateLongNames, FBOptions.PackKeyNames);
#pragma warning restore 618
        }
 public Firbirdevaluator(FirebirdTruncator truncator)
 {
     _trucator = truncator;
 }
 public FirebirdGenerator(Processors.Firebird.FirebirdOptions fbOptions)
     : base(new FirebirdColumn(fbOptions), new FirebirdQuoter(), new GenericEvaluator())
 {
     FBOptions = fbOptions;
     truncator = new FirebirdTruncator(FBOptions.TruncateLongNames);
 }
 public Firbirdevaluator(FirebirdTruncator truncator)
 {
     _trucator = truncator;
 }
Exemple #7
0
 public FirebirdGenerator(Processors.Firebird.FirebirdOptions fbOptions) : base(new FirebirdColumn(fbOptions), new FirebirdQuoter(), new GenericEvaluator())
 {
     FBOptions = fbOptions;
     truncator = new FirebirdTruncator(FBOptions.TruncateLongNames);
 }
Exemple #8
0
 public FirebirdGenerator(Processors.Firebird.FirebirdOptions fbOptions) : base(new FirebirdColumn(fbOptions), new FirebirdQuoter(fbOptions.ForceQuote), new EmptyDescriptionGenerator())
 {
     FBOptions = fbOptions ?? throw new ArgumentNullException(nameof(fbOptions));
     truncator = new FirebirdTruncator(FBOptions.TruncateLongNames, FBOptions.PackKeyNames);
 }