A fork of Microsoft's System.Data.Linq (LINQ to SQL) that enables multi-assembly extensibility and compatibility with modern .NET.
The original System.Data.Linq ships as a single sealed assembly. This fork splits the internals across multiple DLLs, making it possible to extend the query pipeline — custom SQL translators, mapping providers, and diagnostics hooks — without reflection hacks.
net8.0
dotnet add package Mindbox.Data.Linq
Drop-in replacement for System.Data.Linq. Replace the namespace import and use DataContext as usual:
using System.Data.Linq;
using var context = new DataContext(connectionString, mappingSource);
var results = context.GetTable<Order>()
.Where(o => o.CustomerId == customerId)
.ToList();| Feature | System.Data.Linq | Mindbox.Data.Linq |
|---|---|---|
| Multi-assembly extensibility | ✗ | ✓ |
.NET 10 array.Contains() in queries |
✗ | ✓ |
| Target framework | netstandard2.0 | net8.0 |
dotnet restore
dotnet build --configuration Release
dotnet testMIT — see LICENSE.txt.