<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Julie Lerman Blog</title>
    <link>http://www.thedatafarm.com/blog/</link>
    <description>Don't Be Iffy</description>
    <language>en-us</language>
    <copyright>Julie Lerman</copyright>
    <lastBuildDate>Sat, 06 Sep 2008 15:33:57 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.0.7226.0</generator>
    <managingEditor>dasblog@thedatafarm.com</managingEditor>
    <webMaster>dasblog@thedatafarm.com</webMaster>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=f60a9b96-0e99-4181-913a-48e7e3dd8641</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,f60a9b96-0e99-4181-913a-48e7e3dd8641.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,f60a9b96-0e99-4181-913a-48e7e3dd8641.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=f60a9b96-0e99-4181-913a-48e7e3dd8641</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <em>Update 1 (I expect more...)</em>
        </p>
        <p>
          <em>Progress:I did the rebuilddatabase again (</em>
          <a title="http://blogs.msdn.com/psssql/archive/2008/08/29/how-to-rebuild-system-databases-in-sql-server-2008.aspx" href="http://www.thedatafarm.com/blog/ct.ashx?id=f60a9b96-0e99-4181-913a-48e7e3dd8641&amp;url=http%3a%2f%2fblogs.msdn.com%2fpsssql%2farchive%2f2008%2f08%2f29%2fhow-to-rebuild-system-databases-in-sql-server-2008.aspx">
            <em>http://blogs.msdn.com/psssql/archive/2008/08/29/how-to-rebuild-system-databases-in-sql-server-2008.aspx</em>
          </a>
          <em>)
and realized that I had a typo in the instance name when I first did it. But the error
didn't indicate anything about that. Good thing I am persistent!</em>
        </p>
        <p>
          <em>But I can't log in to sql server database engine, although I have no problem with
the other services.. Pout. </em>
        </p>
        <p>
          <em>Maybe next step is unintall and resinstall SQL Server so I can get the login lined
up again.</em>
        </p>
        <p>
          <em>Update 2</em>
        </p>
        <p>
          <em>A complete uninstall and complete reinstall did the trick. </em>
        </p>
        <p>
It all started yesterday when I realized that I needed to get the latest version of
Crystal Reports 2008 onto my new computer. I wasted a few hours just trying to get
the file. I had a license key so downloaded and installed the 30-day trial, but that
turned out not to be the SP0 version. I followed some links to the Service Pack but
they were broken. I finally found the file in the downloads section (duh).
</p>
        <p>
I installed it and something was very wrong. None of the designers were in VS2008
any more. I spent about 5 hours of installing and uninstalling different versions
of CR on my computer and verified that I wasn't going crazy. This was just not working
with VS2008 SP1.
</p>
        <p>
In the meantime, I needed to get back to the task at hand but SQL Server wasn't starting
up.
</p>
        <p>
Weird.
</p>
        <p>
I went into Configuration Manager and attempted to start the service. It wouldn't
start. The log files said I needed to rebuild my master file.
</p>
        <p>
I found the instructions on this very recent blog post from SQL Server Engineering
but it didn't fix my problem.
</p>
        <p>
Then I decided to repair the installation. It took me a while to figure out where
I had tucked the ISO away. It was on my external drive. I mounted that and started
the repair. Along the way there was an error message saying that it there was something
wrong with a file -  I can't remember the name but it was critical like THE SQL
SERVER ENGINE file or something. (<em>ahh - it the msi for SSCE Runtime - not a crisis
for me</em>).
</p>
        <p>
The repair had a lot of failures.
</p>
        <p>
I copied the file from the external drive to a local drive on the computer and tried
again - same results.
</p>
        <p>
So, I though, okay I'll go download the darned file again. It's 3GB. With my connection
that's about 1/2 hour or so. What's another 1/2 hour after the current investment
of about 10 (not counting the 2 hours I laid awake from about 4am to 6am this morning
worrying about this).
</p>
        <p>
Off I go to MSDN Subscriptions and lucky me - no downloads this weekend! I was trying
to be a good citizen when I opted for the online download only subscription rather
than getting piles of DVDs which is usually pretty wasteful.
</p>
        <p>
Scheduled Maintenance
</p>
        <blockquote>
          <p>
Due to scheduled release activities this weekend, MSDN, TechNet, and Expression Subscribers
will not be able to use any of their online Subscription benefits, such as downloading
files, or viewing or claiming keys. The Subscriber sites will be available for access,
but functionality will be limited to that which a non-subscriber has. 
</p>
          <p>
Scheduled Start: Friday 5 September 2008 17:00 (USA Pacific Time, GMT-8)<br />
Scheduled End: Sunday 7 September 2008 17:00 (USA Pacific Time, GMT-8)
</p>
        </blockquote>
        <p>
That's it. I'm heading for the kitchen to the drawer with the BIG KNIVES.
</p>
        <p>
It would be nice to say "okay, I'll just take the weekend off" but I can't afford
it. I've got way too much to do.
</p>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=f60a9b96-0e99-4181-913a-48e7e3dd8641" />
      </body>
      <title>Just hit me again, and again and maybe one more time just for fun</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,f60a9b96-0e99-4181-913a-48e7e3dd8641.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/09/06/JustHitMeAgainAndAgainAndMaybeOneMoreTimeJustForFun.aspx</link>
      <pubDate>Sat, 06 Sep 2008 15:33:57 GMT</pubDate>
      <description>&lt;p&gt;
