SqlBulkSyncFunction 2026.12.2.563
See the version list below for details.
dotnet add package SqlBulkSyncFunction --version 2026.12.2.563
NuGet\Install-Package SqlBulkSyncFunction -Version 2026.12.2.563
<PackageReference Include="SqlBulkSyncFunction" Version="2026.12.2.563" />
<PackageVersion Include="SqlBulkSyncFunction" Version="2026.12.2.563" />
<PackageReference Include="SqlBulkSyncFunction" />
paket add SqlBulkSyncFunction --version 2026.12.2.563
#r "nuget: SqlBulkSyncFunction, 2026.12.2.563"
#:package SqlBulkSyncFunction@2026.12.2.563
#addin nuget:?package=SqlBulkSyncFunction&version=2026.12.2.563
#tool nuget:?package=SqlBulkSyncFunction&version=2026.12.2.563
SqlBulkSyncFunction 
Azure Function version of WCOMAB/SqlBulkSync tool, a lightweight, performant non-intrusive SQL Server data sync service.
It doesn’t use any triggers or events, but instead uses SQL Server change tracking. Supported databases are SQL Server 2022 (16.x) or newer, Azure SQL Database and Azure SQL Managed Instance. The service was developed primary for syncing on premise SQL server data to Azure in an efficient way, where only the changes are transferred. But it will also work just fine between on-premise/cloud instances too.
Prerequisites
- SQL Server 2022 (16.x) or newer, Azure SQL Database, or Azure SQL Managed Instance (source and target). Older SQL Server versions are not supported.
- .NET 10 SDK - https://dotnet.microsoft.com/en-us/download
- Azure Functions Core Tools version 4.0, or a later version - https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local#v2
- Azure CLI version 2.50, or a later version - https://docs.microsoft.com/en-us/cli/azure/install-azure-cli
- IDE
- Visual Studio 2026 or a later version
- VS Code 1.90, or a later version
Configuration
The function is configured through Azure App Settings / Environment variables, you can have multiple sync source/targets configures, and multiple tables per sync job.
| Key | Description | Example |
|---|---|---|
ProcessGlobalChangeTrackingSchedule |
Custom schedule cron expression | 0 */5 * * * * |
SyncJobsConfig__Jobs__[key]__Source__ConnectionString |
Source database connection string | Server=my.dbserver.net;Initial Catalog=MySourceDb;Integrated Security=True |
SyncJobsConfig__Jobs__[key]__Source__ManagedIdentity |
Flag for if managed identity used | false |
SyncJobsConfig__Jobs__[key]__Source__TenantId |
Azure tenant ID used for managed identity | 46b41530-1e0d-4403-b815-24815944aa6a |
SyncJobsConfig__Jobs__[key]__Target__ConnectionString |
Target database connection string | Server=my.dbserver.net;Initial Catalog=MyTargetDb;Integrated Security=True |
SyncJobsConfig__Jobs__[key]__Target__ManagedIdentity |
Flag for if managed identity used | true |
SyncJobsConfig__Jobs__[key]__Target__TenantId |
Azure tenant ID used for managed identity | 46b41530-1e0d-4403-b815-24815944aa6a |
SyncJobsConfig__Jobs__[key]__BatchSize |
Bulk sync batch size | 1000 |
SyncJobsConfig__Jobs__[key]__UseSnapshotIsolationSeed |
Optional. When true, seed bulk copy reads source under Snapshot isolation (no NOLOCK). Requires ALLOW_SNAPSHOT_ISOLATION on source DB. |
true or false |
SyncJobsConfig__Jobs__[key]__UseApplicationIntentReadOnlySeed |
Optional. When true, seed bulk copy uses a separate source connection with ApplicationIntent=ReadOnly (ReadScale). Schema/CT stay on primary. |
true or false |
SyncJobsConfig__Jobs__[key]__FullSync__IntervalMilliseconds |
Optional opt-in. When any FullSync__* key is set, the job uses interval full sync (no change tracking). Minimum ms between syncs; must be > 0. |
3600000 |
SyncJobsConfig__Jobs__[key]__FullSync__UseSnapshotIsolation |
Optional. Full-sync source reads under Snapshot isolation (no NOLOCK). Requires ALLOW_SNAPSHOT_ISOLATION on source DB. |
true or false |
SyncJobsConfig__Jobs__[key]__FullSync__UseApplicationIntentReadOnly |
Optional. Full-sync source bulk reads use ApplicationIntent=ReadOnly (read scale-out). Version/clock stays on primary. |
true or false |
SyncJobsConfig__Jobs__[key]__Area |
Area name, used to manually trigger sync | Development |
SyncJobsConfig__Jobs__[key]__Manual |
Flag is sync excluded from schedules | true |
SyncJobsConfig__Jobs__[key]__Schedules__[key] |
Optional opt-in/out schedules | true |
SyncJobsConfig__Jobs__[key]__Tables__[key] |
Fully qualified name of table to sync | dbo.MyTable |
SyncJobsConfig__Jobs__[key]__DisableTargetIdentityInsertTables__[key] |
Optional, per table. When true, merge does not use IDENTITY_INSERT on target (use when target has no identity column but source does). |
true or false |
SyncJobsConfig__Jobs__[key]__DisableConstraintCheckTables__[key] |
Optional, per table. When true, disables constraint checking during merge. Useful for tables with foreign key dependencies. |
true or false |
SyncJobsConfig__Jobs__[key]__DeleteInsteadOfTruncateTables__[key] |
Optional, per table. When true, forces DELETE instead of TRUNCATE when clearing target during seed. Auto-enabled when incoming FKs are detected. |
true or false |
SyncJobsConfig__Jobs__[key]__ReseedTargetIdentityAfterClearTables__[key] |
Optional, per table. When true, runs DBCC CHECKIDENT reseed after clearing the target during seed (only when target has an identity column). |
true or false |
SyncJobsConfig__Jobs__[key]__SourceQueryTables__[key] |
Optional opt-in, per table. Custom source SELECT reading from #ChangeSet (changed primary keys); may select columns, join and filter rows. |
SELECT t.[Id], t.[Name] FROM #ChangeSet AS cs INNER JOIN dbo.[MyTable] AS t ON t.[Id] = cs.[Id] WHERE t.[IsDeleted] = 0 |
SyncJobsConfig__Jobs__[key]__SeedSourceQueryTables__[key] |
Optional, per table, requires SourceQueryTables. Seed / full-load query without #ChangeSet (avoids building a temp table of all keys). |
SELECT [Id], [Name] FROM dbo.[MyTable] WHERE [IsDeleted] = 0 |
Note:
Replace
[key]with unique name of sync job / table config i.e.MySync/MyTablewould result inSyncJobsConfig__Jobs__MySync__Tables__MyTable=dbo.MyTableApplication Name: Source and target connections report
SqlBulkSyncFunctionto SQL Server (T-SQLapp_name()/sys.dm_exec_sessions.program_name). SetApplication Name(orApp) in a connection string to override it for that database.DisableTargetIdentityInsertTables: Omit or set to
falseto copy identity values from source (default). Set totrueper table when the target schema has no identity column but the source does.DisableConstraintCheckTables: Omit or set to
falseto keep constraints enabled during merge (default). Set totrueper table when syncing tables with foreign key dependencies that may cause constraint violations due to merge order.DeleteInsteadOfTruncateTables: During seed, the target table is cleared before bulk copy.
TRUNCATEis used by default when the target is not referenced by foreign keys. When the target is referenced by other tables (detected automatically at schema load), or when this flag istrue, the service usesDELETEwithNOCHECK/CHECKon referencing tables. Set totrueto force the delete path (e.g. replication or other TRUNCATE restrictions without FK).ReseedTargetIdentityAfterClearTables: Omit or set to
falseto leave the identity seed unchanged after clear (default). Set totrueper table to runDBCC CHECKIDENTreseed to 0 after delete-based clear when the target has an identity column.UseSnapshotIsolationSeed: Omit or set to
falseto keep the default seed read (WITH(NOLOCK), no transaction). Set totruefor a consistent seed snapshot of high-churn tables; the source database must haveALTER DATABASE … SET ALLOW_SNAPSHOT_ISOLATION ON.UseApplicationIntentReadOnlySeed: Omit or set to
falseto seed from the primary source connection (default). Set totrueto offload seed bulk reads to a readable secondary (ApplicationIntent=ReadOnly); requires ReadScale (or equivalent) on the source. Change-tracking metadata is still read from the primary. Be aware of replica lag: the persisted CT version comes from the primary, so a lagged secondary seed can leave the target missing rows that incremental sync will not replay.FullSync: Omit the entire
FullSyncsection to keep change-tracking sync (default, production-safe). When anyFullSync__*key is present, the job opts into interval full sync for all tables in that job: noCHANGE_TRACKING/CHANGETABLE.sync.TableVersion.CurrentVersionstores Unix epoch milliseconds from the source clock. Scheduled runs sync only when(nowMs - lastMs) >= IntervalMilliseconds(or the table was never synced). When due, the target is reconciled without clearing: orphan delete, move new rows from staging into target, then update only changed matches. Explicit seed (POST queue/{area}/{id}/true) always clears and bulk-loads, ignoring the interval.FullSync__UseSnapshotIsolation/FullSync__UseApplicationIntentReadOnlyapply only to this mode (not the*Seedflags). Schema tracking / export HTTP endpoints remain change-tracking based and are not intended for FullSync jobs. Do not flip a job between CT and FullSync without clearingsync.TableVersionfor its tables.SourceQueryTables: Omit to keep the default table sync, which copies all source columns. When set for a table, every source read for that table goes through your query, wrapped in a generated header and footer:
- Header: creates the temp table
#ChangeSetwith the source primary key columns (same type and collation, clustered primary key) plusSYS_CHANGE_OPERATION(I/U). For incremental change-tracking sync, it holds the keys of rows inserted or updated since the last synced version (deletes excluded). For seed, the first sync and FullSync, it holds all source keys (SYS_CHANGE_OPERATION=I).- Your query: should be driven by
#ChangeSet, so only changed rows are read. It can join other tables and filter rows withWHERE.- Footer: drops
#ChangeSet.Query rules:
- One
SELECTstatement that returns one result set. CTEs, subqueries,UNION,CROSS/OUTER APPLY, window functions, aggregates, views and table-valued functions are fine. Multiple statements,EXECor dynamic SQL, andGOare not supported.- Calculated and literal columns are allowed, for example
1 AS [Version]orCONCAT(t.[First], ' ', t.[Last]) AS [Name]. Every expression needs an alias, and names must be unique.- Output column names map by name (case-insensitive) to target table columns. Use
ASto rename. Every output column must exist on the target.- Column types and nullability come from the target table. Values are converted by bulk copy when written, so an incompatible value (for example text into an
int) fails at runtime.CASTexpressions to the target column type.- The query must return all primary key columns. The source and target primary keys must have the same column names.
- The query must return every target column that is
NOT NULLwithout a default. Identity, computed,rowversionand generated-always columns are exempt.Validation:
- The query is compiled (not executed) and its columns are checked against the target on every sync, before any data is touched. This mirrors the default path, which also re-reads the table schema on every run. An invalid query never clears the target.
- A query that fails validation skips only that table. The other tables in the job still sync, and the job is reported as failed.
Sync behavior:
- Locking: the header's all-keys read honors
UseSnapshotIsolationSeed/FullSync__UseSnapshotIsolation(otherwiseWITH(NOLOCK)). Your query runs at the connection's isolation level:READ COMMITTEDby default, orSNAPSHOTinside a seed or FullSync snapshot transaction. AddWITH(NOLOCK)hints in your query if you want the default path's non-blocking reads.- Deletes: on incremental sync, target rows whose key changed at source are deleted when the key is not returned by your query. That covers both rows deleted at source and rows your
WHERE/JOINnow filters out. All other returned rows are merged.- Not tracked: change tracking only covers the configured source table, so a change in a joined table alone doesn't re-sync the base row. Schedule a periodic seed, or use FullSync, if that matters.
- Re-seed after changing the query: changing the query only affects rows that change afterwards.
- Message size: the query is carried in the queued sync job message (queue messages are limited to 64 KB), so keep it reasonably sized.
SeedSourceQueryTables: Omit to run
SourceQueryTablesover a#ChangeSetof all source keys for seed, first sync and FullSync. Set it to a query without#ChangeSetfor more efficient full loads of large tables. It must return the same columns asSourceQueryTables.Configuration from KeyVault replace
__with--i.e.SyncJobsConfig--Jobs--MySync--Tables--MyTable
Schedules
| Key | Description | Cron expression |
|---|---|---|
Custom |
Triggers based on configured custom schedule | ProcessGlobalChangeTrackingSchedule |
Midnight |
Triggers 00:00 / 12AM every day |
0 0 0 * * * |
Noon |
Triggers 12:00 / 12PM every day |
0 0 12 * * * |
EveryFiveMinutes |
Triggers every five minutes | 5 */5 * * * * |
EveryHour |
Triggers every hour | 10 0 * * * * |
Note:
Customschedule is default if no scheduled is specified in sync job configuration.
Schema tracking export
Asynchronous export of change-tracking data (full rows for inserts/updates, primary keys for deletes) uses the same storage account as AzureWebJobsStorage: blob container export, table exportjobs. Completed jobs also include response/existing.zip and response/missing.zip: each tracked change (I/U/D + primary key) is classified by whether that key exists on the target database—existing rows include full target column values; missing rows list only operation and primary keys. result.json exposes SAS URIs for those ZIPs (existingZipSasUri, missingZipSasUri) alongside the three segment ZIPs.
HTTP routes (Function authorization level):
POST /api/config/{area}/{id}/schema/tracking/{tableId}/export— JSON body{ "author", "referenceId", "purpose" }; returns202 AcceptedwithLocationpointing at status.GET /api/config/{area}/{id}/schema/tracking/{tableId}/export/status/{*correlationId}— same item shape as list; includes optionalresultwhenresponse/result.jsonexists.GET /api/config/{area}/{id}/schema/tracking/{tableId}/export/status— list jobs for that table partition.
Development resources
To quicker get started testing the function locally example configuration and database schema provided below
Unit tests
Tests use xUnit v3 on Microsoft Testing Platform (enabled in global.json) and are run by the Test task in cake.cs.
dotnet test --solution src/SqlBulkSyncFunction.slnx
Snapshots/DefaultPath.verified.txt contains the SQL generated for tables without SourceQueryTables. It was produced on the code from before the feature, and the test fails if that SQL changes.
Example local.settings.json
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
"Logging__LogLevel__Default": "Information",
"ProcessGlobalChangeTrackingSchedule": "0 23 11 * * *",
"SyncJobsConfig__Jobs__SyncTest__Area": "SyncTest",
"SyncJobsConfig__Jobs__SyncTest__Source__ConnectionString": "Server=localhost;Initial Catalog=SyncTest;Integrated Security=True",
"SyncJobsConfig__Jobs__SyncTest__Source__ManagedIdentity": false,
"SyncJobsConfig__Jobs__SyncTest__Target__ConnectionString": "Server=localhost;Initial Catalog=SyncTest;Integrated Security=True",
"SyncJobsConfig__Jobs__SyncTest__Target__ManagedIdentity": false,
"SyncJobsConfig__Jobs__SyncTest__BatchSize": 1000,
"SyncJobsConfig__Jobs__SyncTest__Manual": false,
"SyncJobsConfig__Jobs__SyncTest__Tables__Test": "source.[Test]",
"SyncJobsConfig__Jobs__SyncTest__TargetTables__Test": "target.[Test]",
"SyncJobsConfig__Jobs__SyncTest__Schedules__Custom": true,
"SyncJobsConfig__Jobs__SyncTest__Schedules__Noon": true,
"SyncJobsConfig__Jobs__SyncTest__Schedules__Midnight": true,
"SyncJobsConfig__Jobs__SyncTest__Schedules__EveryFiveMinutes": true,
"SyncJobsConfig__Jobs__SyncTest__Schedules__EveryHour": true
}
}
Example .env file for Docker
# Environment variables for running SqlBulkSyncFunction in Docker
AzureWebJobsStorage=UseDevelopmentStorage=true
FUNCTIONS_WORKER_RUNTIME=dotnet-isolated
ProcessGlobalChangeTrackingSchedule=0 23 11 * * *
SyncJobsConfig__Jobs__SyncTest__Area=SyncTest
SyncJobsConfig__Jobs__SyncTest__Source__ConnectionString=Server=localhost;Initial Catalog=SyncTest;Integrated Security=True
SyncJobsConfig__Jobs__SyncTest__Source__ManagedIdentity=false
SyncJobsConfig__Jobs__SyncTest__Target__ConnectionString=Server=localhost;Initial Catalog=SyncTest;Integrated Security=True
SyncJobsConfig__Jobs__SyncTest__Target__ManagedIdentity=false
SyncJobsConfig__Jobs__SyncTest__BatchSize=1000
SyncJobsConfig__Jobs__SyncTest__Manual=false
SyncJobsConfig__Jobs__SyncTest__Tables__Test=source.[Test]
SyncJobsConfig__Jobs__SyncTest__TargetTables__Test=target.[Test]
SyncJobsConfig__Jobs__SyncTest__Schedules__Custom=true
SyncJobsConfig__Jobs__SyncTest__Schedules__Noon=true
SyncJobsConfig__Jobs__SyncTest__Schedules__Midnight=true
SyncJobsConfig__Jobs__SyncTest__Schedules__EveryFiveMinutes=true
SyncJobsConfig__Jobs__SyncTest__Schedules__EveryHour=true
Example database seed script
Run the source script first (creates database and change tracking), then the target script.
Source (database, schema, table, change tracking, seed data):
-- Create Database
CREATE DATABASE [SyncTest]
GO
USE [SyncTest]
GO
ALTER DATABASE [SyncTest]
SET CHANGE_TRACKING = ON (
CHANGE_RETENTION = 7 DAYS,
AUTO_CLEANUP = ON
)
GO
-- Create source schema and table
CREATE SCHEMA [source]
GO
CREATE TABLE [source].[Test](
[Id] [bigint] IDENTITY(1,1) NOT NULL PRIMARY KEY,
[Description] [nvarchar](256) NULL,
[Created] [datetime] NOT NULL
)
GO
ALTER TABLE [source].[Test] ENABLE CHANGE_TRACKING WITH(TRACK_COLUMNS_UPDATED = ON)
GO
-- Seed data
INSERT INTO source.[Test]
(
Description,
Created
) VALUES (
'Row 1',
GETDATE()
)
GO
INSERT INTO source.[Test]
(
Description,
Created
) VALUES (
'Row 2',
GETDATE()
)
Target (schema and table):
USE [SyncTest]
GO
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE SCHEMA [target]
GO
CREATE TABLE [target].[Test](
[Id] [bigint] IDENTITY(1,1) NOT NULL PRIMARY KEY,
[Description] [nvarchar](256) NULL,
[Created] [datetime] NOT NULL
)
GO
Example permissions for sync
Grant the identity that runs the sync (e.g. managed identity or SQL login) the permissions below. Replace [your-sync-identity] with that principal.
Source database (read and change tracking):
USE [SyncTest]
GO
CREATE ROLE [SyncOperator]
GO
ALTER ROLE [SyncOperator] ADD MEMBER [your-sync-identity]
GO
-- Per table: change tracking, definition, and read
GRANT VIEW CHANGE TRACKING ON [source].[Test] TO [SyncOperator]
GO
GRANT VIEW DEFINITION ON [source].[Test] TO [SyncOperator]
GO
GRANT SELECT ON [source].[Test] TO [SyncOperator]
GO
Target database (sync schema and table DML):
USE [SyncTest]
GO
CREATE ROLE [SyncOperatorTarget]
GO
ALTER ROLE [SyncOperatorTarget] ADD MEMBER [your-sync-identity]
GO
-- Schema for sync metadata tables
CREATE SCHEMA [sync]
GO
GRANT SELECT, INSERT, DELETE, UPDATE, ALTER, CONTROL ON SCHEMA::[sync] TO [SyncOperatorTarget]
GO
ALTER AUTHORIZATION ON SCHEMA::[sync] TO [SyncOperatorTarget]
GO
GRANT CREATE TABLE TO [SyncOperatorTarget]
GO
-- Per target table: DML and ALTER (e.g. for sync metadata)
GRANT SELECT, INSERT, DELETE, UPDATE, ALTER ON [target].[Test] TO [SyncOperatorTarget]
GO
Custom source query example
This example adds a TestQuery table to the SyncTest database. It uses SourceQueryTables to:
- sync only rows where
IsDeleted = 0 - skip the
CategoryIdandIsDeletedcolumns - join
source.[Category]to sync the category name into aCategoryNamecolumn on the target
Source (tables, change tracking, seed data, permissions):
USE [SyncTest]
GO
CREATE TABLE [source].[Category](
[Id] [int] NOT NULL PRIMARY KEY,
[Name] [nvarchar](100) NOT NULL
)
GO
CREATE TABLE [source].[TestQuery](
[Id] [bigint] IDENTITY(1,1) NOT NULL PRIMARY KEY,
[Description] [nvarchar](256) NULL,
[CategoryId] [int] NULL REFERENCES [source].[Category]([Id]),
[IsDeleted] [bit] NOT NULL DEFAULT(0),
[Created] [datetime] NOT NULL
)
GO
-- Change tracking is only needed on the table being synced, not on joined tables
ALTER TABLE [source].[TestQuery] ENABLE CHANGE_TRACKING WITH(TRACK_COLUMNS_UPDATED = ON)
GO
-- Seed data
INSERT INTO [source].[Category] ([Id], [Name])
VALUES (1, 'Hardware'),
(2, 'Software')
GO
INSERT INTO [source].[TestQuery] ([Description], [CategoryId], [IsDeleted], [Created])
VALUES ('Row 1', 1, 0, GETDATE()),
('Row 2', 2, 0, GETDATE()),
('Row 3', NULL, 0, GETDATE()),
('Row 4 (soft deleted, not synced)', 1, 1, GETDATE())
GO
-- Permissions: the query reads joined tables too, so grant SELECT on them
GRANT VIEW CHANGE TRACKING ON [source].[TestQuery] TO [SyncOperator]
GO
GRANT VIEW DEFINITION ON [source].[TestQuery] TO [SyncOperator]
GO
GRANT SELECT ON [source].[TestQuery] TO [SyncOperator]
GO
GRANT SELECT ON [source].[Category] TO [SyncOperator]
GO
Target (table and permissions):
USE [SyncTest]
GO
CREATE TABLE [target].[TestQuery](
[Id] [bigint] IDENTITY(1,1) NOT NULL PRIMARY KEY,
[Description] [nvarchar](256) NULL,
[CategoryName] [nvarchar](100) NULL,
[Created] [datetime] NOT NULL
)
GO
GRANT SELECT, INSERT, DELETE, UPDATE, ALTER ON [target].[TestQuery] TO [SyncOperatorTarget]
GO
Source query (shown formatted; in configuration it must be a single line):
SELECT t.[Id],
t.[Description],
c.[Name] AS [CategoryName],
t.[Created]
FROM #ChangeSet AS cs
INNER JOIN source.[TestQuery] AS t ON t.[Id] = cs.[Id]
LEFT JOIN source.[Category] AS c ON c.[Id] = t.[CategoryId]
WHERE t.[IsDeleted] = 0
Configuration (local.settings.json, added to the SyncTest job's Values):
"SyncJobsConfig__Jobs__SyncTest__Tables__TestQuery": "source.[TestQuery]",
"SyncJobsConfig__Jobs__SyncTest__TargetTables__TestQuery": "target.[TestQuery]",
"SyncJobsConfig__Jobs__SyncTest__SourceQueryTables__TestQuery": "SELECT t.[Id], t.[Description], c.[Name] AS [CategoryName], t.[Created] FROM #ChangeSet AS cs INNER JOIN source.[TestQuery] AS t ON t.[Id] = cs.[Id] LEFT JOIN source.[Category] AS c ON c.[Id] = t.[CategoryId] WHERE t.[IsDeleted] = 0"
Configuration (.env for Docker):
SyncJobsConfig__Jobs__SyncTest__Tables__TestQuery=source.[TestQuery]
SyncJobsConfig__Jobs__SyncTest__TargetTables__TestQuery=target.[TestQuery]
SyncJobsConfig__Jobs__SyncTest__SourceQueryTables__TestQuery=SELECT t.[Id], t.[Description], c.[Name] AS [CategoryName], t.[Created] FROM #ChangeSet AS cs INNER JOIN source.[TestQuery] AS t ON t.[Id] = cs.[Id] LEFT JOIN source.[Category] AS c ON c.[Id] = t.[CategoryId] WHERE t.[IsDeleted] = 0
Optionally, add a seed / full-load query that skips building #ChangeSet over every key. This is useful for large tables:
"SyncJobsConfig__Jobs__SyncTest__SeedSourceQueryTables__TestQuery": "SELECT t.[Id], t.[Description], c.[Name] AS [CategoryName], t.[Created] FROM source.[TestQuery] AS t LEFT JOIN source.[Category] AS c ON c.[Id] = t.[CategoryId] WHERE t.[IsDeleted] = 0"
Expected result after a seed (POST queue/SyncTest/SyncTest/true):
target.[TestQuery]contains rows 1–3, withCategoryNameHardware,SoftwareandNULL.- Row 4 is not synced.
- Running
UPDATE source.[TestQuery] SET IsDeleted = 1 WHERE Id = 1then an incremental sync removes row 1 from the target. - Running
UPDATE source.[Category] SET Name = 'HW' WHERE Id = 1alone does not re-sync rows. Only changes tosource.[TestQuery]are tracked.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- AsyncEnumerator (>= 4.0.2)
- Azure.Data.Tables (>= 12.13.0)
- Azure.Identity (>= 1.21.0)
- Azure.Monitor.OpenTelemetry.Exporter (>= 1.10.0)
- Cronos (>= 0.13.0)
- Dapper (>= 2.1.100)
- Microsoft.Azure.Functions.Worker (>= 2.52.0)
- Microsoft.Azure.Functions.Worker.Extensions.Http (>= 3.3.0)
- Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore (>= 2.1.1)
- Microsoft.Azure.Functions.Worker.Extensions.OpenApi (>= 1.6.0)
- Microsoft.Azure.Functions.Worker.Extensions.Storage (>= 6.8.2)
- Microsoft.Azure.Functions.Worker.Extensions.Timer (>= 4.3.1)
- Microsoft.Azure.Functions.Worker.OpenTelemetry (>= 1.2.0)
- Microsoft.Azure.Functions.Worker.Sdk (>= 2.1.0)
- Microsoft.Data.SqlClient (>= 8.0.0)
- Microsoft.Data.SqlClient.Extensions.Azure (>= 8.0.0)
- OpenTelemetry.Exporter.Console (>= 1.21.0)
- OpenTelemetry.Extensions.Hosting (>= 1.21.0)
- System.Security.Cryptography.Pkcs (>= 10.0.15)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.12.3.572 | 0 | 12/3/2026 |
| 2026.12.3.570 | 0 | 12/3/2026 |
| 2026.12.2.565 | 51 | 12/2/2026 |
| 2026.12.2.563 | 60 | 12/2/2026 |
| 2026.11.27.557 | 87 | 11/27/2026 |
| 2026.11.27.552 | 77 | 11/27/2026 |
| 2026.11.22.546 | 114 | 11/22/2026 |
| 2026.11.17.542 | 119 | 11/17/2026 |
| 2026.11.13.538 | 152 | 11/13/2026 |
| 2026.11.13.536 | 125 | 11/13/2026 |
| 2026.11.12.531 | 120 | 11/12/2026 |
| 2026.11.12.527 | 111 | 11/12/2026 |
| 2026.11.12.525 | 118 | 11/12/2026 |
| 2026.11.12.523 | 113 | 11/12/2026 |
| 2026.11.12.521 | 128 | 11/12/2026 |
| 2026.11.12.519 | 119 | 11/12/2026 |
| 2026.10.27.512 | 162 | 10/27/2026 |
| 2026.10.27.510 | 140 | 10/27/2026 |
| 2026.10.26.507 | 153 | 10/26/2026 |
| 2026.10.21.503 | 147 | 10/21/2026 |