In sql server we can issue sql to get data like
select * from table where column like '%myword%' select * from person where Soundex(LastName) = Soundex('Ann')
which linq query will match above sql?
from t in table where t.column.Contains("myword") select t
In .Net 4.0, you can use the SoundCode function, perhaps like this:
from p in person where SqlFunctions.SoundCode(p.LastName) == SqlFunctions.SoundCode('Ann') select p
you can use the difference function
http://msdn.microsoft.com/en-us/library/system.data.objects.sqlclient.sqlfunctions.difference%28VS.100%29.aspx
you can also create your own
https://web.archive.org/web/1/http://blogs.techrepublic%2ecom%2ecom/programming-and-development/?p=656
Source: https://habr.com/ru/post/1720006/More articles:Using a diagram in four aspects in aspect-oriented programming? - javaStructuring the program. Classes and functions in Python - pythonGet a Win32 program to request a debugger at startup? - c ++C # Creating a Log System - c #How can I change a user agent in Maven? - maven-2Creating a tab view using Cocoa / Objective C - objective-cAre there any scalability best practices for sites with huge audiences? - web-applicationsПочему контроллер ContentResult в ASP.NET MVC возвращает UTF-16, когда указан UTF-8? - asp.net-mvcCompiling tesseract-ocr on ARM / Gumstix? - embeddedHow to see which g ++ command lines Boost.Build calls (1.33.1) - boostAll Articles