Skip to content

Instantly share code, notes, and snippets.

@hungdv136
Created November 25, 2017 09:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hungdv136/35fd4fe467cfcadf52d5a6d9f431f277 to your computer and use it in GitHub Desktop.
Save hungdv136/35fd4fe467cfcadf52d5a6d9f431f277 to your computer and use it in GitHub Desktop.
Full text search method
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StudyEfCore.Utilities
{
public static class SqlFunctions
{
public static bool Contains(string text, string word)
{
throw new NotSupportedException("This is a SQL method which does not support call directly.");
}
public static bool Freetext(string text, string word)
{
throw new NotSupportedException("This is a SQL method which does not support call directly.");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment