Table of Contents

Namespace NuvTools.Data.EntityFrameworkCore.Conventions

Classes

UtcDateTimeConverter

Treats every DateTime column as UTC: a Local value is converted before it is written, an unspecified one is taken as UTC, and what is read back is marked Utc.

UtcDateTimeOffsetConverter

Stores every DateTimeOffset in UTC: whatever offset a value arrives with (a browser in Brasília sends -03:00), the column holds the same instant at +00:00. Values are read back as stored.