-
Notifications
You must be signed in to change notification settings - Fork 410
Description
Hello, I suggest to add DateOnly (and probably TimeOnly too) support cause they map column type date and time on SqlServer database, but currently they are not recognized by SimpleCRUD and ignored unless you maked on every property of every class using the [Editable(true)] attribute, but I think they are a simple type like DateTime and TimeSpan.
So I suggest to add DateOnly and TimeOnly on the method IsSimpleType so it can return true for this type.
PS: I suggest to think on a method or property in SimpleCRUD class in wich you can add other complex type globally, so you can avoid the [Editable(true)] attribute for that Type (for example, this approach would have allowed you to add support for DateOnly and TimeOnly without needing to modify the source code:)