Can't get EntityFunctions.TruncateTime() to work
I am using Entity Framework Code First. Using LINQ to Entity I want to grab a record based on a DateTime value. Here is my current code: /// <summary> /// A method to check and see if the Parsed Game already exists on the /// database. If Yes, then True is returned, otherwise False is returned. /// </summary> /// <param name="context">The Db Context to use</param> /// <param name="homeTeam">The Name of the Home Team for the Game.</param> /// <param name="awayTeam">The Name of the Away Team for the Game.</param> /// <param name="date">The Date of the Game</param> /// <returns></returns> public