<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" media="screen" href="/styles/xslt/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:c9="http://channel9.msdn.com">
<channel>
	<title>Channel 9 - Discussions by ratige</title>
	<atom:link rel="self" type="application/rss+xml" href="http://channel9.msdn.com/Niners/ratige/Discussions/RSS"></atom:link>
	<image>
		<url>http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/feedimage.png</url>
		<title>Channel 9 - Discussions by ratige</title>
		<link>http://channel9.msdn.com/Niners/ratige/Discussions</link>
	</image>
	<description>Channel 9 keeps you up to date with the latest news and behind the scenes info from Microsoft that developers love to keep up with. From LINQ to SilverLight – Watch videos and hear about all the cool technologies coming and the people behind them.</description>
	<link>http://channel9.msdn.com/Niners/ratige/Discussions</link>
	<language>en</language>
	<pubDate>Sun, 19 May 2013 14:03:04 GMT</pubDate>
	<lastBuildDate>Sun, 19 May 2013 14:03:04 GMT</lastBuildDate>
	<generator>Rev9</generator>
	<c9:totalResults>0</c9:totalResults>
	<c9:pageCount>0</c9:pageCount>
	<c9:pageSize>0</c9:pageSize>
	<item>
		<title>Coffeehouse - Lambda inside wcf operationcontract parameters</title>
		<description><![CDATA[<p>u did not get my point I think. this class has nothing to do with my data-context it is sample search criteria and as I am using .Net to.net scenario I always know that clients will always use NET to connect to service. I do not see any example of delete operation as this will be only single operation used for search on server-side I want something like</p><p><pre class="brush: text">var Person = context.Persons.FirstOrDefault(search.GetExpression());
</pre></p><p>and there is nothing wrong with this as SearchCriteria is Message if I do this in a way u call service oriented I will have to create operationcontracts for each of parameters I could get as a filter criteria on client-side and I will end with tones of methods</p><p>GetPersonByName<br>GetPersonByBirthDate<br>GetPersonByIdCardNumber</p><p>and there are more than 60 entities and 1/3 of them will be search enabled. so pleas before u post your replay first carefully read question and after that give your remarks. I am not asking weather this is good or bad way all I am asking about is how to implement and if one says never do this first let me know how would u do this and after that I will think of better way.</p><p>@<a href="/Forums/Coffeehouse/Lmabda-inside-wcf-operationcontract-parameters#cf4bc91ef279744faa2599fea013507a1">blowdart</a>:</p><p>Messages not classes DataContract and DataMember this is how message is defined and we both know this as I wrote this is pseudo code so I just want to illustrate idea. if u mean custom messages with message headers&nbsp; this is another story and not related to my question</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Lmabda-inside-wcf-operationcontract-parameters/9fc2ebb61eef4b09888b9fea0159d0b2#9fc2ebb61eef4b09888b9fea0159d0b2</link>
		<pubDate>Wed, 01 Feb 2012 20:59:04 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Lmabda-inside-wcf-operationcontract-parameters/9fc2ebb61eef4b09888b9fea0159d0b2#9fc2ebb61eef4b09888b9fea0159d0b2</guid>
		<dc:creator>ratige</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ratige/Discussions/RSS</wfw:commentRss>
	</item>
	<item>
		<title>Coffeehouse - Lambda inside wcf operationcontract parameters</title>
		<description><![CDATA[<p>Hi everyone what I am trying to do is something similar to using lambda query inside WCF operation parameter. as I know there is no way to achieve this es lambda expressions are run-time and they can not be used in this way, but I think of some solutions for this. My first idea is to use some search criteria class so that I can populate this class and then use it on server-side to build some lambda expression. my thoughts on simple implementation for this class is something like <pre class="brush: csharp">public class PersonSearchCriteria
{
     public string FirstName {get; set;}
     public string LastName {get; set;}
     public int IdCardNumber {get; set;}
     
     Expression&lt;Func&lt;TSource, bool&gt;&gt; predicate
}</pre></p><p>&nbsp;</p><p>this is some pseudo code so I want to be able to create instance of this class and based on this properties values' filter my database in my databasecontext (which in this case is EntityFramework 4.0 with selft tracking entities.</p>]]></description>
		<link>http://channel9.msdn.com/Forums/Coffeehouse/Lmabda-inside-wcf-operationcontract-parameters/8b5b0a347b1e4805a0b69fe9015d7132#8b5b0a347b1e4805a0b69fe9015d7132</link>
		<pubDate>Tue, 31 Jan 2012 21:12:16 GMT</pubDate>
		<guid isPermaLink="false">http://channel9.msdn.com/Forums/Coffeehouse/Lmabda-inside-wcf-operationcontract-parameters/8b5b0a347b1e4805a0b69fe9015d7132#8b5b0a347b1e4805a0b69fe9015d7132</guid>
		<dc:creator>ratige</dc:creator>
		<slash:comments>9</slash:comments>
		<wfw:commentRss>http://channel9.msdn.com/Niners/ratige/Discussions/RSS</wfw:commentRss>
	</item>
</channel>
</rss>