Created
November 25, 2017 09:39
-
-
Save hungdv136/35fd4fe467cfcadf52d5a6d9f431f277 to your computer and use it in GitHub Desktop.
Full text search method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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