Hi,
Can anyone let me know this one.I am using linqtosql query in the query i am using contains..it is failing..below is my query
var records = _context.RatedCallRecords.Where(a => a.MobileNumber.contains(phoneNumber) && a.DialedDigits != null && a.EventTime.Value.Date >= StartDate && a.EventTime.Value.Date <= EndDate).OrderBy(a => a.EventTime);
I have few PhoneNumbers which start with different codes..so i just want to ignore those and check if the phone# contains the given number then show results?
Thanks!
rr