&lt;em&gt;Update 1 (I expect more...)&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Progress:I did the rebuilddatabase again (&lt;/em&gt;&lt;a title="http://blogs.msdn.com/psssql/archive/2008/08/29/how-to-rebuild-system-databases-in-sql-server-2008.aspx" href="http://www.thedatafarm.com/blog/ct.ashx?id=f60a9b96-0e99-4181-913a-48e7e3dd8641&amp;amp;url=http%3a%2f%2fblogs.msdn.com%2fpsssql%2farchive%2f2008%2f08%2f29%2fhow-to-rebuild-system-databases-in-sql-server-2008.aspx"&gt;&lt;em&gt;http://blogs.msdn.com/psssql/archive/2008/08/29/how-to-rebuild-system-databases-in-sql-server-2008.aspx&lt;/em&gt;&lt;/a&gt;&lt;em&gt;)
and realized that I had a typo in the instance name when I first did it. But the error
didn't indicate anything about that. Good thing I am persistent!&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;But I can't log in to sql server database engine, although I have no problem with
the other services.. Pout. &lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Maybe next step is unintall and resinstall SQL Server so I can get the login lined
up again.&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;Update 2&lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;em&gt;A complete uninstall and complete reinstall did the trick. &lt;/em&gt;
&lt;/p&gt;
&lt;p&gt;
It all started yesterday when I realized that I needed to get the latest version of
Crystal Reports 2008 onto my new computer. I wasted a few hours just trying to get
the file. I had a license key so downloaded and installed the 30-day trial, but that
turned out not to be the SP0 version. I followed some links to the Service Pack but
they were broken. I finally found the file in the downloads section (duh).
&lt;/p&gt;
&lt;p&gt;
I installed it and something was very wrong. None of the designers were in VS2008
any more. I spent about 5 hours of installing and uninstalling different versions
of CR on my computer and verified that I wasn't going crazy. This was just not working
with VS2008 SP1.
&lt;/p&gt;
&lt;p&gt;
In the meantime, I needed to get back to the task at hand but SQL Server wasn't starting
up.
&lt;/p&gt;
&lt;p&gt;
Weird.
&lt;/p&gt;
&lt;p&gt;
I went into Configuration Manager and attempted to start the service. It wouldn't
start. The log files said I needed to rebuild my master file.
&lt;/p&gt;
&lt;p&gt;
I found the instructions on this very recent blog post from SQL Server Engineering
but it didn't fix my problem.
&lt;/p&gt;
&lt;p&gt;
Then I decided to repair the installation. It took me a while to figure out where
I had tucked the ISO away. It was on my external drive. I mounted that and started
the repair. Along the way there was an error message saying that it there was something
wrong with a file -&amp;nbsp; I can't remember the name but it was critical like THE SQL
SERVER ENGINE file or something. (&lt;em&gt;ahh - it the msi for SSCE Runtime - not a crisis
for me&lt;/em&gt;).
&lt;/p&gt;
&lt;p&gt;
The repair had a lot of failures.
&lt;/p&gt;
&lt;p&gt;
I copied the file from the external drive to a local drive on the computer and tried
again - same results.
&lt;/p&gt;
&lt;p&gt;
So, I though, okay I'll go download the darned file again. It's 3GB. With my connection
that's about 1/2 hour or so. What's another 1/2 hour after the current investment
of about 10 (not counting the 2 hours I laid awake from about 4am to 6am this morning
worrying about this).
&lt;/p&gt;
&lt;p&gt;
Off I go to MSDN Subscriptions and lucky me - no downloads this weekend! I was trying
to be a good citizen when I opted for the online download only subscription rather
than getting piles of DVDs which is usually pretty wasteful.
&lt;/p&gt;
&lt;p&gt;
Scheduled Maintenance
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
Due to scheduled release activities this weekend, MSDN, TechNet, and Expression Subscribers
will not be able to use any of their online Subscription benefits, such as downloading
files, or viewing or claiming keys. The Subscriber sites will be available for access,
but functionality will be limited to that which a non-subscriber has. 
&lt;p&gt;
Scheduled Start: Friday 5 September 2008 17:00 (USA Pacific Time, GMT-8)&lt;br&gt;
Scheduled End: Sunday 7 September 2008 17:00 (USA Pacific Time, GMT-8)
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
That's it. I'm heading for the kitchen to the drawer with the BIG KNIVES.
&lt;/p&gt;
&lt;p&gt;
It would be nice to say "okay, I'll just take the weekend off" but I can't afford
it. I've got way too much to do.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=f60a9b96-0e99-4181-913a-48e7e3dd8641" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,f60a9b96-0e99-4181-913a-48e7e3dd8641.aspx</comments>
      <category>Just Rambling</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
It took me a ridiculous amount of time to find this.
</p>
        <p>
First of all, do not download the trial version that's readily available. It doesn't
have the Service Pack in it. I figured that out after I did the 350 MB download, unzipped
and installed, only to have the same old problems I had before SP0.
</p>
        <p>
There are also a lot of broken links pointing to the pre-SAP takeover of Business
Objects.
</p>
        <p>
But I finally found it.
</p>
        <p>
Start here:
</p>
        <p>
          <a title="https://www.sdn.sap.com/irj/sdn/businessobjects-downloads" href="http://www.thedatafarm.com/blog/ct.ashx?id=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e&amp;url=https%3a%2f%2fwww.sdn.sap.com%2firj%2fsdn%2fbusinessobjects-downloads">https://www.sdn.sap.com/irj/sdn/businessobjects-downloads</a>
        </p>
        <p>
Ignore the certificate request.
</p>
        <p>
Click the link for Crystal Reports etc. Downloads
</p>
        <p>
Fill out the form as shown
</p>
        <p>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fWherethehellistheCrystalReports2008SP0do_F709%2fcrdownload_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="369" alt="crdownload" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/WherethehellistheCrystalReports2008SP0do_F709/crdownload_thumb.jpg" width="644" border="0" />
          </a>
        </p>
        <p>
Click Search and the file will appear.
</p>
        <p>
If I had known I was going to waste all of that time today, I would have gone for
that bike ride after all. 
</p>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e" />
      </body>
      <title>Where the hell is the Crystal Reports 2008 SP0 download, anyway?</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/09/05/WhereTheHellIsTheCrystalReports2008SP0DownloadAnyway.aspx</link>
      <pubDate>Fri, 05 Sep 2008 21:32:34 GMT</pubDate>
      <description>&lt;p&gt;
It took me a ridiculous amount of time to find this.
&lt;/p&gt;
&lt;p&gt;
First of all, do not download the trial version that's readily available. It doesn't
have the Service Pack in it. I figured that out after I did the 350 MB download, unzipped
and installed, only to have the same old problems I had before SP0.
&lt;/p&gt;
&lt;p&gt;
There are also a lot of broken links pointing to the pre-SAP takeover of Business
Objects.
&lt;/p&gt;
&lt;p&gt;
But I finally found it.
&lt;/p&gt;
&lt;p&gt;
Start here:
&lt;/p&gt;
&lt;p&gt;
&lt;a title="https://www.sdn.sap.com/irj/sdn/businessobjects-downloads" href="http://www.thedatafarm.com/blog/ct.ashx?id=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e&amp;amp;url=https%3a%2f%2fwww.sdn.sap.com%2firj%2fsdn%2fbusinessobjects-downloads"&gt;https://www.sdn.sap.com/irj/sdn/businessobjects-downloads&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Ignore the certificate request.
&lt;/p&gt;
&lt;p&gt;
Click the link for Crystal Reports etc. Downloads
&lt;/p&gt;
&lt;p&gt;
Fill out the form as shown
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fWherethehellistheCrystalReports2008SP0do_F709%2fcrdownload_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="369" alt="crdownload" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/WherethehellistheCrystalReports2008SP0do_F709/crdownload_thumb.jpg" width="644" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Click Search and the file will appear.
&lt;/p&gt;
&lt;p&gt;
If I had known I was going to waste all of that time today, I would have gone for
that bike ride after all. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,93f2fcd1-0b3d-4ac3-9d3f-cf2f7183c11e.aspx</comments>
      <category>Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=fe976603-6655-4c64-b7d1-867518af5710</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,fe976603-6655-4c64-b7d1-867518af5710.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,fe976603-6655-4c64-b7d1-867518af5710.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=fe976603-6655-4c64-b7d1-867518af5710</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>We have a cover for the EF book finally!</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,fe976603-6655-4c64-b7d1-867518af5710.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/09/04/WeHaveACoverForTheEFBookFinally.aspx</link>
      <pubDate>Thu, 04 Sep 2008 01:05:45 GMT</pubDate>
      <description>&lt;p&gt;
O'Reilly has us .NET authors going to the birds.
&lt;/p&gt;
&lt;p&gt;
I've got a &lt;span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;font color="#000000"&gt;&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=fe976603-6655-4c64-b7d1-867518af5710&amp;amp;url=http%3a%2f%2fen.wikipedia.org%2fwiki%2fSeychelles_Blue_Pigeon"&gt;Seychelles
Blue Pigeon&lt;/a&gt;.&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt; 
&lt;p&gt;
&lt;span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;font color="#000000"&gt;&lt;img src="http://www.thedatafarm.com/blog/content/binary/coverloarge1.jpg" border="0"&gt;&lt;/font&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;/span&gt;&lt;span style="font-size: 11pt; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: en-us; mso-fareast-language: en-us; mso-bidi-language: ar-sa"&gt;&lt;font color="#000000"&gt; 
&lt;p&gt;
You can &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=fe976603-6655-4c64-b7d1-867518af5710&amp;amp;url=http%3a%2f%2fwww.amazon.com%2fProgramming-Entity-Framework-Julia-Lerman%2fdp%2f059652028X"" target="_blank"&gt;pre-order
the book on Amazon.com&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Here's a link to my book web site also: &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=fe976603-6655-4c64-b7d1-867518af5710&amp;amp;url=http%3a%2f%2fwww.programmingentityframework.com"&gt;www.programmingentityframework.com&lt;/a&gt;. 
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=fe976603-6655-4c64-b7d1-867518af5710&amp;amp;url=http%3a%2f%2fjohnpapa.net%2fdata-services-with-silverlight-2%2fbook-summary-for-data-services-with-silverlight-2-on-amazon-now%2f"&gt;John
Papa's new cover&lt;/a&gt; has a bird as do the other Silverlight titles he displays in
his blog post.
&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=fe976603-6655-4c64-b7d1-867518af5710" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,fe976603-6655-4c64-b7d1-867518af5710.aspx</comments>
      <category>Book</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=de25b58c-7262-46dc-966d-875f668c78cb</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,de25b58c-7262-46dc-966d-875f668c78cb.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,de25b58c-7262-46dc-966d-875f668c78cb.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=de25b58c-7262-46dc-966d-875f668c78cb</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <title>New addition to the EF Team - Andrew Peters</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,de25b58c-7262-46dc-966d-875f668c78cb.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/09/04/NewAdditionToTheEFTeamAndrewPeters.aspx</link>
      <pubDate>Thu, 04 Sep 2008 00:41:09 GMT</pubDate>
      <description>&lt;p&gt;
by way of &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=de25b58c-7262-46dc-966d-875f668c78cb&amp;amp;url=http%3a%2f%2fblogs.msdn.com%2falexj%2farchive%2f2008%2f09%2f03%2fandrew-peters-joining-the-ef-team.aspx"" target="_blank"&gt;Alex&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=de25b58c-7262-46dc-966d-875f668c78cb&amp;amp;url=http%3a%2f%2fandrewpeters.net%2f2008%2f09%2f02%2fjoining-microsoft%2f"" target="_blank"&gt;Andrew
Peters is joining the EF team&lt;/a&gt;. Funny to see all of the comments about the growing
numbers of kiwis (is it PC for a non-kiwi to use that term?) at Microsoft. &lt;img alt=":-)" src="smilies/happy.gif"&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=de25b58c-7262-46dc-966d-875f668c78cb" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,de25b58c-7262-46dc-966d-875f668c78cb.aspx</comments>
      <category>Community Cheerleading</category>
      <category>Data Access</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=7db655ac-35a3-4546-a396-2ab5ee8d1ed5</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,7db655ac-35a3-4546-a396-2ab5ee8d1ed5.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,7db655ac-35a3-4546-a396-2ab5ee8d1ed5.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=7db655ac-35a3-4546-a396-2ab5ee8d1ed5</wfw:commentRss>
      <title>Presenting on Silverlight Annotation at Western Mass User Group tonight</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,7db655ac-35a3-4546-a396-2ab5ee8d1ed5.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/09/02/PresentingOnSilverlightAnnotationAtWesternMassUserGroupTonight.aspx</link>
      <pubDate>Tue, 02 Sep 2008 13:50:39 GMT</pubDate>
      <description>&lt;p&gt;
I'm actually leaving my house and leaving my road and even leaving my state today.
And I won't be doing it on my bicycle. I'm heading down to Springfield Mass to do
an &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwww.ineta.org"" target="_blank"&gt;INETA&lt;/a&gt; sponsored
presentation at the &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwmassdotnet.org%2f"" target="_blank"&gt;Western
Mass .NET User Group&lt;/a&gt; hosted by &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwww.massmutual.com%2fmmfg%2findex.html"" target="_blank"&gt;MassMutual&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
I've spoken at this group before when they were meeting at &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwww.atalasoft.com%2f"" target="_blank"&gt;Atalasoft's&lt;/a&gt; very
hip offices in a &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwww.eastworks.com%2f"" target="_blank"&gt;renovated
mill&lt;/a&gt; with a cool history.I also remember having a long conversation with someone
from Atalasoft about the challenges of annotating on the web. So it was no surprise
to me to read a blog post by Lou Franco from Atalasoft who, upon seeing my recent
MSDN Mag Silverlight Annotation article [&lt;strong&gt;&lt;/strong&gt;&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fmsdn.microsoft.com%2fen-us%2fmagazine%2fcc721604.aspx"&gt;&lt;strong&gt;Write
On! Create Web Apps You Can Draw On with Silverlight 2&lt;/strong&gt;&lt;/a&gt;] said that "&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwww.atalasoft.com%2fcs%2fblogs%2floufranco%2farchive%2f2008%2f08%2f06%2fjulia-lerman-show-how-to-ink-on-the-web.aspx"" target="_blank"&gt;It's
one of the more compelling arguments I've seen for Silverlight."&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
And coincidentally, I was asked to do a presentation on Annotation in Silverlight
2.0 tonight. Funny how I assumed they would request an EF talk. &lt;img alt=";-)" src="smilies/wink.gif"&gt; 
&lt;/p&gt;
&lt;p&gt;
I have a &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2f2008%2f08%2f02%2fDrawingInSilverlightArticleInMSDNMagazine.aspx"" target="_blank"&gt;demo
app on my website&lt;/a&gt; if you're curious to see this technology in action.
&lt;/p&gt;
&lt;p&gt;
And for some reason, my code download for the MSDN article is still not online on
the MSDN site even though they got it before the article ever went online. Apparently,
somebody has been on a nice long summer vacation.
&lt;/p&gt;
&lt;p&gt;
If it's not up there in the next few days, I'll just put it on my own web site. It's
a big download because it has embedded images.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=7db655ac-35a3-4546-a396-2ab5ee8d1ed5" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,7db655ac-35a3-4546-a396-2ab5ee8d1ed5.aspx</comments>
      <category>INETA</category>
      <category>Silverlight</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=12265605-0d03-435e-b152-8d3846aa650e</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,12265605-0d03-435e-b152-8d3846aa650e.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,12265605-0d03-435e-b152-8d3846aa650e.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=12265605-0d03-435e-b152-8d3846aa650e</wfw:commentRss>
      <title>Are you using OpenID?</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,12265605-0d03-435e-b152-8d3846aa650e.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/09/01/AreYouUsingOpenID.aspx</link>
      <pubDate>Mon, 01 Sep 2008 18:00:57 GMT</pubDate>
      <description>&lt;p&gt;
I finally discovered OpenID when I wanted to leave a comment on a friend's blogspot
blog. Google has recently adopted it. &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=12265605-0d03-435e-b152-8d3846aa650e&amp;amp;url=http%3a%2f%2fblogs.devsource.com%2fdevlife%2fcontent%2fdaily_work%2fare_you_using_openid_1.html"" target="_blank"&gt;Read
more about this open source service that lets you have one login identity which you
can use on thousands of websites.&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
[A New Devlife Post]
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=12265605-0d03-435e-b152-8d3846aa650e" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,12265605-0d03-435e-b152-8d3846aa650e.aspx</comments>
      <category>Just Rambling</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=289b65c9-655a-4049-8d1c-c12b1819b0f5</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,289b65c9-655a-4049-8d1c-c12b1819b0f5.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,289b65c9-655a-4049-8d1c-c12b1819b0f5.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=289b65c9-655a-4049-8d1c-c12b1819b0f5</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Well, I never moved that sunflower that probably came from a seed in the nearby 
<br />
bird feeder and it actually turned into the real thing! When it was really rainy there 
<br />
were actually sunflowers sprouting in one of the bird feeder that you can see through<br />
as it has plexiglass sides. It was pretty funny but I neglected to get a picture and
now they're gone.
</p>
        <p>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2fhanging%2520sunflower_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="774" alt="hanging sunflower" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/hanging%20sunflower_thumb.jpg" width="493" border="0" />
          </a>
        </p>
        <p>
Here are some gratuitous pics of the front garden with the late afternoon sun washing
out the house.
</p>
        <p>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2faug%2520flowers%2520002%2520(Small)_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="aug flowers 002 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/aug%20flowers%20002%20(Small)_thumb.jpg" width="644" border="0" />
          </a>
        </p>
        <p>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2faug%2520flowers%2520003%2520(Small)_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="aug flowers 003 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/aug%20flowers%20003%20(Small)_thumb.jpg" width="644" border="0" />
          </a>
        </p>
        <p>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2faug%2520flowers%2520004%2520(Small)_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="aug flowers 004 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/aug%20flowers%20004%20(Small)_thumb.jpg" width="644" border="0" />
          </a>
        </p>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5" />
      </body>
      <title>The accidental sunflower</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,289b65c9-655a-4049-8d1c-c12b1819b0f5.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/31/TheAccidentalSunflower.aspx</link>
      <pubDate>Sun, 31 Aug 2008 23:00:36 GMT</pubDate>
      <description>&lt;p&gt;
Well, I never moved that sunflower that probably came from a seed in the nearby 
&lt;br&gt;
bird feeder and it actually turned into the real thing! When it was really rainy there 
&lt;br&gt;
were actually sunflowers sprouting in one of the bird feeder that you can see through&lt;br&gt;
as it has plexiglass sides. It was pretty funny but I neglected to get a picture and
now they're gone.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2fhanging%2520sunflower_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="774" alt="hanging sunflower" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/hanging%20sunflower_thumb.jpg" width="493" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
Here are some gratuitous pics of the front garden with the late afternoon sun washing
out the house.
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2faug%2520flowers%2520002%2520(Small)_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="aug flowers 002 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/aug%20flowers%20002%20(Small)_thumb.jpg" width="644" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2faug%2520flowers%2520003%2520(Small)_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="aug flowers 003 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/aug%20flowers%20003%20(Small)_thumb.jpg" width="644" border="0"&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fTheaccidentalsunflower_10B8D%2faug%2520flowers%2520004%2520(Small)_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="484" alt="aug flowers 004 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/Theaccidentalsunflower_10B8D/aug%20flowers%20004%20(Small)_thumb.jpg" width="644" border="0"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=289b65c9-655a-4049-8d1c-c12b1819b0f5" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,289b65c9-655a-4049-8d1c-c12b1819b0f5.aspx</comments>
      <category>Vermont</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=6b73bea3-3696-4a37-bae7-ba9d28b96d3b</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,6b73bea3-3696-4a37-bae7-ba9d28b96d3b.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,6b73bea3-3696-4a37-bae7-ba9d28b96d3b.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=6b73bea3-3696-4a37-bae7-ba9d28b96d3b</wfw:commentRss>
      <title>EF Business Classes in ASP.NET Apps - Don't pass that query around!</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,6b73bea3-3696-4a37-bae7-ba9d28b96d3b.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/31/EFBusinessClassesInASPNETAppsDontPassThatQueryAround.aspx</link>
      <pubDate>Sun, 31 Aug 2008 13:05:06 GMT</pubDate>
      <description>&lt;p&gt;
Here's a little sidebar from my book that I think is pretty important.
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;strong&gt;Return Results, not Queries from the Business classes&lt;/strong&gt; 
&lt;p&gt;
While you can get away with binding a query when working directly in the code behind
of an ASP.NET page, remember that the query’s job is to be executed and return results.
Query execution requires an ObjectContext. If you returned the query itself from a
business class, it will be detached from the context as soon as the business object
is disposed (the business object, in turn, disposes the context) and you are very
likely to get an exception when the query attempts to execute. If it is bound directly
to a data binding control, that execution won't occur until the control is being rendered
at which time the business object could be long gone. So in the business class, be
sure to return results, not queries, and you wont' have to worry about how the methods
are being used. 
&lt;p&gt;
An additional benefit is that by executing the query and forcing the results to be
iterated through (using foreach, First, ToList, etc), when the iteration is complete,
the EntityConnection and its database connection are disposed. Therefore you won’t
have to think twice about the database connection, which is an unmanaged resource.
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=6b73bea3-3696-4a37-bae7-ba9d28b96d3b&amp;amp;url=http%3a%2f%2fprogrammingentityframework.com"" target="_blank"&gt;&lt;img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="189" alt="efbookcover" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/EFBusines.NETAppsDontpassthatqueryaround_801E/efbookcover_3.jpg" width="189" border="0"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=6b73bea3-3696-4a37-bae7-ba9d28b96d3b" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,6b73bea3-3696-4a37-bae7-ba9d28b96d3b.aspx</comments>
      <category>Book</category>
      <category>Data Access</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=961147fd-cece-455b-a3d7-2323abbeb45c</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,961147fd-cece-455b-a3d7-2323abbeb45c.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,961147fd-cece-455b-a3d7-2323abbeb45c.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=961147fd-cece-455b-a3d7-2323abbeb45c</wfw:commentRss>
      <slash:comments>4</slash:comments>
      <title>Watching Gustav from Vermont</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,961147fd-cece-455b-a3d7-2323abbeb45c.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/31/WatchingGustavFromVermont.aspx</link>
      <pubDate>Sun, 31 Aug 2008 00:06:57 GMT</pubDate>
      <description>&lt;p&gt;
I'm safely tucked away in Vermont where we'll probably just get some good rainstorms
as Gustav breaks up. But a lot of people who are at a very safe distance are still
watching and worrying for everyone who is in its potential path. I cannot even imagine
how terrifying it must be to be to anticipate this again after living through Katrina.
While everyone is trying to get out of the way, I was happy to see this in the local
paper this afternoon:
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=961147fd-cece-455b-a3d7-2323abbeb45c&amp;amp;url=http%3a%2f%2fwww.burlingtonfreepress.com%2fapps%2fpbcs.dll%2farticle%3fAID%3d%2f20080830%2fNEWS%2f80830006"" target="_blank"&gt;Eleven
Vermont ambulances raced to the Gulf Coast on Saturday&lt;/a&gt; to ready for Hurricane
Gustav, which has killed more than 80 people in the Caribbean and is due to make landfall
early Tuesday morning along Louisiana’s coast.&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
We've got two spare bedrooms if any of you Gulf Coast geeks are looking to get FAR
FAR away ...and we're dog friendly.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=961147fd-cece-455b-a3d7-2323abbeb45c" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,961147fd-cece-455b-a3d7-2323abbeb45c.aspx</comments>
      <category>Vermont</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=8ec698e1-e67d-4097-8234-a671b2cac155</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,8ec698e1-e67d-4097-8234-a671b2cac155.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,8ec698e1-e67d-4097-8234-a671b2cac155.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=8ec698e1-e67d-4097-8234-a671b2cac155</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <em>For some background, check out a previous post called "</em>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=8ec698e1-e67d-4097-8234-a671b2cac155&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2f2007%2f09%2f11%2fEntityDataModelAssociationsWheresMyForeignKey.aspx">
            <em>Where's
my Foreign Key?"</em>
          </a>
        </p>
        <p>
I came across a scenario where I have a foreign key for an entity in the form of an
ID. And the scenario is in a web page. I need to turn that ID into an EntityReference,
but I don't think that it's fair to ask the UI developer to know enough about EF that
they should have to know how to create an EntityKey, much less know about EntityReferences.
</p>
        <p>
Rather than force them to pass the ID up to the business layer, I finally gave in
added foreign key support into the entities that I'm using in this web solution.
</p>
        <p>
I've also gotten sick of having to write this code in many other places where I am
creating relationships through EntityReferences. Especially when I make typos and
then get <a href="http://www.thedatafarm.com/blog/ct.ashx?id=8ec698e1-e67d-4097-8234-a671b2cac155&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2f2008%2f08%2f29%2fEntityKeysAreCaseSensitive.aspx">this
error at runtime</a>.
</p>
        <p>
Rather than futz around with a generic solution, I just manually created these keys
in the partial classes for my entities.
</p>
        <p>
As long as I was setting the EntityReference, I thought I would let the property provide
the key on demand as well.
</p>
        <p>
Here's an example from the Address class.
</p>
        <blockquote>
          <pre class="csharpcode">
            <span class="kwrd">Public</span>
            <span class="kwrd">Property</span> ContactID() <span class="kwrd">As</span><span class="kwrd">Integer</span><span class="kwrd">Get</span><span class="kwrd">If</span> ContactReference.EntityKey.EntityKeyValues.Count
&gt; 0 <span class="kwrd">Then</span><span class="kwrd">Return</span><span class="kwrd">CType</span>(ContactReference.EntityKey.EntityKeyValues(0).Value, <span class="kwrd">Integer</span>) <span class="kwrd">Else</span><span class="kwrd">Return</span><span class="kwrd">Nothing</span><span class="kwrd">End</span><span class="kwrd">If</span><span class="kwrd">End</span><span class="kwrd">Get</span><span class="kwrd">Set</span>(<span class="kwrd">ByVal</span> value <span class="kwrd">As</span><span class="kwrd">Integer</span>) <span class="kwrd">If</span> value
&gt; 0 <span class="kwrd">Then</span> ContactReference.EntityKey = <span class="kwrd">New</span> EntityKey(<span class="str">"myEntities.Contacts"</span>, <span class="str">"ContactID"</span>,
value) <span class="kwrd">End</span><span class="kwrd">If</span><span class="kwrd">End</span><span class="kwrd">Set</span><span class="kwrd">End</span> Property</pre>
        </blockquote>
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=8ec698e1-e67d-4097-8234-a671b2cac155" />
      </body>
      <title>More on Foreign Keys in EF</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,8ec698e1-e67d-4097-8234-a671b2cac155.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/30/MoreOnForeignKeysInEF.aspx</link>
      <pubDate>Sat, 30 Aug 2008 19:20:25 GMT</pubDate>
      <description>&lt;p&gt;
&lt;em&gt;For some background, check out a previous post called "&lt;/em&gt;&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=8ec698e1-e67d-4097-8234-a671b2cac155&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2f2007%2f09%2f11%2fEntityDataModelAssociationsWheresMyForeignKey.aspx"&gt;&lt;em&gt;Where's
my Foreign Key?"&lt;/em&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
I came across a scenario where I have a foreign key for an entity in the form of an
ID. And the scenario is in a web page. I need to turn that ID into an EntityReference,
but I don't think that it's fair to ask the UI developer to know enough about EF that
they should have to know how to create an EntityKey, much less know about EntityReferences.
&lt;/p&gt;
&lt;p&gt;
Rather than force them to pass the ID up to the business layer, I finally gave in
added foreign key support into the entities that I'm using in this web solution.
&lt;/p&gt;
&lt;p&gt;
I've also gotten sick of having to write this code in many other places where I am
creating relationships through EntityReferences. Especially when I make typos and
then get &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=8ec698e1-e67d-4097-8234-a671b2cac155&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2f2008%2f08%2f29%2fEntityKeysAreCaseSensitive.aspx"&gt;this
error at runtime&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Rather than futz around with a generic solution, I just manually created these keys
in the partial classes for my entities.
&lt;/p&gt;
&lt;p&gt;
As long as I was setting the EntityReference, I thought I would let the property provide
the key on demand as well.
&lt;/p&gt;
&lt;p&gt;
Here's an example from the Address class.
&lt;/p&gt;
&lt;blockquote&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;Public&lt;/span&gt; &lt;span class="kwrd"&gt;Property&lt;/span&gt; ContactID() &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Integer&lt;/span&gt; &lt;span class="kwrd"&gt;Get&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt; ContactReference.EntityKey.EntityKeyValues.Count
&amp;gt; 0 &lt;span class="kwrd"&gt;Then&lt;/span&gt; &lt;span class="kwrd"&gt;Return&lt;/span&gt; &lt;span class="kwrd"&gt;CType&lt;/span&gt;(ContactReference.EntityKey.EntityKeyValues(0).Value, &lt;span class="kwrd"&gt;Integer&lt;/span&gt;) &lt;span class="kwrd"&gt;Else&lt;/span&gt; &lt;span class="kwrd"&gt;Return&lt;/span&gt; &lt;span class="kwrd"&gt;Nothing&lt;/span&gt; &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt; &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Get&lt;/span&gt; &lt;span class="kwrd"&gt;Set&lt;/span&gt;(&lt;span class="kwrd"&gt;ByVal&lt;/span&gt; value &lt;span class="kwrd"&gt;As&lt;/span&gt; &lt;span class="kwrd"&gt;Integer&lt;/span&gt;) &lt;span class="kwrd"&gt;If&lt;/span&gt; value
&amp;gt; 0 &lt;span class="kwrd"&gt;Then&lt;/span&gt; ContactReference.EntityKey = &lt;span class="kwrd"&gt;New&lt;/span&gt; EntityKey(&lt;span class="str"&gt;"myEntities.Contacts"&lt;/span&gt;, &lt;span class="str"&gt;"ContactID"&lt;/span&gt;,
value) &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;If&lt;/span&gt; &lt;span class="kwrd"&gt;End&lt;/span&gt; &lt;span class="kwrd"&gt;Set&lt;/span&gt; &lt;span class="kwrd"&gt;End&lt;/span&gt; Property&lt;/pre&gt;
&lt;/blockquote&gt; &lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=8ec698e1-e67d-4097-8234-a671b2cac155" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,8ec698e1-e67d-4097-8234-a671b2cac155.aspx</comments>
      <category>Data Access</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3</wfw:commentRss>
      <title>NY Times article about multi-touch...but where's the Surface?</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/30/NYTimesArticleAboutMultitouchbutWheresTheSurface.aspx</link>
      <pubDate>Sat, 30 Aug 2008 00:14:24 GMT</pubDate>
      <description>&lt;p&gt;
Last Sunday's NY Times contained an article about multi-touch displays. "&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3&amp;amp;url=http%3a%2f%2fwww.nytimes.com%2f2008%2f08%2f24%2ftechnology%2f24proto.html"" target="_blank"&gt;Turning
Point for Touch Screens&lt;/a&gt;", which talks about iPhones, Dells' new Latitude and interviews
the CEO of WACOM, who put the tablet in tabletpc.
&lt;/p&gt;
&lt;p&gt;
But the only mention of Microsoft was when talking about the lack of software:
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
&lt;em&gt;That could change if &lt;/em&gt;&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3&amp;amp;url=http%3a%2f%2ftopics.nytimes.com%2ftop%2fnews%2fbusiness%2fcompanies%2fmicrosoft_corporation%2findex.html%3finline%3dnyt-org"&gt;&lt;em&gt;Microsoft&lt;/em&gt;&lt;/a&gt;&lt;em&gt; delivers
on multitouch technology that it has demonstrated and says will be in Windows 7, the
next version of Windows, due in 2010. Such a move could galvanize software developers.
Microsoft might also be able to spearhead a software standard that makes it easier
for touch-enabled applications to work on the myriad kinds of touch technology.&lt;/em&gt;
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Granted it's not a household item, but I was surprised that not one word was mentioned
about Surface computing. This is multi-touch on a big scale with the benefits of WPF
and oh so much more behind it. And it's a pretty nice prototype for laptops. Although
it's more globally comprehended if I describe a Surface as a giant iPhone, I prefer
to refer to iPhone as a mini-Surface. &lt;img alt=":-)" src="smilies/happy.gif"&gt;
&lt;/p&gt;
&lt;p&gt;
The Surface computing team already has an SDK - the beginnings of that software standard?&amp;nbsp;
Here is the &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3&amp;amp;url=http%3a%2f%2fblogs.msdn.com%2fsurface"" target="_blank"&gt;Surface
team's blog&lt;/a&gt; if you are interested in the development side.
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fNYTimesarticleaboutm.butwherestheSurface_11CFA%2fScreen_SnowBoard_00006%2520(Small)_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="483" alt="Screen_SnowBoard_00006 (Small)" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/NYTimesarticleaboutm.butwherestheSurface_11CFA/Screen_SnowBoard_00006%20(Small)_thumb.jpg" width="644" border="0"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,bb2f8a09-1d6e-4fa4-b3ce-723c06bdc1f3.aspx</comments>
      <category>Tablet</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=ad16fe32-af16-4c16-afcb-e71b6bf88958</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,ad16fe32-af16-4c16-afcb-e71b6bf88958.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,ad16fe32-af16-4c16-afcb-e71b6bf88958.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=ad16fe32-af16-4c16-afcb-e71b6bf88958</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you create an Entity Key on the fly:
</p>
        <blockquote>
          <pre class="csharpcode">
            <span class="kwrd">dim</span> ekey=<span class="kwrd">New</span> EntityKey(<span class="str">"NWentities.Customer"</span>,<span class="str">"customerID"</span>,1234)</pre>
        </blockquote>
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <p>
then add it to an object
</p>
        <blockquote>
          <pre class="csharpcode">cust.EntityKey=ekey</pre>
        </blockquote>
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <p>
and then try to Attach the object to a context
</p>
        <blockquote>
          <pre class="csharpcode">cust.EntityKey=ekey</pre>
        </blockquote>
        <style type="text/css">.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
</style>
        <p>
and you get this error message
</p>
        <blockquote>
          <p>
The member with identity 'NWentities does not exist in the metadata collection.<br />
Parameter name: identity
</p>
        </blockquote>
        <p>
It's telling you that you have NWentities improperly cased. In my model, it's really
NWEntities. 
</p>
        <p>
If you get this error message, 
</p>
        <blockquote>
          <p>
The required entry ''customerID' was not found in the provided input. This entry is
required by the key fields defined on type 'NWModel.Customer'
</p>
        </blockquote>
        <p>
then the issue is that the  property name is cased incorrectly.
</p>
        <p>
You can only guess how long it took me to figure that out. Hopefully this will help
someone doing a google search in the future.
</p>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=ad16fe32-af16-4c16-afcb-e71b6bf88958" />
      </body>
      <title>EntityKeys are case sensitive</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,ad16fe32-af16-4c16-afcb-e71b6bf88958.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/29/EntityKeysAreCaseSensitive.aspx</link>
      <pubDate>Fri, 29 Aug 2008 16:14:33 GMT</pubDate>
      <description>&lt;p&gt;
If you create an Entity Key on the fly:
&lt;/p&gt;
&lt;blockquote&gt;&lt;pre class="csharpcode"&gt;&lt;span class="kwrd"&gt;dim&lt;/span&gt; ekey=&lt;span class="kwrd"&gt;New&lt;/span&gt; EntityKey(&lt;span class="str"&gt;"NWentities.Customer"&lt;/span&gt;,&lt;span class="str"&gt;"customerID"&lt;/span&gt;,1234)&lt;/pre&gt;
&lt;/blockquote&gt; &lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&lt;p&gt;
then add it to an object
&lt;/p&gt;
&lt;blockquote&gt;&lt;pre class="csharpcode"&gt;cust.EntityKey=ekey&lt;/pre&gt;
&lt;/blockquote&gt; &lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&lt;p&gt;
and then try to Attach the object to a context
&lt;/p&gt;
&lt;blockquote&gt;&lt;pre class="csharpcode"&gt;cust.EntityKey=ekey&lt;/pre&gt;
&lt;/blockquote&gt; &lt;style type="text/css"&gt;.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }
&lt;/style&gt;
&lt;p&gt;
and you get this error message
&lt;/p&gt;
&lt;blockquote&gt; 
&lt;p&gt;
The member with identity 'NWentities does not exist in the metadata collection.&lt;br&gt;
Parameter name: identity
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
It's telling you that you have NWentities improperly cased. In my model, it's really
NWEntities. 
&lt;p&gt;
If you get this error message, &lt;blockquote&gt; 
&lt;p&gt;
The required entry ''customerID' was not found in the provided input. This entry is
required by the key fields defined on type 'NWModel.Customer'
&lt;/p&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
then the issue is that the&amp;nbsp; property name is cased incorrectly.
&lt;/p&gt;
&lt;p&gt;
You can only guess how long it took me to figure that out. Hopefully this will help
someone doing a google search in the future.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=ad16fe32-af16-4c16-afcb-e71b6bf88958" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,ad16fe32-af16-4c16-afcb-e71b6bf88958.aspx</comments>
      <category>Data Access</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=965af74c-b9f6-4a72-a5ed-c60f98762345</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,965af74c-b9f6-4a72-a5ed-c60f98762345.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,965af74c-b9f6-4a72-a5ed-c60f98762345.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=965af74c-b9f6-4a72-a5ed-c60f98762345</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>Congrats to IdeaBlade for the release of DevForce with Entity Framework</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,965af74c-b9f6-4a72-a5ed-c60f98762345.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/29/CongratsToIdeaBladeForTheReleaseOfDevForceWithEntityFramework.aspx</link>
      <pubDate>Fri, 29 Aug 2008 11:48:59 GMT</pubDate>
      <description>&lt;p&gt;
