Muslim.DateOnlyTimeOnlyConverter
2.0.1
dotnet add package Muslim.DateOnlyTimeOnlyConverter --version 2.0.1
NuGet\Install-Package Muslim.DateOnlyTimeOnlyConverter -Version 2.0.1
<PackageReference Include="Muslim.DateOnlyTimeOnlyConverter" Version="2.0.1" />
paket add Muslim.DateOnlyTimeOnlyConverter --version 2.0.1
#r "nuget: Muslim.DateOnlyTimeOnlyConverter, 2.0.1"
// Install Muslim.DateOnlyTimeOnlyConverter as a Cake Addin #addin nuget:?package=Muslim.DateOnlyTimeOnlyConverter&version=2.0.1 // Install Muslim.DateOnlyTimeOnlyConverter as a Cake Tool #tool nuget:?package=Muslim.DateOnlyTimeOnlyConverter&version=2.0.1
Muslim.DateOnlyTimeOnlyConverter
this package designed to enhance your Entity Framework experience by offering custom converters and comparers tailored for DateOnly and TimeOnly types.
DateOnly Converter
Simplify your workflow by seamlessly converting between DateOnly and DateTime types with the DateOnly Converter provided by this package. Enjoy the flexibility of effortlessly switching between these date representations.
TimeOnly Converter
Effortlessly manage TimeOnly and DateTime types using the TimeOnly Converter included in this package.This converter streamlines the conversion process, making it easy to work with TimeOnly instances in your Entity Framework applications.
Usege
modelBuilder.Entity<Student>().Property(s => s.CreatedDate).HasConversion<DateOnlyConverter, DateOnlyComparer>();
modelBuilder.Entity<Student>().Property(s => s.CreatedTime).HasConversion<TimeOnlyConverter, TimeOnlyComparer>();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Microsoft.EntityFrameworkCore (>= 8.0.2)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.