icon

CodeTrigger   Forum

Code Generation For C#, WPF, WCF, SQL SERVER/ORACLE/MYSQL and Visual Studio 2013-2017

HomeGeneral

General Discussion Board - Please post questions, answers, (polite) opinions, and use-cases. Moderators reserve the right to amend the text/subject line or re-categorise the post to better suit the forum configuration if necessary.

Using CriteriaApi queries across the WCF boundary Messages in this topic - RSS

migrator
04/12/2017
migrator
Administrator
Posts: 63
migrator
migrator
Administrator
Posts: 63
Hi, We actually trying to use the CriteriaQuery API with the WCF service and we are not able to acheive that. We are calling the WCF service (located on a server) with a WPF app. We tryied to create custom Class into the CodeTrigger Business Layer, but we are not able to see it thru the service. Can you help us on that? Thanks
0 link
04/12/2017 migrator
Administrator
Posts: 63
migrator
migrator
Administrator
Posts: 63
Hi
CriteriaApi does not work across the WCF boundary. In this case ordinary search is implemented using the less powerful 'SearchObjects' mechanism.
You can however have your own custom method on the WCF interface which is implemented in the server side with CriteriaApi
0 link