This just popped into my inbox. IdeaBlade has released their EF version of DevForce. &lt;blockquote&gt; 
&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=965af74c-b9f6-4a72-a5ed-c60f98762345&amp;amp;url=http%3a%2f%2fwww.ideablade.com%2f"" target="_blank"&gt;DevForce
EF&lt;/a&gt; is our latest product supporting Microsoft's LINQ and the Entity Framework.&amp;nbsp;
It carries forward most of the features and all of our experience from DevForce Classic
dating back to 2001.&amp;nbsp; 
&lt;p&gt;
&lt;em&gt;Why so special?&lt;/em&gt; 
&lt;ul&gt;
&lt;li&gt;
Full N-tier support for the Entity Framework (Entity Framework itself is only 2-tier) 
&lt;li&gt;
LINQ for all your queries 
&lt;li&gt;
High performance with client-side caching and asynchronous queries 
&lt;li&gt;
Improved code generation and model management 
&lt;li&gt;
Take the next step towards Silverlight - DevForce EF business objects are reusable
in our upcoming Silverlight product&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt; 
&lt;p&gt;
Sure sounds tempting!
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=965af74c-b9f6-4a72-a5ed-c60f98762345" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,965af74c-b9f6-4a72-a5ed-c60f98762345.aspx</comments>
      <category>Data Access</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=f2d54529-5db5-4764-8353-564aaebe0fa3</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,f2d54529-5db5-4764-8353-564aaebe0fa3.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,f2d54529-5db5-4764-8353-564aaebe0fa3.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=f2d54529-5db5-4764-8353-564aaebe0fa3</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Because my development machine crashed and burned last week, I had to build up a new
