<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Tables created on the fly</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Tables created on the fly</description>
  <pubDate>Mon, 27 Apr 2026 01:16:57 -700</pubDate>
  <lastBuildDate>Wed, 04 Dec 2013 08:48:10 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=4619</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Tables created on the fly : Can you have a stored procedure...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4619&amp;PID=17283#17283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 4619<br /><strong>Posted:</strong> 04-Dec-2013 at 8:48am<br /><br />Can you have a stored procedure that will return the data based on the year/month you pass to it, and then map the stored procedure to return your PercapHist entity?]]>
   </description>
   <pubDate>Wed, 04 Dec 2013 08:48:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4619&amp;PID=17283#17283</guid>
  </item> 
  <item>
   <title>Tables created on the fly : The mapping to the storage layer,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4619&amp;PID=17282#17282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 4619<br /><strong>Posted:</strong> 04-Dec-2013 at 8:47am<br /><br />The mapping to the storage layer, which is done by EF not DevForce, is static and can't be changed at runtime.&nbsp; &nbsp;You're best bet here is probably a stored proc query or view.]]>
   </description>
   <pubDate>Wed, 04 Dec 2013 08:47:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4619&amp;PID=17282#17282</guid>
  </item> 
  <item>
   <title>Tables created on the fly : I know that my DevForce entity...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4619&amp;PID=17280#17280</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 4619<br /><strong>Posted:</strong> 04-Dec-2013 at 5:53am<br /><br />I know that my DevForce entity model needs to know my tables ahead of time to take a snapshot. But how do I handle this situation. I have a base table named PercapHist. Each month a new table is created in a stored procedure. (ex PercapOEDues1301, PercapOEDues1302 etc.)<br /><br />In a certain routine I need to know if the percap routine was run for a previous month or already run for the current month. such as the following<br /><br /> string thisMonth = (percapMonth.Year + percapMonth.Month).ToString();<br /> string percapThisMonth = "PercapOEDues" + thisMonth;<br /><br /> DateTime lastPercap = percapMonth.AddMonths(-1);<br /> string lastMonth = (lastPercap.Year + percapMonth.Month).ToString();<br /> string percapLastMonth = "PercapOEDues" + lastMonth;<br /><br />Now I need to query either of the two tables PercapThisMonth or PercapLastMonth and see if they have any rows in them. <br /><br /><br /><br />]]>
   </description>
   <pubDate>Wed, 04 Dec 2013 05:53:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4619&amp;PID=17280#17280</guid>
  </item> 
 </channel>
</rss>