Skip to content

Releases: danielgindi/SequelNet

Added support for Async versions

06 Dec 12:40
Compare
Choose a tag to compare

Everything now has Async options, including CancellationTokens.

Migration notes:

  • If you're on v1, first migrate to v2.
  • Replace public override void Insert(ConnectorBase conn = null, string userName = null) -> override void Insert(ConnectorBase conn = null)
  • Replace public override void Update(ConnectorBase conn = null, string userName = null) -> override void Update(ConnectorBase conn = null)
  • To get full performance and customization options for Async implementations as well - regenerate the class's code with the VSIX extension.

Renamed to SequelNet, moved to .NET Standard, -> Nuget

29 Jul 09:58
Compare
Choose a tag to compare
  • Moved to .NET Standard
  • Removed all Obsolete stuff
  • Some internal refactoring
  • Renamed to SequelNet
  • Distributed through NuGet now

Migration notes:

  • Take care of any Obsolete warning from the compiler (With a clean Rebuild you will get them all)
  • Remove dg.Sql references
  • Add SequelNet, and the appropriate connector from NuGet
  • Replace in all files the following:
    • dg.Sql -> SequelNet
    • override void Insert(ConnectorBase conn) -> override void Insert(ConnectorBase conn = null, string userName = null)
    • override void Update(ConnectorBase conn) -> override void Update(ConnectorBase conn = null, string userName = null)
    • override TableSchema GetTableSchema -> override TableSchema GenerateTableSchema
    • ([a-zA-Z_0-9]+)FromDb\(reader\[Columns\.([a-zA-Z_0-9]+)\]\) -> reader.Get$1(Columns.$2)
    • IsNull\(reader\[Columns\.([a-zA-Z_0-9]+)\]\) \? \(([a-zA-Z_0-9]+)\?\)null : Convert\.To(\2|Single|Boolean)\(reader\[Columns\.\1\]\) -> reader.Get$3OrNull(Columns.$1)
    • IsNull\(reader\[Columns\.([a-zA-Z_0-9]+)\]\) \? \(float\?\)null : Convert\.ToSingle\(reader\[Columns\.\1\]\) -> reader.GetFloatOrNull(Columns.$1)
    • IsThisANewRecord = false; -> MarkOld();
    • \.TableSchema\b -> \.Schema
    • DataReaderBase -> DataReader

Improved handling of Enums

24 Jul 11:45
Compare
Choose a tag to compare

Refactored Query constructors, connector updates

24 Jul 08:12
Compare
Choose a tag to compare

Updated MySql.Data to 8.0.17
Updated Npgsql to 4.0.8

`NullSafeEqualsTo`/`NullSafeNotEqualsTo`, and generic `ExecuteScalar`

23 Jul 06:37
Compare
Choose a tag to compare

More JoinColumnPair overloads, and new @SnakeColumnNames macro option

17 Jul 08:36
Compare
Choose a tag to compare

Support for PhraseHelper.Union in a Join

04 Jul 17:14
Compare
Choose a tag to compare

A few bugfixes for migrations

22 Feb 06:52
Compare
Choose a tag to compare

Bugfix for issue introduced in 1.4.1

06 Feb 16:19
Compare
Choose a tag to compare

(Avoid, use 1.4.2) Improvements to migrations and to UPDATE query

04 Feb 14:52
Compare
Choose a tag to compare
  • Allow custom migrations filter
  • Allow using table name on the left side in UPDATE ... SET table.column = table2.column ..., when there are join.