Skip to content
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.

Simple fulltext search

Necroskillz edited this page Sep 14, 2010 · 2 revisions

Very simple extension method you can apply to ObjectSet and search for text in multiple string properties.

Usage

context.Products.FullTextSearch("search term", true, "Name", "Description")

searches in Name and Description properties, and enforces exact match. If no properties are passed in, searches in all string properties.

Clone this wiki locally