Skip to content

@Ahoo-Wang Ahoo-Wang released this Jul 14, 2020

  1. MySqlConnector版本升级到1.0.0 -->> thx @ktdynamic
Assets 2

@Ahoo-Wang Ahoo-Wang released this Jun 18, 2020

  1. fix TypeDeserializer bug when resultType is String
Assets 2
  • v4.1.54
  • 283efb7
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.1.54
  • 283efb7
  • Compare
    Choose a tag to compare
    Search for a tag

@Ahoo-Wang Ahoo-Wang released this Jun 12, 2020

  • add some Unsigned-TypeHandler
  • optimize bulkInsert datetime format. thx @RocherKong
  • 修复 MYSQL BulkInsert Null值问题。 thx @XiaoHeitu
Assets 2

@Ahoo-Wang Ahoo-Wang released this Mar 10, 2020

  1. optimize for #127
  2. add support for Microsoft.Data.SqlClient
    <!-- MsSqlServer: Microsoft.Data.SqlClient , SqlServer: System.Data.SqlClinet -->
    <DbProvider Name="${DbProvider}"/>
  1. add SmartSql.Bulk.MsSqlServer.csproj by Microsoft.Data.SqlClient
Assets 2

@Ahoo-Wang Ahoo-Wang released this Dec 18, 2019

  1. add code-of-conduct
  2. fix Concurrent Register EnumTypeHandler bug
  3. add support TypeHandler for CommandType.StoredProcedure
Assets 2

@Ahoo-Wang Ahoo-Wang released this Nov 19, 2019

  1. fix #94
  2. fix #113
  3. fix CUD use ColumnAttribute.Name bug
  4. fix #114
  5. add Support for simultaneous use of SqlMap and StatementAttribute
  6. fix #119
  7. Fix ResultMap missing BUG
Assets 2

@Ahoo-Wang Ahoo-Wang released this Oct 28, 2019

  1. optimize TypeUtils error msg
  2. add Ordered for Middlewares
  3. fix CUD bug
  4. optimize ConfigBuilder
  5. add support automatically assign [Id] to [Entity] using the IdGenerator
Assets 2

@noahjzc noahjzc released this Sep 26, 2019

1. add support Auto Converter

configure for SmartSqlConfig.xml

  <AutoConverters>
    <AutoConverter Name="NoneConverter">
      <Tokenizer Name="None"/>
      <Converter Name="None"/>
    </AutoConverter>
    <AutoConverter Name="Default" Default="true">
      <Tokenizer Name="Default"/>
      <Converter Name="Pascal"/>      
    </AutoConverter>
    <AutoConverter Name="PascalConverter">
      <Tokenizer Name="Default">
        <Properties>
          <Property Name="IgnorePrefix" Value="" />
          <Property Name="Delimiter" Value="_" />
          <Property Name="UppercaseSplit" Value="false" />
        </Properties>
      </Tokenizer>
      <Converter Name="Pascal"/>
    </AutoConverter>
    <AutoConverter Name="DelimiterConverter">
      <Tokenizer Name="Default">
        <Properties>
          <Property Name="IgnorePrefix" Value="col_" />
          <Property Name="Delimiter" Value="_" />
          <Property Name="UppercaseSplit" Value="true" />
        </Properties>
      </Tokenizer>
      <Converter Name="Delimiter">
        <Properties>
          <Property Name="Prefix" Value="Col_" />
          <Property Name="Delimiter" Value="_"/>
          <Property Name="Mode" Value="FirstUpper"/>
        </Properties>
      </Converter>
    </AutoConverter>
  </AutoConverters>

configure for SqlMaps

    <!-- to current sql map -->
    <UseAutoConverter Name="DelimiterConverter"/>

    <!-- disabled auto converter to current sql map -->
    <UseAutoConverter Disabled="true"/>

    <!-- assign auto converter at statement -->
    <Statement Id="AssignAutoConverterQuery" AutoConverter="PascalConverter" >
        Select * From T_AutoConverter_1
    </Statement>

assign auto converter at RequestContext

            var list = SqlMapper.Query<AutoConverter_2>(new RequestContext
            {
                Scope = "DefaultAutoConverter",
                SqlId = "AssignAutoFromRequestConverterQuery",
                AutoConverterName = "DelimiterConverter"
            });
Assets 2
  • v4.1.27
  • 2fd661e
  • Compare
    Choose a tag to compare
    Search for a tag
  • v4.1.27
  • 2fd661e
  • Compare
    Choose a tag to compare
    Search for a tag

@Ahoo-Wang Ahoo-Wang released this Aug 30, 2019

  1. fix StatementType parse bug for SmartSql.DataConnector
  2. optimize FlushOnExecuted log
  3. fix ISqlMapperExtensions SessionStore.Dispose bug
  4. optimize PropertyTokenizer
  5. fix #99
  6. fix #100 -> thx #101
  7. optimize #102
  8. add QueryDynamic/QueryDictionary extension for DbSession/SqlMapper
  9. add support same [Scope] for mutil-sqlmap -> thx #104
Assets 2

@Ahoo-Wang Ahoo-Wang released this Aug 13, 2019

  1. add AES/DES TypeHandler impl
  2. init SmartSql.DataConnector
  3. task builder register smartsql use alias for SmartSql.DataConnector
  4. optimize Error log
  5. optimize sourceParameterPrefix when null
  6. SmartSql.DataConnector pack as tool
  7. add support Mutil-Publisher-Subscriber for SmartSql.InvokeSync.RabbitMQ
  8. add support Mutil-Publisher-Subscriber for SmartSql.InvokeSync.Kafka
  9. add support DbCommandCreated event for CommandExecuter
  10. fix #89
Install-Package SmartSql.Oracle
 new SmartSqlBuilder().
    UseOracleCommandExecuter()
    ...
Assets 2