
<rss version="2.0">
<channel>
    <title>LLBLGen.com Forums Generated code feed</title>
    <link>http://www.llblgen.com/TinyForum/Threads.aspx?ForumID=9</link>
    <description>This is the RSS feed for the forum Generated code on the LLBLGen.com Forums forum system.</description>
    <ttl>30</ttl>
    <language>en-us</language>

	
		<item>
			<title>StoredProcedure T imeout in v3 by JMitchell</title>
			<description>&lt;span&gt;That's great, Thanks for your help. Much appreciated (I assume this fix will be in the next relese?)&lt;/span&gt;</description>
			<author>JMitchell</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104447</link>
			<pubDate>Tue, 07 Sep 2010 09:25:14 GMT</pubDate>
			<category>StoredProcedure T imeout in v3</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104447</guid>
		</item>
	
		<item>
			<title>StoredProcedure T imeout in v3 by Otis</title>
			<description>&lt;span&gt;Please see the attached dll for the fix. &lt;br&gt;&lt;br&gt;Adapter doesn't have this problem btw, it's only Selfservicing, and also only stored procs. Normal commands do get the timeout set.&lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104445</link>
			<pubDate>Tue, 07 Sep 2010 09:15:16 GMT</pubDate>
			<category>StoredProcedure T imeout in v3</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104445</guid>
		</item>
	
		<item>
			<title>StoredProcedure T imeout in v3 by Otis</title>
			<description>&lt;span&gt;Reproduced. Looking into it.&lt;br&gt;&lt;br&gt;(edit) bug, timeout isn't set for a proc call. Working on fix. The reason it's not set is because the proc is not a SQL command created by the DQE. The timeout is set on the DQE, and the proc call is not called as a generated query, but directly, so the parameter isn't set. &lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104440</link>
			<pubDate>Tue, 07 Sep 2010 08:42:03 GMT</pubDate>
			<category>StoredProcedure T imeout in v3</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104440</guid>
		</item>
	
		<item>
			<title>Predicate Expression out of sync by yogesh_shtty</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;daelmo wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;The logical explanation is that no rows in your DB match your filter expression. If no rows are returned, the entity is marked as OutOfSync. So maybe you should check the entityFields.State or the entity.IsNew property to know if the entity was already fetched and you can read values. The same applies to debugging. If you try to access properties of a non-existent entity (fetched but not existent = out of sync) you will get that error.&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;&lt;br&gt;Hi Daemo. Exactly. I am trying to see whether value exists in DB or not. I am using &lt;b&gt;return (accountnature.Fields.State) == EntityState.Fetched; &lt;/b&gt;as mentioned by you.&lt;br&gt;&lt;br&gt;If this is how it works I mean out of sync is what it gives and still it works ! then am ok wid it&lt;/span&gt;</description>
			<author>yogesh_shtty</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104429</link>
			<pubDate>Tue, 07 Sep 2010 04:01:21 GMT</pubDate>
			<category>Predicate Expression out of sync</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104429</guid>
		</item>
	
		<item>
			<title>Predicate Expression out of sync by daelmo</title>
			<description>&lt;span&gt;The logical explanation is that no rows in your DB match your filter expression. If no rows are returned, the entity is marked as OutOfSync. So maybe you should check the entityFields.State or the entity.IsNew property to know if the entity was already fetched and you can read values. The same applies to debugging. If you try to access properties of a non-existent entity (fetched but not existent = out of sync) you will get that error.&lt;/span&gt;</description>
			<author>daelmo</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104426</link>
			<pubDate>Tue, 07 Sep 2010 02:09:59 GMT</pubDate>
			<category>Predicate Expression out of sync</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104426</guid>
		</item>
	
		<item>
			<title>StoredProcedure T imeout in v3 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;JMitchell wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;No worries. The stored procedure wasn't in the generated code previously, which is why I used, DbUtils.CallRetrievalStoredProcedure. It is now. The actual name is AirPlusInvoiceMismatchFilter - I often trim things to aid readability - didn't realise you'd be looking at the attachment on the other thread!&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;That was the easiest way to look how the proc was setup in your vb.net 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;We'll look into it. &lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104423</link>
			<pubDate>Mon, 06 Sep 2010 15:44:14 GMT</pubDate>
			<category>StoredProcedure T imeout in v3</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104423</guid>
		</item>
	
		<item>
			<title>StoredProcedure T imeout in v3 by JMitchell</title>
			<description>&lt;span&gt;No worries. The stored procedure wasn't in the generated code previously, which is why I used, DbUtils.CallRetrievalStoredProcedure. It is now. The actual name is AirPlusInvoiceMismatchFilter - I often trim things to aid readability - didn't realise you'd be looking at the attachment on the other thread!&lt;/span&gt;</description>
			<author>JMitchell</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104421</link>
			<pubDate>Mon, 06 Sep 2010 15:42:31 GMT</pubDate>
			<category>StoredProcedure T imeout in v3</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104421</guid>
		</item>
	
		<item>
			<title>StoredProcedure T imeout in v3 by Otis</title>
			<description>&lt;span&gt;I used your project from the other thread, generated code and didn't see the method you refer to in your code, so additionally to what you said: &quot;I was previously using DbUtils.CallRetrievalStoredProcedure but since that doesn't exists now&quot;, we concluded that you defined a custom stored procedure call in code which is now outdated / doesn't follow the code path set up for stored procs in v3.&lt;br&gt;&lt;br&gt;As this is an assumption, could you please tell us why you said &quot;I was previously using DbUtils.CallRetrievalStoredProcedure but since that doesn't exists now&quot; ? &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt; Is the proc you refer to in your post a generated proc call or a method call you added yourself? If you defined it yourself, you have to rewrite it to follow the pattern we use in the generated code now for calling stored procedures. (it's really simple, see the generated retrievalprocedures class).&lt;br&gt;&lt;br&gt;If the proc is generated, then our assumption is wrong and we'll look into whether everything is indeed wired up correctly. Sorry for the confusion &lt;img src=&quot;pics/smileyregular.gif&quot; border=&quot;0&quot; alt=&quot;Regular Smiley&quot;&gt;&lt;/span&gt;</description>
			<author>Otis</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104420</link>
			<pubDate>Mon, 06 Sep 2010 15:37:23 GMT</pubDate>
			<category>StoredProcedure T imeout in v3</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18618&amp;StartAtMessage=0#104420</guid>
		</item>
	
		<item>
			<title>Predicate Expression out of sync by yogesh_shtty</title>
			<description>&lt;span&gt;I have also attached out of sync error image which shows only the folllowing line in stack trace&lt;br&gt;&lt;br&gt;   at SD.LLBLGen.Pro.ORMSupportClasses.EntityBase2.GetValue(Int32 fieldIndex, Boolean returnDefaultIfNull) in c:\Myprojects\VS.NET Projects\LLBLGen Pro v3.0\Frameworks\LLBLGen Pro\RuntimeLibraries\ORMSupportClasses\AdapterSpecific\EntityBase2.cs:line 2501&lt;br&gt;   at ClubCentricHelper.EntityClasses.CountryEntity.get_Modifieddate() in D:\ProjectLive\LLBLGen Pro Projects\DatabaseGeneric\EntityClasses\CountryEntity.cs:line 702&lt;/span&gt;</description>
			<author>yogesh_shtty</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104416</link>
			<pubDate>Mon, 06 Sep 2010 14:19:58 GMT</pubDate>
			<category>Predicate Expression out of sync</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104416</guid>
		</item>
	
		<item>
			<title>Predicate Expression out of sync by yogesh_shtty</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;Walaa wrote:&lt;/b&gt;&lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td class=&quot;QuoteText&quot;&gt;The error in the screenshot is logical: the 'Field' property is selfservicing specific, you should check the 'FieldCore' property.&lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;&lt;br&gt;&lt;br&gt;Dont see any error there how ever attached screen shot. But my outofsync remains though am fetching entity afer save&lt;/span&gt;</description>
			<author>yogesh_shtty</author>
			<link>http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104415</link>
			<pubDate>Mon, 06 Sep 2010 14:09:49 GMT</pubDate>
			<category>Predicate Expression out of sync</category>
			<guid isPermaLink="true">http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=18613&amp;StartAtMessage=0#104415</guid>
		</item>
	
</channel>
</rss>  
