Skip to content

Document temporal period properties mapped to CLR properties#2

Closed
roji wants to merge 2748 commits intomasterfrom
roji/document-temporal-clr-property-mapping
Closed

Document temporal period properties mapped to CLR properties#2
roji wants to merge 2748 commits intomasterfrom
roji/document-temporal-clr-property-mapping

Conversation

@roji
Copy link
Copy Markdown
Owner

@roji roji commented Apr 16, 2026

Documents the new EF Core 11 feature from dotnet/efcore#38110 that allows temporal period properties (PeriodStart/PeriodEnd) to be mapped to CLR properties on the entity type, instead of being restricted to shadow properties.

Changes

entity-framework/core/providers/sql-server/temporal-tables.md

  • New "Mapping period columns to CLR properties" section with:
    • Lambda-based HasPeriodStart/HasPeriodEnd configuration example
    • String-based configuration alternative
    • ValueGenerated.OnAddOrUpdate behavior note
    • LINQ query example using direct property access
  • Updated existing text to note shadow properties are the default, with links to the new section

entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md

  • New "Temporal period properties mapped to CLR properties" subsection under SQL Server, with code examples and link to the full temporal tables doc

davepcallan and others added 30 commits November 15, 2024 15:57
… .NET9 is now GA (dotnet#4880)

Remove reference to .NET 9 'Preview' in the EF9 targeting sentence as .NET9 is now GA
The current Bricelam.EntityFrameworkCore.Pluralizer and EntityFrameworkCore.ConfigurationManager binaries continue to work in EF9
Co-authored-by: Shay Rojansky <roji@roji.org>
Support of EF Core 9 by dotConnect's and added new products dotConnect for Zoho Book, dotConnect for Zoho Desk.
* whats new in EF 10

* Document ExecuteUpdateAsync lambda change (dotnet#4930)

dotnet/efcore#32018

---------

Co-authored-by: Shay Rojansky <roji@roji.org>
cincuranet and others added 29 commits March 20, 2026 08:59
…11.0 (dotnet#5300)

Fixes dotnet#5108

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…rovider in EF Core 9.0 (dotnet#5303)

Fixes dotnet#4804

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
dotnet#5310)

Co-authored-by: wadepickett <10985336+wadepickett@users.noreply.github.com>
…e Ciphers (dotnet#5307)

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…t#5312)

Fixes dotnet#5271

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…OS/Linux (dotnet#5309)

Fixes dotnet#5308

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…new and existing databases (dotnet#5314)

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…et#5328)

In SQL Server, RETURN is intended only for integer status codes so that SELECT is the correct for returning computed string results from a stored procedure
… dependency (dotnet#5281)

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…OptimizeContext removal (dotnet#5282)

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
* Move SQL Server section up
* Add section on complex type stabilization
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
….0 upgrade (dotnet#5305)

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Document the new EF Core 11 feature that allows temporal period
properties (PeriodStart/PeriodEnd) to be mapped to CLR properties
instead of being restricted to shadow properties.

Updates:
- temporal-tables.md: New 'Mapping period columns to CLR properties'
  section with lambda and string-based configuration examples
- temporal-tables.md: Updated existing text to note shadow properties
  are the default, with links to the new section
- whatsnew.md (EF Core 11): New subsection under SQL Server

Relates to dotnet/efcore#38110

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@roji roji closed this Apr 16, 2026
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.