I have a generic method which takes the query (where clause) as string e.g.
user.AsQueryable().Where( " UserName == \"xx\" AND Age = 12 " );
When i add datetime value to it the method fails. It seems like the dynamic linq does not understand the datetime value ?
Is there a workaround to compare datetime using dynamic linq ?
Thanks.