box and decided to finally take the 64-bit plunge. Read more here: <a href="http://www.thedatafarm.com/blog/ct.ashx?id=f2d54529-5db5-4764-8353-564aaebe0fa3&amp;url=http%3a%2f%2fblogs.devsource.com%2fdevlife%2fcontent%2fdaily_work%2fmy_first_64bit_computer_1.html">My
first 64-bit computer</a></p>
        <p>
 
</p>
        <p>
[A new DevLife post]
</p>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=f2d54529-5db5-4764-8353-564aaebe0fa3" />
      </body>
      <title>My first 64-bit computer</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,f2d54529-5db5-4764-8353-564aaebe0fa3.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/28/MyFirst64bitComputer.aspx</link>
      <pubDate>Thu, 28 Aug 2008 15:14:11 GMT</pubDate>
      <description>&lt;p&gt;
Because my development machine crashed and burned last week, I had to build up a new
box and decided to finally take the 64-bit plunge. Read more here: &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=f2d54529-5db5-4764-8353-564aaebe0fa3&amp;amp;url=http%3a%2f%2fblogs.devsource.com%2fdevlife%2fcontent%2fdaily_work%2fmy_first_64bit_computer_1.html"&gt;My
first 64-bit computer&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
[A new DevLife post]
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=f2d54529-5db5-4764-8353-564aaebe0fa3" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,f2d54529-5db5-4764-8353-564aaebe0fa3.aspx</comments>
      <category>Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=e5118219-9d28-4427-bdfe-fe398d62f353</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,e5118219-9d28-4427-bdfe-fe398d62f353.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,e5118219-9d28-4427-bdfe-fe398d62f353.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=e5118219-9d28-4427-bdfe-fe398d62f353</wfw:commentRss>
      <title>Red Gate acquires Lutz Roeder's Reflector</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,e5118219-9d28-4427-bdfe-fe398d62f353.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/28/RedGateAcquiresLutzRoedersReflector.aspx</link>
      <pubDate>Thu, 28 Aug 2008 14:19:40 GMT</pubDate>
      <description>&lt;p&gt;
