Muslim.DateOnlyTimeOnlyConverter 2.0.1

dotnet add package Muslim.DateOnlyTimeOnlyConverter --version 2.0.1                
NuGet\Install-Package Muslim.DateOnlyTimeOnlyConverter -Version 2.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Muslim.DateOnlyTimeOnlyConverter" Version="2.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Muslim.DateOnlyTimeOnlyConverter --version 2.0.1                
#r "nuget: Muslim.DateOnlyTimeOnlyConverter, 2.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 119 2/15/2024
2.0.0 75 2/15/2024