public AS400SqlGenerationHelper( [NotNull] RelationalSqlGenerationHelperDependencies dependencies, [NotNull] IAS400Options options) : base(dependencies) { //iDB2Connection conn; //conn.GetConnectionStringBuilder().Naming ? iDB2NamingConvention naming = iDB2NamingConvention.System; naming = options.NamingConvention; schemaTableSeperator = naming.Seperator(); }
public static ConventionSet Build(IAS400Options options) { var typeMapper = new AS400TypeMapper(new RelationalTypeMapperDependencies()); return(new AS400ConventionSetBuilder( new RelationalConventionSetBuilderDependencies(typeMapper, null, null), new AS400SqlGenerationHelper(new RelationalSqlGenerationHelperDependencies(), options)) .AddConventions( new CoreConventionSetBuilder( new CoreConventionSetBuilderDependencies(typeMapper)) .CreateConventionSet())); }
private readonly IAS400Options _AS400Options; public AS400QuerySqlGeneratorFactory([NotNull] QuerySqlGeneratorDependencies dependencies, [NotNull] IAS400Options AS400Options) : base(dependencies) { _AS400Options = AS400Options; }