0

We are using SharpRepository. How can we do a LIKE call or use regex?

Community
  • 1
  • 1
savinger
  • 6,194
  • 9
  • 35
  • 57

1 Answers1

1

I'm not 100% sure what LINQ statements the MongoDb LINQ driver can handle, but I would start by trying something like

repo.Find(x => x.Name.Contains("jeff"));
Jeff Treuting
  • 13,670
  • 8
  • 35
  • 47