Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Enrique Capellan 17 posts 107 karma points
    Mar 08, 2020 @ 04:39
    Enrique Capellan
    0

    Custom Property and Models Buils

    Hi, I've created a custom property (Date Range Picker), but I don't find a way to configure the model builder and set the type of that property for the strongly typed property will be generated. So, the model builder it's generating a property with type "object".

    Any help please?

  • Nik 1218 posts 5081 karma points MVP 2x c-trib
    Mar 08, 2020 @ 09:23
    Nik
    1

    Hi Enrique,

    In order to do this, you need to create a PropertyValueConverter. It is this that tells Models Builder what type of property it should generate on it's Model and also performs the conversion between how the data is stored in the database and the strongly typed value it needs to be.

    Nik

Please Sign in or register to post replies

Write your reply to:

Draft