tag:blogger.com,1999:blog-8748784880747618489.post5502469199170042839..comments2023-05-26T00:50:23.753-07:00Comments on A Perl developer in the world of C#: LIKE in LINQ to EntitiesJendaPerlhttp://www.blogger.com/profile/04305561596338372327noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-8748784880747618489.post-20371801634560686362014-10-17T11:12:22.015-07:002014-10-17T11:12:22.015-07:00Great Work. Works Fine.Great Work. Works Fine.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-78066059861285582642013-08-08T02:24:09.169-07:002013-08-08T02:24:09.169-07:00According to http://entityframework.codeplex.com/w...According to http://entityframework.codeplex.com/workitem/819 Code First doesn't support model defined functions so you can't. I never understood what's so great about Code First anyway ...Jendahttps://www.blogger.com/profile/14430512920328413223noreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-40065878949495458822013-03-29T14:02:08.692-07:002013-03-29T14:02:08.692-07:00What should I do if I am using Code First EF? I de...What should I do if I am using Code First EF? I defined my EF classes in code.Naomihttps://www.blogger.com/profile/14349415198731303848noreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-8198401134655943342012-11-26T04:17:58.981-08:002012-11-26T04:17:58.981-08:00Works excellent! ThanksWorks excellent! ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-73183054600959552622012-04-02T00:45:28.492-07:002012-04-02T00:45:28.492-07:00Are you sure you set it up right? Added the snippe...Are you sure you set it up right? Added the snippet of XML into the .edmx, added the method into a static class and specified the right namespace in the EdmFunction attribute? The same namespace as specified by the in the .edmx? What version of EF do you have?JendaPerlhttps://www.blogger.com/profile/04305561596338372327noreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-11122260528340811052012-04-02T00:22:37.527-07:002012-04-02T00:22:37.527-07:00I get this when trying to use it:
The specified m...I get this when trying to use it:<br /><br />The specified method 'Boolean Like(System.String, System.String)' on the type 'My.Namespace' cannot be translated into a LINQ to Entities store expression.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-11129739478761630292012-01-13T08:46:54.152-08:002012-01-13T08:46:54.152-08:00Yes if the provider for EntitySQL is implemented c...Yes if the provider for EntitySQL is implemented correctly and according to my tests, the one for MS SQL Server is.JendaPerlhttps://www.blogger.com/profile/04305561596338372327noreply@blogger.comtag:blogger.com,1999:blog-8748784880747618489.post-75780466594761052702012-01-13T08:10:10.817-08:002012-01-13T08:10:10.817-08:00Is this protected against SQL injection?Is this protected against SQL injection?Joelhttps://www.blogger.com/profile/18112637233057908669noreply@blogger.com