- Changed the version of the EF Core packages as shown below:
- EfCorePostgresVersion: 8.0.4
- EfCorePomeloMysqlVersion: 8.0.2
- EfCoreSqliteVersion: 8.0.5
- EfCoreSqlServerVersion: 8.0.5
- Added a new extension method
AddSyncServerWithDeltaStoreNode
toAspNetCoreServiceExtensions
.
IDelta
now has a read and write index property:string Index { get; set; }
.DeltaStoreBase
now requires the sequence service as part of the constructor.IDeltaProcessor
now has a read-only property forSequenceService
:ISequenceService SequenceService { get; }
.IDeltaStoreExtensions.CreateDeltaCore
saves the delta creation date in UTC.
- Added extension
AddSyncFrameworkForMysql
. - Added extension
AddSyncFrameworkForNpgsql
. - Added extension
AddSyncFrameworkForSqlite
. - Added extension
AddSyncFrameworkForSqlServer
. - Added
BIT.Data.Sync.AspNetCore
to host the controllers and extension for the sync server. - Added
AddSyncServerWithMemoryNode
to add a memory node to the sync server. - Added
AddSyncServerWithNodes
to the sync server. - Added
SyncServer
template.
- Added new interface
ISequenceService
that is in charge of generating sequence numbers for delta entities. - Added new
EfSequenceService
(ISequenceService implementation). - Added new
MemorySequenceService
(ISequenceService implementation). - Updated delta index comparison query to use strings instead of GUIDs.
- Breaking change: delta indexes are now strings instead of GUIDs.
- Set default date to
Delta.cs
due to exception raised in some situations. - Added new functions to
IDeltaStore
. Similarly updatedDeltaStoreBase
,EFDeltaStore
andMemoryDeltaStore
. - Updated functions to allow the use of a single
DeltaStore
by multiple client nodes.It has a bug which prevents fetching deltas from
Delta
entity. At the moment, it can't be used for the sameDeltaStore
by multiple clients. - Added
Date
inIDelta
interface. It is added because of null exception thrown when date is not supplied. - Added
DateTimeOffset
as known types inSerializeHelper
class, as it fails ifDateTimeOffset
is used.
- Fixed a bug in
SyncFrameworkBatchExecutor.cs
. The issue occurs when data is either updated or deleted. TheGetParameters
function addsparameter1
as the name of the parameter instead of@p1
,@p2
, etc. in the generated query. - Updated
SyncFrameworkDbContext
context.
- Updated
AllDatabaseTests
.
- New sample console application added. Console app ReadMe.
- New sample
SyncServer
added.