Skip to content

Add net11 support, CSDL LongDescription, and isolate EF tests - #3

Merged
robertmclaws merged 9 commits into
mainfrom
dev
Sep 14, 2026
Merged

robertmclaws merged 9 commits into
mainfrom
dev

Conversation

@robertmclaws

@robertmclaws robertmclaws commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

This brings dev up to main with .NET 11 support, CSDL LongDescription handling, docs fixes, and test isolation.

.NET 11

  • Pin the SDK to 11.0.100-rc.1 (roll-forward latest feature, prerelease allowed) in global.json / src/global.json.
  • Add net11.0 to StandardTestTfms and treat net8+ as IsNetCore.
  • Keep per-TFM package groups; float 11.x as 11.*-* / [11.*-*, 12.0.0).
  • Drop coverlet.collector; floor test System.Text.Json at 10.x (11.x on net11) so MSTest 4.4 CodeCoverage restores.
  • Stub DirectUpdate / DirectDelete (sync and async) on EF Core net11 — Z.EntityFramework.Plus has no 11.x package yet; the methods log a console warning and return 0.
  • Follow-up: Z.EntityFramework.EF6 package reference update.

CSDL documentation

  • CodeGen maps CSDL Summary → /// <summary> and LongDescription → /// <remarks>; empty docs emit no XML comment block.
  • EF Core → EDMX writes CSDL LongDescription (not SSDL).
  • New EasyAFLongDescription path: one SQL round-trip of sys.extended_properties named EasyAF_LongDescription, then in-memory apply to the CSDL model (preserve existing docs when the catalog has no value).
  • CodeGen entity/DbContext baselines updated to match (no empty summary stubs).

Tests

  • Round Interval expected values to 8 decimals so net11 Convert.ToDecimal(double) (correctly rounded binary floats) still matches.
  • Remove WriteSimpleMessageBusFiles; CodeGen tests compare against checked-in baselines. Baseline refresh stays on [BreakdanceManifestGenerator].
  • [DoNotParallelize] on EF database tests; EntityManagerTests assert and clean up only the rows they created instead of the whole Products table.
  • ApiClientTests host configuration updated for the current ConfigureServices signature.

Docs

  • Docs site content/escaping fixes and docs.json update.

Escaping problems.
- Target net11.0 (SDK 11 RC1); keep per-TFM package groups with 12.0.0 caps; drop coverlet; floor test STJ at 10.x.
- Map CSDL Summary to <summary> and LongDescription to <remarks>; skip empty XML docs.
- Load SQL Server EasyAF_LongDescription extended properties into CSDL LongDescription.
- Stub DirectUpdate/DirectDelete on EF Core net11 (Z.EntityFramework.Plus has no 11.x package).
- Round Interval test expectations to 8 decimals for net11 Convert.ToDecimal(double).
- Stop CodeGen tests from writing Baselines; isolate EntityManager tests from shared LocalDB.
Use channel 11.0.1xx with quality preview so CI gets the 11.0.100-rc.1 SDK band. Keep 8/9/10 GA installs for multi-targeting.
OutputGeneratedEdmxForAnalysis used a second-precision temp path, so parallel net8/net9/net10/net11 test hosts locked the same file. Use a Guid filename and delete it after the dump.
Checkout brings global.json, so dotnet nuget push fails on the runner without 11.0.100-rc.1.
@robertmclaws
robertmclaws merged commit 02781d2 into main Sep 14, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant