﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: .Net 4.0 Beta 2 Entity Framework &#8211; How To Start</title>
	<atom:link href="http://byatool.com/lessons/net-4-0-beta-2-entity-framework-how-to-start/feed/" rel="self" type="application/rss+xml" />
	<link>http://byatool.com/lessons/net-4-0-beta-2-entity-framework-how-to-start/</link>
	<description>This is my recorded stumbling through ASP.Net, Framework 3.5, C# 3.0, Ajax, Javascript, and Love.  Stay, learn, destroy.  It's your life.</description>
	<lastBuildDate>Wed, 27 Oct 2010 11:58:54 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Rob</title>
		<link>http://byatool.com/lessons/net-4-0-beta-2-entity-framework-how-to-start/comment-page-1/#comment-8641</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Wed, 02 Jun 2010 10:12:45 +0000</pubDate>
		<guid isPermaLink="false">http://byatool.com/?p=1017#comment-8641</guid>
		<description>Thanks very much for the tute. Best one I have seen so far on POCO</description>
		<content:encoded><![CDATA[<p>Thanks very much for the tute. Best one I have seen so far on POCO</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean</title>
		<link>http://byatool.com/lessons/net-4-0-beta-2-entity-framework-how-to-start/comment-page-1/#comment-7403</link>
		<dc:creator>Sean</dc:creator>
		<pubDate>Thu, 18 Mar 2010 15:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://byatool.com/?p=1017#comment-7403</guid>
		<description>&quot;sorry for the dreadful typing and misspellings&quot;

Have you actually read anything on this site?  You should feel at home.</description>
		<content:encoded><![CDATA[<p>&#8220;sorry for the dreadful typing and misspellings&#8221;</p>
<p>Have you actually read anything on this site?  You should feel at home.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://byatool.com/lessons/net-4-0-beta-2-entity-framework-how-to-start/comment-page-1/#comment-7341</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 15 Mar 2010 14:48:33 +0000</pubDate>
		<guid isPermaLink="false">http://byatool.com/?p=1017#comment-7341</guid>
		<description>by the way, sorry for the dreadful typing and misspellings. And thanks for the infor also.</description>
		<content:encoded><![CDATA[<p>by the way, sorry for the dreadful typing and misspellings. And thanks for the infor also.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://byatool.com/lessons/net-4-0-beta-2-entity-framework-how-to-start/comment-page-1/#comment-7340</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 15 Mar 2010 14:47:26 +0000</pubDate>
		<guid isPermaLink="false">http://byatool.com/?p=1017#comment-7340</guid>
		<description>I am using data transfer objects and I came accross the same error &quot;Mapping and metadata information could not be found for EntityType&quot;. my dtos do not share the same names as my entioty objects. instead of renaming them, I did loaded the dto into a new instance of the EF entity:

        public void AddEmployee(EmployeeDto entity)
        {
            employee_test e = new employee_test();
            e.employee_id = entity.EmployeeID;
            e.first_name = entity.FirstName;
            e.last_name = entity.LastName;
            e.active = entity.Active;
            e.application_user = entity.ApplicationUser;

            _service.AddObject(&quot;employee_test&quot;, e);
            _service.SaveChanges();
        }</description>
		<content:encoded><![CDATA[<p>I am using data transfer objects and I came accross the same error &#8220;Mapping and metadata information could not be found for EntityType&#8221;. my dtos do not share the same names as my entioty objects. instead of renaming them, I did loaded the dto into a new instance of the EF entity:</p>
<p>        public void AddEmployee(EmployeeDto entity)<br />
        {<br />
            employee_test e = new employee_test();<br />
            e.employee_id = entity.EmployeeID;<br />
            e.first_name = entity.FirstName;<br />
            e.last_name = entity.LastName;<br />
            e.active = entity.Active;<br />
            e.application_user = entity.ApplicationUser;</p>
<p>            _service.AddObject(&#8220;employee_test&#8221;, e);<br />
            _service.SaveChanges();<br />
        }</p>
]]></content:encoded>
	</item>
</channel>
</rss>

