I am trying to use entity framework and get the date from the SQL server. The old way of doing this in LINQ is below but i\'m needing something for the entity framework:
Have you tried using DateTime.Now or DateTime.UtcNow? I'd like to think that would be converted into GetSystemDate() by the query translator.
DateTime.Now
DateTime.UtcNow
GetSystemDate()