
<rss version="2.0">
<channel>
    <title>LLBLGen.com Forums General Chat feed</title>
    <link>http://llblgen.com/TinyForum/Threads.aspx?ForumID=1</link>
    <description>This is the RSS feed for the forum General Chat on the LLBLGen.com Forums forum system.</description>
    <ttl>30</ttl>
    <language>en-us</language>

	
		<item>
			<title>LLBL for the new age by zivtir</title>
			<description>&lt;span&gt;Hi&lt;br&gt;i m using this code:&lt;br&gt;&lt;br&gt;internal void RunUpdatePredicateExpression(EntityBase2 entityToUpdate, IPredicate[] predicates)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IRelationPredicateBucket filter = new RelationPredicateBucket();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach (var item in predicates)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;filter.PredicateExpression.AddWithAnd(item);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;using (IDataAccessAdapter adapter = this.DataAccessAdapterProvider.GetAdapter())&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;adapter.UpdateEntitiesDirectly(entityToUpdate, filter);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;now i want that the IPredicate be for specific entity on the declaration of the function.&lt;br&gt;it prevent runtime error when i try to add Predicates which are not match the entityToUpdate.&lt;br&gt;how can i manage it?&lt;br&gt;thanks &lt;/span&gt;</description>
			<author>zivtir</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104453</link>
			<pubDate>Tue, 07 Sep 2010 10:43:00 GMT</pubDate>
			<category>LLBL for the new age</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104453</guid>
		</item>
	
		<item>
			<title>LLBL for the new age by zivtir</title>
			<description>&lt;span&gt;Hi&lt;br&gt;i m using this code:&lt;br&gt;&lt;br&gt;internal void RunUpdatePredicateExpression(EntityBase2 entityToUpdate, IPredicate[] predicates)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;IRelationPredicateBucket filter = new RelationPredicateBucket();&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;foreach (var item in predicates)&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;filter.PredicateExpression.AddWithAnd(item);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;using (IDataAccessAdapter adapter = this.DataAccessAdapterProvider.GetAdapter())&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;adapter.UpdateEntitiesDirectly(entityToUpdate, filter);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;now i want that the IPredicate be for specific entity on the declaration of the function.&lt;br&gt;it prevent runtime error when i try to add Predicates which are not match the entityToUpdate.&lt;br&gt;how can i manage it?&lt;br&gt;thanks &lt;/span&gt;</description>
			<author>zivtir</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104452</link>
			<pubDate>Tue, 07 Sep 2010 10:42:48 GMT</pubDate>
			<category>LLBL for the new age</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104452</guid>
		</item>
	
		<item>
			<title>LLBL for the new age by Otis</title>
			<description>&lt;span&gt;&lt;table width=&quot;95%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tr&gt;
      &lt;td align=&quot;left&quot;&gt;&lt;b&gt;JRR wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;I think the viewmodel holds the data, while the view holds UI code. &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;&lt;br&gt;&lt;br&gt;The view binds to the viewmodel.  The viewmodel is not aware of the view, but the view is aware of the viewmodel. &lt;br&gt;&lt;br&gt;The only benefit is a logical separation between how how the application &lt;b&gt;works with data&lt;/b&gt;(viewmodel), and how it &lt;b&gt;displays data&lt;/b&gt;(view).&lt;br&gt;&lt;br&gt;As you always say, Frans, it all boils down to a solution that is profitable and manageable. &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;  I'm still trying to see if that's the case for my solutions.  Everyone seems to have their own personal rendition of MVVM (iow - there is no standard).&lt;br&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;Yes that's my conclusion as well, after doing some research into this area. We're thinking about adding a feature where you can model your ViewModels as well, as they're based on the entity model anyway (data has to be passed back/forth), but as there's no standard, generating this can be a bit of a pain because the user will often find the generated code not how s/he would have written it her/himself. &lt;br&gt;&lt;br&gt;&lt;table width=&quot;95%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tr&gt;
      &lt;td align=&quot;left&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;&lt;br&gt;&lt;i&gt;(edit: Forgot to add that viewmodels can be easily used in unit tests, without any ui.)&lt;/i&gt;&lt;br&gt;&lt;br&gt;As for RIA Services, I look forward to ditching ef and using the llblgen pro framework with ria services.  Anything I can do to help? &lt;img src=&quot;pics/smileywink.gif&quot; border=&quot;0&quot; alt=&quot;Wink&quot;&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;See: &lt;br&gt;&lt;a href=&quot;http://www.llblgen.com/tinyforum/GotoMessage.aspx?ThreadID=16377&amp;amp;MessageID=102594&quot; target=&quot;_blank&quot;&gt;http://www.llblgen.com/tinyforum/GotoMessage.aspx?ThreadID=16377&amp;amp;MessageID=102594&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104393</link>
			<pubDate>Mon, 06 Sep 2010 07:55:16 GMT</pubDate>
			<category>LLBL for the new age</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104393</guid>
		</item>
	
		<item>
			<title>New customer testimonials for new site by Aglaia</title>
			<description>&lt;span&gt;We're in the process of building a new website for LLBLGen Pro. The quotes in the public area have been there for a long time now, so I'm looking for new ones from happy LLBLGen Pro users.&lt;br&gt;&lt;br&gt;If you're willing to provide me with one, please post it in this thread or email me directly at aglaia at llblgen dot com.&lt;br&gt;&lt;br&gt;Thanks!&lt;/span&gt;</description>
			<author>Aglaia</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18612&amp;StartAtMessage=0#104316</link>
			<pubDate>Fri, 03 Sep 2010 08:39:33 GMT</pubDate>
			<category>New customer testimonials for new site</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18612&amp;StartAtMessage=0#104316</guid>
		</item>
	
		<item>
			<title>LLBL for the new age by JRR</title>
			<description>&lt;span&gt;I think the viewmodel holds the data, while the view holds UI code. &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;&lt;br&gt;&lt;br&gt;The view binds to the viewmodel.  The viewmodel is not aware of the view, but the view is aware of the viewmodel. &lt;br&gt;&lt;br&gt;The only benefit is a logical separation between how how the application &lt;b&gt;works with data&lt;/b&gt;(viewmodel), and how it &lt;b&gt;displays data&lt;/b&gt;(view).&lt;br&gt;&lt;br&gt;As you always say, Frans, it all boils down to a solution that is profitable and manageable. &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;  I'm still trying to see if that's the case for my solutions.  Everyone seems to have their own personal rendition of MVVM (iow - there is no standard).&lt;br&gt;&lt;br&gt;&lt;i&gt;(edit: Forgot to add that viewmodels can be easily used in unit tests, without any ui.)&lt;/i&gt;&lt;br&gt;&lt;br&gt;As for RIA Services, I look forward to ditching ef and using the llblgen pro framework with ria services.  Anything I can do to help? &lt;img src=&quot;pics/smileywink.gif&quot; border=&quot;0&quot; alt=&quot;Wink&quot;&gt;&lt;/span&gt;</description>
			<author>JRR</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104230</link>
			<pubDate>Tue, 31 Aug 2010 22:17:50 GMT</pubDate>
			<category>LLBL for the new age</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104230</guid>
		</item>
	
		<item>
			<title>Re:Higher studies by Krish</title>
			<description>&lt;span&gt;I have always thought it is a marathon rather than a sprint and you have just confirmed it.&lt;br&gt;Thank you for all that information.&lt;/span&gt;</description>
			<author>Krish</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#104092</link>
			<pubDate>Thu, 26 Aug 2010 21:53:17 GMT</pubDate>
			<category>Re:Higher studies</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#104092</guid>
		</item>
	
		<item>
			<title>LLBL for the new age by Otis</title>
			<description>&lt;span&gt;&lt;table width=&quot;95%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tr&gt;
      &lt;td align=&quot;left&quot;&gt;&lt;b&gt;omar wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;Thank you Frans for the detailed answer. I think your answers will resonate favorably among many of the LLBL loyalists (myself included &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt; )...&lt;br&gt;&lt;br&gt;Concerning your question about how to presist data back in the MVVM pattern, the whole concept in MVVM is to provide an abstraction layer between the Views and the BL. Basically, its the ViewModel that gets the intemate knowledge of the BL and its services (including data persistence among other things).&lt;br&gt;&lt;br&gt;The mindset here is that  BL classes should be designed for Business Logic in mind while ViewModel classes are designed to server the UI (usually a 1:1 between a View and ViewModel).&lt;br&gt;The Utopian case is for all communication between View and ViewModel to occur through XAML's binding with minimal or no-code behind in the view.&lt;br&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;Ok, so if I understand it correctly, UI oriented code is in the viewmodel classes, correct? If the viewmodel classes aren't entity classes, why do these interfaces have to be on the entities? Or are you saying, using the entity classes is also OK (but that would mean: no mvvm, correct?) (I ask, because I have no idea what MVVM is, with respect to MVC or MVP)&lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104062</link>
			<pubDate>Thu, 26 Aug 2010 09:53:27 GMT</pubDate>
			<category>LLBL for the new age</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18509&amp;StartAtMessage=0#104062</guid>
		</item>
	
		<item>
			<title>Re:Higher studies by Otis</title>
			<description>&lt;span&gt;&lt;table width=&quot;95%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tr&gt;
      &lt;td align=&quot;left&quot;&gt;&lt;b&gt;Krish wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;Thank you for the prompt reply.&lt;br&gt;I guess I asked you because clearly you have mastered computer science and .NET to an extraordinary level  in a relatively short period of time as reflected in your blogs, forum answers and of course LLBLGen.&lt;br&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;haha no short period of time &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;&lt;br&gt;I started programming in 1986, age 16, did a lot of assembler development, then went to Uni to do CS, graduated in 1994, and have been writing code since then. I.o.w. it took a long time. Don't be in a rush, mastering something takes dedication, and vast investment of time, e.g. some say at least 10 years, full time. Don't think you can master something within a year or so, it won't work. &lt;br&gt;&lt;br&gt;So take your time, study the core CS knowledge, not how to write a website in asp.net, but what's the difference between programming and writing code etc. the CS topics one would get on a good CS uni course. With that knowledge you'll then grow eventually in a great software engineer. There's no secret, really, just hard work for a long period of time. &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;&lt;br&gt;&lt;br&gt;&lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#104061</link>
			<pubDate>Thu, 26 Aug 2010 09:51:22 GMT</pubDate>
			<category>Re:Higher studies</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#104061</guid>
		</item>
	
		<item>
			<title>Re:Higher studies by Krish</title>
			<description>&lt;span&gt;Thank you for the prompt reply.&lt;br&gt;I guess I asked you because clearly you have mastered computer science and .NET to an extraordinary level  in a relatively short period of time as reflected in your blogs, forum answers and of course LLBLGen.&lt;br&gt;So I am wondering what is your secret 'recipe' for such a level of solid understanding or is it eating, sleeping and breathing .NET all the time.&lt;/span&gt;</description>
			<author>Krish</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#104058</link>
			<pubDate>Thu, 26 Aug 2010 09:26:40 GMT</pubDate>
			<category>Re:Higher studies</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#104058</guid>
		</item>
	
		<item>
			<title>Re:Higher studies by Otis</title>
			<description>&lt;span&gt;&lt;table width=&quot;95%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tr&gt;
      &lt;td align=&quot;left&quot;&gt;&lt;b&gt;Krish wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;I am not sure it is appropriate to post this message here. I looking for answers from the support guys and in particular Frans.&lt;br&gt;&lt;br&gt;I am thinking of doing a masters degree in computer science / information technology. My questions are:&lt;br&gt;&lt;br&gt;1. Should I do computer science subjects or information technology subjects or a combination of both.&lt;br&gt;&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;One should study what one finds interesting. Don't study something you have no interest in. If CS interests you more, do that. If you just want to become a programmer, study software engineering.&lt;br&gt;&lt;br&gt;&lt;table width=&quot;95%&quot; align=&quot;center&quot; border=&quot;0&quot; cellspacing=&quot;1&quot; cellpadding=&quot;2&quot;&gt;
    &lt;tr&gt;
      &lt;td align=&quot;left&quot;&gt;&lt;b&gt;Quote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;&lt;br&gt;2. Which university? At present I am intereted in Neumont Uni in Utah, USA.&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;No idea, I have no idea which uni is best in the USA. &lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#103931</link>
			<pubDate>Mon, 23 Aug 2010 08:09:28 GMT</pubDate>
			<category>Re:Higher studies</category>
			<guid isPermaLink="true">http://llblgen.com/TinyForum/Messages.aspx?ThreadID=18549&amp;StartAtMessage=0#103931</guid>
		</item>
	
</channel>
</rss>  