I just happened to discover this as I was setting up my new machine and grabbing &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=e5118219-9d28-4427-bdfe-fe398d62f353&amp;amp;url=http%3a%2f%2fwww.red-gate.com%2fproducts%2freflector%2f"" target="_blank"&gt;Reflector&lt;/a&gt; off
of the web.
&lt;/p&gt;
&lt;p&gt;
It only happened a week ago.
&lt;/p&gt;
&lt;p&gt;
There will still be a free community version but &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=e5118219-9d28-4427-bdfe-fe398d62f353&amp;amp;url=http%3a%2f%2fwww.red-gate.com"" target="_blank"&gt;Red
Gate&lt;/a&gt; will be able to put additional resources behind enhancing this tool that
we can't live without.
&lt;/p&gt;
&lt;p&gt;
You can read an with &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=e5118219-9d28-4427-bdfe-fe398d62f353&amp;amp;url=http%3a%2f%2fwww.lutzroeder.com%2f"" target="_blank"&gt;Lutz
Roeder&lt;/a&gt; and Red Gate's James Moore in this Simple-Talk article, &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=e5118219-9d28-4427-bdfe-fe398d62f353&amp;amp;url=http%3a%2f%2fwww.simple-talk.com%2fopinion%2fopinion-pieces%2fthe-future-of-reflector-%2f"" target="_blank"&gt;The
Future of Reflector&lt;/a&gt;. (Simple-Talk is a Red Gate site.)
&lt;/p&gt;
&lt;p&gt;
When asked if he will be involved, Lutz replies: "I will be using Reflector and I’m
sure I will be emailing James every so often asking for new features.” LOL. I guess
that means he will be a user like the rest of us. &lt;img alt=":-)" src="smilies/happy.gif"&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=e5118219-9d28-4427-bdfe-fe398d62f353" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,e5118219-9d28-4427-bdfe-fe398d62f353.aspx</comments>
      <category>Tools</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=73d21b81-fbb0-44e4-b0fc-724d639fb7a0</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,73d21b81-fbb0-44e4-b0fc-724d639fb7a0.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,73d21b81-fbb0-44e4-b0fc-724d639fb7a0.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=73d21b81-fbb0-44e4-b0fc-724d639fb7a0</wfw:commentRss>
      <slash:comments>1</slash:comments>
      <title>App Gap is Mine!</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,73d21b81-fbb0-44e4-b0fc-724d639fb7a0.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/28/AppGapIsMine.aspx</link>
      <pubDate>Thu, 28 Aug 2008 13:20:35 GMT</pubDate>
      <description>&lt;p&gt;
