Пример #1
0
 public IEnumerable <Office> GetOffices(string searchPattern)
 // to avoid additional allocations
 => context.Query <Office>($@"select * from Offices where lower(Address) like lower('%{searchPattern}%')");