/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public JetQuerySqlGeneratorFactory( [NotNull] QuerySqlGeneratorDependencies dependencies, [NotNull] ISqlExpressionFactory sqlExpressionFactory, [NotNull] ITypeMappingSource typeMappingSource, [NotNull] IJetOptions options) { _dependencies = dependencies; _sqlExpressionFactory = (JetSqlExpressionFactory)sqlExpressionFactory; _typeMappingSource = typeMappingSource; _options = options; }
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public JetQuerySqlGenerator( [NotNull] QuerySqlGeneratorDependencies dependencies, ISqlExpressionFactory sqlExpressionFactory, ITypeMappingSource typeMappingSource, IJetOptions options) : base(dependencies) { _sqlExpressionFactory = (JetSqlExpressionFactory)sqlExpressionFactory; _typeMappingSource = typeMappingSource; _options = options; _sqlGenerationHelper = dependencies.SqlGenerationHelper; _boolTypeMapping = _typeMappingSource.FindMapping(typeof(bool)); }