I finally did it. Late yesterday afternoon I had to get away from the computer so
I hopped on my bike and headed south. I thought I would try, yet again, to see if
I could &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=73d21b81-fbb0-44e4-b0fc-724d639fb7a0&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2f2008%2f07%2f28%2fAppGapChallengeAlmost.aspx"" target="_blank"&gt;get
up the App Gap again&lt;/a&gt;. Having gotten past the first of two critical points last
time, I knew exactly what to expect; so when it got extra hard, I knew that it would
let up around the next bend. To make a long story short - I MADE IT! When I pushed
past the place I gave up last time, I had my head down and was focused on staying
upright (that gets hard when you are going 3 mph LOL) and the next time I looked up
I was astonished to see that I was just a hundred feet from the parking spot. 
&lt;/p&gt;
&lt;p&gt;
Thanks Andrew (who I know will read this) for your advice. I kept my butt in the saddle
the entire time until I saw the parking spot, then I got up and used the rest of it
up (just because I could).
&lt;/p&gt;
&lt;p&gt;
Plus I *did* suck down a ClifShot before I left; but since it took me 17 minutes just
to get to the start of the climb, I think that was long gone by the time I got to
the hard stuff. 
&lt;/p&gt;
&lt;p&gt;
What a great feeling. I was definitely drained and sat on a rock admiring the amazing
view for about 15 minutes before heading down. It's scary and dangerous going down
and I didn't want to do that when I was a little shaky and lightheaded. Which I was.
Stupid me only bringing water rather than something like Gatorade to put some electrolytes
back in my body.
&lt;/p&gt;
&lt;p&gt;
I actually LOVE to go fast and when the road isn't windy with hairpin turns I go for
it. It's one of the few times that my excess baggage is a benefit. (I discovered another
benefit on a tour through the colorado rockies years ago during a bad rain storm.
All of those skinny people were getting hypothermia but not me!) But I definitely
brake most of the way down this road. A few weeks ago a bright young star in the cycling
world who we are all SO proud of - &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=73d21b81-fbb0-44e4-b0fc-724d639fb7a0&amp;amp;url=http%3a%2f%2fwww.google.com%2fsearch%3fhl%3den%26q%3dAnders%2bNewbury"" target="_blank"&gt;Anders
Newbury&lt;/a&gt; , crashed and broke his hip coming down. I kept thinking about that as
I descended.
&lt;/p&gt;
&lt;p&gt;
Anyway, now I know I can do it. Which means I can plan rides that go in that direction.
Maybe next I'll try one of &lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=73d21b81-fbb0-44e4-b0fc-724d639fb7a0&amp;amp;url=http%3a%2f%2fblog.andrewknight.com%2f"" target="_blank"&gt;Andrew
Knight's&lt;/a&gt; App Gap Ping Pong rides, since the other side is "easier". I remember
when Andrew "discovered" that he likes to climb and was pretty amazing at it. Heh.
&lt;/p&gt;
&lt;p&gt;
So I wouldn't say I &lt;em&gt;dominated&lt;/em&gt; the mountain, but I did make it to the top...somehow.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=73d21b81-fbb0-44e4-b0fc-724d639fb7a0" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,73d21b81-fbb0-44e4-b0fc-724d639fb7a0.aspx</comments>
      <category>Purely Personal</category>
    </item>
    <item>
      <trackback:ping>http://www.thedatafarm.com/blog/Trackback.aspx?guid=80c16e2f-260b-4dc2-bae1-c50b7d725e27</trackback:ping>
      <pingback:server>http://www.thedatafarm.com/blog/pingback.aspx</pingback:server>
      <pingback:target>http://www.thedatafarm.com/blog/PermaLink,guid,80c16e2f-260b-4dc2-bae1-c50b7d725e27.aspx</pingback:target>
      <dc:creator>Julie Lerman</dc:creator>
      <wfw:comment>http://www.thedatafarm.com/blog/CommentView,guid,80c16e2f-260b-4dc2-bae1-c50b7d725e27.aspx</wfw:comment>
      <wfw:commentRss>http://www.thedatafarm.com/blog/SyndicationService.asmx/GetEntryCommentsRss?guid=80c16e2f-260b-4dc2-bae1-c50b7d725e27</wfw:commentRss>
      <slash:comments>2</slash:comments>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://www.thedatafarm.com/blog/ct.ashx?id=80c16e2f-260b-4dc2-bae1-c50b7d725e27&amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fGuesswhattheTopSearchPhraseisformydomain_1233C%2ftopsearch_2.jpg">
            <img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height="206" alt="topsearch" src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/GuesswhattheTopSearchPhraseisformydomain_1233C/topsearch_thumb.jpg" width="185" border="0" />
          </a>
        </p>
        <p>
