I'd like to get the Date part of a DateTime value in an .NET entity framework query. I am not able to workaround by retrieving the date part in c# because consider following example:
Following functions are not mapped to an sql function by Sybase:
The only solution i could imagine right now would be to write an sql function my own which does the conversion and map it to my edmx scheme. Is there really no out function mapped which converts/casts DateTime to Date? Thank you very much ;) |
I ended up mapping the date(...) function in my edmx scheme. |