GithubHelp home page GithubHelp logo

Comments (6)

JonathanMagnan avatar JonathanMagnan commented on May 23, 2024

Hello @VictorioBerra ,

That's a good question; I know we already support it for our Entity Framework Extensions library, but I'm not sure for Dapper Plus. I will ask my developer to look at it.

Best Regards,

Jon

from dapper-plus.

JonathanMagnan avatar JonathanMagnan commented on May 23, 2024

Hello @VictorioBerra ,

Just to let you know that DateOnly and TimeOnly will be supported the next time we release Dapper Plus (normally on Tuesday 26)

Best Regards,

Jon

from dapper-plus.

VictorioBerra avatar VictorioBerra commented on May 23, 2024

That is exciting, thank you! So we can create a MSSQL date col and a DateOnly C# prop and it will all magically work?

from dapper-plus.

JonathanMagnan avatar JonathanMagnan commented on May 23, 2024

Yup, as soon as the new version is released.

I didn't test it but my employee told me it could already work with the current version by adding both type this way:

DapperPlusManager.AddCustomSupportedType(typeof(DateOnly));
DapperPlusManager.AddCustomSupportedType(typeof(TimeOnly));

Best Regards,

Jon

from dapper-plus.

JonathanMagnan avatar JonathanMagnan commented on May 23, 2024

Hello @VictorioBerra ,

The support to DateOnly and TimeOnly has been added in the version 7.4.0.

Could you test it and let us know if everything is working as expected?

Best Regards,

Jon

from dapper-plus.

VictorioBerra avatar VictorioBerra commented on May 23, 2024

Thank you @JonathanMagnan sorry for the delay, it worked great!

from dapper-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.