In the past 7 days "<a href="http://www.thedatafarm.com/blog/ct.ashx?id=80c16e2f-260b-4dc2-bae1-c50b7d725e27&amp;url=http%3a%2f%2fwww.nhibernate.org">NHibernate
2.0</a>" brought more traffic to my web site than any other. Oh the irony. <img alt=";-)" src="smilies/wink.gif" /></p>
        <img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=80c16e2f-260b-4dc2-bae1-c50b7d725e27" />
      </body>
      <title>Guess what the Top Search Phrase is for my domain?</title>
      <guid isPermaLink="false">http://www.thedatafarm.com/blog/PermaLink,guid,80c16e2f-260b-4dc2-bae1-c50b7d725e27.aspx</guid>
      <link>http://www.thedatafarm.com/blog/2008/08/27/GuessWhatTheTopSearchPhraseIsForMyDomain.aspx</link>
      <pubDate>Wed, 27 Aug 2008 00:41:06 GMT</pubDate>
      <description>&lt;p&gt;
&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=80c16e2f-260b-4dc2-bae1-c50b7d725e27&amp;amp;url=http%3a%2f%2fwww.thedatafarm.com%2fblog%2fcontent%2fbinary%2fWindowsLiveWriter%2fGuesswhattheTopSearchPhraseisformydomain_1233C%2ftopsearch_2.jpg"&gt;&lt;img style="BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px" height=206 alt=topsearch src="http://www.thedatafarm.com/blog/content/binary/WindowsLiveWriter/GuesswhattheTopSearchPhraseisformydomain_1233C/topsearch_thumb.jpg" width=185 border=0&gt;&lt;/a&gt; 
&lt;/p&gt;
&lt;p&gt;
In the past 7 days "&lt;a href="http://www.thedatafarm.com/blog/ct.ashx?id=80c16e2f-260b-4dc2-bae1-c50b7d725e27&amp;amp;url=http%3a%2f%2fwww.nhibernate.org"&gt;NHibernate
2.0&lt;/a&gt;" brought more traffic to my web site than any other. Oh the irony. &lt;img alt=";-)" src="smilies/wink.gif"&gt; 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://www.thedatafarm.com/blog/aggbug.ashx?id=80c16e2f-260b-4dc2-bae1-c50b7d725e27" /&gt;</description>
      <comments>http://www.thedatafarm.com/blog/CommentView,guid,80c16e2f-260b-4dc2-bae1-c50b7d725e27.aspx</comments>
      <category>Just Rambling</category>
    </item>
  </channel>
</rss>