<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>ADO.NET Entity Framework Extensions</title><link>http://code.msdn.microsoft.com/EFExtensions/Project/ProjectRss.aspx</link><description>The ADO.NET Entity Framework Extensions library includes utilities that make querying stored procedures, creating typed results from DB data readers and state tracking external data much easier in ...</description><item><title>NEW POST: EF 4.0 support</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=2520</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;Will the features of EF extensions be part of EF 4.0 or will it be a separate DLL that works with EF 4.0?&lt;br /&gt; &lt;br /&gt;Thanks,&lt;br /&gt;Yash&lt;br /&gt;
&lt;/div&gt;</description><author>yashgt</author><pubDate>Mon, 09 Nov 2009 04:31:45 GMT</pubDate><guid isPermaLink="false">NEW POST: EF 4.0 support 20091109A</guid></item><item><title>NEW POST: Entity framework access through ODBC</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=2220</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;Can any one let me know what needs to be done to use ADO.NET entity framework using ODBC ?&lt;br /&gt; &lt;br /&gt;Thanks in advance&lt;br /&gt;Venkatesh&lt;br /&gt;
&lt;/div&gt;</description><author>VenkateshSrini</author><pubDate>Wed, 02 Sep 2009 14:13:32 GMT</pubDate><guid isPermaLink="false">NEW POST: Entity framework access through ODBC 20090902P</guid></item><item><title>NEW POST: Using Materializer with dynamic field set</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1957</link><description>&lt;div class="wikidoc"&gt;
I have the same requirement as parheric as descirbed above. I want to use same materializer for all the result sets returned for particular entity. &lt;br /&gt;Some result sets may contain certain columns and other result sets may not contain it. But want to use same materializer for all the result sets instead of &lt;br /&gt;creating new materializer per result set. &lt;br /&gt; &lt;br /&gt;Please provide your feedback on above this.&lt;br /&gt;
&lt;/div&gt;</description><author>Kinnar</author><pubDate>Tue, 18 Aug 2009 07:39:01 GMT</pubDate><guid isPermaLink="false">NEW POST: Using Materializer with dynamic field set 20090818A</guid></item><item><title>NEW POST: Error Materializing Inherited Classes</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=2161</link><description>&lt;div class="wikidoc"&gt;
As an FYI, I finally figured out the issue.  Expression.Bind fails miserably when it is passed a MethodInfo that is from a subclass.&lt;br /&gt; &lt;br /&gt;The fix is to pass it a MemberInfo instead and this doesn't worry about subclassing at all.&lt;br /&gt; &lt;br /&gt;Change line 218 in Materializer.cs from:&lt;br /&gt; &lt;br /&gt;                    memberBinding = Expression.Bind(propertyInfo.GetSetMethod(), CreateGetValueCall(propertyInfo.PropertyType, columnName, ordinal));&lt;br /&gt; &lt;br /&gt;to:&lt;br /&gt; &lt;br /&gt;                    memberBinding = Expression.Bind(propertyInfo, CreateGetValueCall(propertyInfo.PropertyType, columnName, ordinal));&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>dalehirt</author><pubDate>Tue, 18 Aug 2009 01:00:48 GMT</pubDate><guid isPermaLink="false">NEW POST: Error Materializing Inherited Classes 20090818A</guid></item><item><title>NEW POST: Error Materializing Inherited Classes</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=2161</link><description>&lt;div class="wikidoc"&gt;
I am using the Materialize function to map 3 different stored procs into lists.&lt;br /&gt; &lt;br /&gt;1.  Maps a stored proc directly to an EF object.  Yippee it works.&lt;br /&gt; &lt;br /&gt;2.  Maps a stored proc directly to a custom object.  Yippee it works.&lt;br /&gt; &lt;br /&gt;3.  Maps a stored proc directly to a custom object that inherits from an EF object.  FAILS!!!!&lt;br /&gt; &lt;br /&gt;I receive this error when I do:&lt;br /&gt; &lt;br /&gt;System.ArgumentException was unhandled by user code&lt;br /&gt;  Message=&amp;quot;The method 'DDBackup.Components.Data.BackupRequests.set_BackupRequestId' is not a property accessor&amp;quot;&lt;br /&gt;  Source=&amp;quot;System.Core&amp;quot;&lt;br /&gt;  StackTrace:&lt;br /&gt;       at System.Linq.Expressions.Expression.GetProperty(MethodInfo mi)&lt;br /&gt;       at System.Linq.Expressions.Expression.Bind(MethodInfo propertyAccessor, Expression expression)&lt;br /&gt;       at Microsoft.Data.Extensions.Materializer`1.TryCreateMemberBinding(String columnName, Nullable`1 ordinal, MemberBinding&amp;amp; memberBinding) in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\EFExtensions\Materializer.cs:line 218&lt;br /&gt;       at Microsoft.Data.Extensions.Materializer`1.GetDefaultShaper(ReadOnlyCollection`1 fieldNames) in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\EFExtensions\Materializer.cs:line 172&lt;br /&gt;       at Microsoft.Data.Extensions.Materializer`1.InitializeShaper(IDataRecord record) in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\EFExtensions\Materializer.cs:line 134&lt;br /&gt;       at Microsoft.Data.Extensions.Materializer`1.&amp;lt;Materialize&amp;gt;d__a.MoveNext() in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\EFExtensions\Materializer.cs:line 106&lt;br /&gt;       at Microsoft.Data.Extensions.Materializer`1.&amp;lt;Materialize&amp;gt;d__0.MoveNext() in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\EFExtensions\Materializer.cs:line 88&lt;br /&gt;       at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)&lt;br /&gt;       at System.Linq.Enumerable.ToList&lt;a href="http://code.msdn.microsoft.com/EFExtensions/Wiki/View.aspx?title=TSource"&gt;TSource&lt;/a&gt;(IEnumerable`1 source)&lt;br /&gt;       at DDBackup.Components.Model.DDBackupRepository.GetRequestsByStatus(Int32 Id) in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\DDBackup.Components\Model\DDBackupRepository.cs:line 142&lt;br /&gt;       at DDBackup.Models.Views.AdminRequestsViewModel..ctor(RequestStatus status) in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\DDBackup\Models\Views\AdminRequestsViewModel.cs:line 19&lt;br /&gt;       at DDBackup.Controllers.AdminController.Requests(String id) in C:\Users\dalehirt\Documents\DDIT\Dev\Tools\DDBackup\DDBackup\Controllers\AdminController.cs:line 25&lt;br /&gt;       at lambda_method(ExecutionScope , ControllerBase , Object[] )&lt;br /&gt;       at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters)&lt;br /&gt;       at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters)&lt;br /&gt;       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters)&lt;br /&gt;       at System.Web.Mvc.ControllerActionInvoker.&amp;lt;&amp;gt;c&lt;i&gt;_DisplayClassa.&amp;lt;InvokeActionMethodWithFilters&amp;gt;b_&lt;/i&gt;7()&lt;br /&gt;       at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation)&lt;br /&gt;  InnerException: &lt;br /&gt; &lt;br /&gt;The property that it is failing on is a member of the EF object.  So I'm not sure why it would fail there.&lt;br /&gt; &lt;br /&gt;Any and all help is appreciated.  I love the EF Extensions and I do hope they make part of their way into EFv4.&lt;br /&gt; &lt;br /&gt;Dale&lt;br /&gt;
&lt;/div&gt;</description><author>dalehirt</author><pubDate>Mon, 17 Aug 2009 20:50:14 GMT</pubDate><guid isPermaLink="false">NEW POST: Error Materializing Inherited Classes 20090817P</guid></item><item><title>NEW POST: Access to the default shaper </title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1999</link><description>&lt;div class="wikidoc"&gt;
First of all, many thanks for developing these entity framework extensions. Not only are they very useful, but I've learned a lot about the EF while playing with your code too.&lt;br /&gt; &lt;br /&gt;If I understand it correctly, in the Materializer class one can either use the default object shaper, or supply a custom shaper. This is fine, but a little limiting, because in many cases default shaper functionality is almost adequate, but requires just a bit of custom adjustments. For instance, I ran into a situation where I wanted to set EntityKey on a detail entity to point to its master record, but I could find no way to do it other than to provide a completely custom shaper, which is inconvenient considering that the entity had some 50 properties and the default shaper was doing such a good job populating them automatically.&lt;br /&gt; &lt;br /&gt;So my suggestion is either (1) to provide public access to the default shaper, making it possible to define a custom shaper, which would in turn invoke the default shaper to do the bulk of the work, or (2) to augment the Materialize method calls with post-shaper callback handlers, passing DbDataReader and the newly created entity as parameters. The first approach is probably more flexible.&lt;br /&gt;
&lt;/div&gt;</description><author>AnatoliM</author><pubDate>Wed, 08 Jul 2009 17:04:45 GMT</pubDate><guid isPermaLink="false">NEW POST: Access to the default shaper  20090708P</guid></item><item><title>NEW POST: SPROC with Out-parameter</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1978</link><description>&lt;div class="wikidoc"&gt;
Hi!&lt;br /&gt;I am beginning to use EFExtensions, because i need to call SPROCs in my database. All is fine, but i have many SPROC with OUT parameters. Wenn i call a SPROC with EFExtensions i get an exception like this:&lt;br /&gt;Procedure or function 'aSPROC' expects parameter '@aOutParam', which was not supplied. But this parameter is an out-parameter. When i supply this parameter i get nothing returned :-(&lt;br /&gt;How can I achieve this problem?&lt;br /&gt; &lt;br /&gt;Thanks!&lt;br /&gt;
&lt;/div&gt;</description><author>EDVGradl</author><pubDate>Thu, 02 Jul 2009 12:04:47 GMT</pubDate><guid isPermaLink="false">NEW POST: SPROC with Out-parameter 20090702P</guid></item><item><title>NEW POST: Using Materializer with dynamic field set</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1957</link><description>&lt;div class="wikidoc"&gt;
Was hoping to get some guidance for using materializers with dynamic fields returned.&lt;br /&gt; &lt;br /&gt;Calling a proc that returns search results, but depending on the search options, certain columns may/may not be returned in the results set.&lt;br /&gt;Is there a preferred method to populate an entity using a func&amp;lt;t1,t2&amp;gt; without having to create a different materializer for each 'shaped' result set?&lt;br /&gt; &lt;br /&gt;the only 'neat' way that I've found to do this is too pass a idatareader into the constructor of the entity, however I still haven't found a way to detect if a field actually exists in the result set.&lt;br /&gt;
&lt;/div&gt;</description><author>parheric</author><pubDate>Mon, 29 Jun 2009 15:33:40 GMT</pubDate><guid isPermaLink="false">NEW POST: Using Materializer with dynamic field set 20090629P</guid></item><item><title>UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008)</title><link>http://code.msdn.microsoft.com/EFExtensions/Release/ProjectReleases.aspx?ReleaseId=1399</link><description>This updated version of the extensions library targets the Visual Studio 2008 SP1. Changes include&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Helpers simplifying getting and setting key values for EntityReferences.&lt;br /&gt;&lt;br /&gt;2009-22-5 update&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Sample project now available in VB&lt;br /&gt;&lt;br /&gt;2008-12-7 update&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Bug fix&amp;#58; using &amp;#42;ObjectContext.CommandTimeout&amp;#42; in calls to &amp;#42;CreateCommand&amp;#42;.&lt;br /&gt;&amp;#42; Sample project now illustrates use of &amp;#42;EntityReference&amp;#42; properties when materializing results.&lt;br /&gt;&amp;#42; New helper method overloads have been added to support &amp;#42;InvocationExpression&amp;#42; in LINQ queries and expressions.</description><author></author><pubDate>Fri, 22 May 2009 19:27:20 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008) 20090522P</guid></item><item><title>UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008)</title><link>http://code.msdn.microsoft.com/EFExtensions/Release/ProjectReleases.aspx?ReleaseId=1399</link><description>This updated version of the extensions library targets the Visual Studio 2008 SP1. Changes include&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Helpers simplifying getting and setting key values for EntityReferences.&lt;br /&gt;&lt;br /&gt;2008-12-7 update&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Bug fix&amp;#58; using &amp;#42;ObjectContext.CommandTimeout&amp;#42; in calls to &amp;#42;CreateCommand&amp;#42;.&lt;br /&gt;&amp;#42; Sample project now illustrates use of &amp;#42;EntityReference&amp;#42; properties when materializing results.&lt;br /&gt;&amp;#42; New helper method overloads have been added to support &amp;#42;InvocationExpression&amp;#42; in LINQ queries and expressions.</description><author></author><pubDate>Fri, 22 May 2009 19:26:12 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008) 20090522P</guid></item><item><title>NEW POST: How do I install the extension?</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1384</link><description>&lt;div class="wikidoc"&gt;
Sorry, but I don't find how do I install the extension.&lt;br /&gt;Thanks for any help :)&lt;br /&gt;
&lt;/div&gt;</description><author>EAlmeida</author><pubDate>Thu, 26 Feb 2009 16:49:44 GMT</pubDate><guid isPermaLink="false">NEW POST: How do I install the extension? 20090226P</guid></item><item><title>NEW POST: can't get sample to run</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1325</link><description>&lt;div class="wikidoc"&gt;
I run the darn thing and there are NO parameters setup to pass in when you run this.&lt;br /&gt; &lt;br /&gt;I know it's looking for the connectgion string, so I added that as a parameter, but still no luck.&lt;br /&gt; &lt;br /&gt;It would be nice, if for once, when I download an example from Microsoft, it would work...&lt;br /&gt;
&lt;/div&gt;</description><author>balq60</author><pubDate>Thu, 12 Feb 2009 20:15:52 GMT</pubDate><guid isPermaLink="false">NEW POST: can't get sample to run 20090212P</guid></item><item><title>NEW POST: DefaultShaper with EntityKey for </title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1268</link><description>&lt;div class="wikidoc"&gt;
Is it possible to extend the DefaultShaper to include the entitykeys of all relations of an entity?&lt;br /&gt; &lt;br /&gt;thx, emikelsoft&lt;br /&gt;
&lt;/div&gt;</description><author>emikelsoft</author><pubDate>Tue, 03 Feb 2009 21:34:21 GMT</pubDate><guid isPermaLink="false">NEW POST: DefaultShaper with EntityKey for  20090203P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFExtensions/Wiki/View.aspx?title=Home&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
The ADO.NET Entity Framework Extensions library includes utilities that make querying stored procedures, creating typed results from DB data readers and state tracking external data much easier in the Entity Framework. A sample application demonstrates several patterns using these utilities, including stored procedures with multiple result sets, materialization of CLR types, and registering entities in the Entity Framework state manager.
&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Overview
&lt;/h1&gt; &lt;br /&gt;Utilities are included to simplify:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Execution of store commands via the ObjectContext.&lt;/li&gt;&lt;li&gt;Connection lifetime management.&lt;/li&gt;&lt;li&gt;State management of entities from external sources.&lt;/li&gt;&lt;li&gt;Materialization of arbitrary CLR types given a data reader or DB command.&lt;/li&gt;&lt;li&gt;Stored procedure mapping:&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Multiple result sets.&lt;/li&gt;&lt;li&gt;Column renames, polymorphic results and nested structures via the materialization service.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Getting and setting key values for entity references.&lt;/li&gt;&lt;li&gt;Rewrite &lt;b&gt;InvocationExpression&lt;/b&gt;s in LINQ queries and expressions.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h1&gt;
Requirements
&lt;/h1&gt; &lt;br /&gt;Visual Studio 2008 SP1. &lt;br /&gt; &lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/vsts2008/products/cc533447.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/vsts2008/products/cc533447.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Other resources
&lt;/h1&gt; &lt;br /&gt;The following post introduces the EFExtensions API and includes a walkthrough of the sample application:&lt;br /&gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/meek/archive/2008/03/26/ado-entity-framework-stored-procedure-customization.aspx" class="externalLink"&gt;http://blogs.msdn.com/meek/archive/2008/03/26/ado-entity-framework-stored-procedure-customization.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;For additional information on multiple result sets and relationships, see:&lt;br /&gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/meek/archive/2008/12/07/stored-procedures-and-first-class-relationships-in-the-entity-framework.aspx" class="externalLink"&gt;http://blogs.msdn.com/meek/archive/2008/12/07/stored-procedures-and-first-class-relationships-in-the-entity-framework.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;For additional information on &lt;b&gt;InvocationExpression&lt;/b&gt; rewriting, see:&lt;br /&gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/meek/archive/2008/12/07/invocationexpression-and-linq-to-entities.aspx" class="externalLink"&gt;http://blogs.msdn.com/meek/archive/2008/12/07/invocationexpression-and-linq-to-entities.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>cmeek</author><pubDate>Sun, 07 Dec 2008 17:22:50 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20081207P</guid></item><item><title>UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008)</title><link>http://code.msdn.microsoft.com/EFExtensions/Release/ProjectReleases.aspx?ReleaseId=1399</link><description>This updated version of the extensions library targets the Visual Studio 2008 SP1. Changes include&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Helpers simplifying getting and setting key values for EntityReferences.&lt;br /&gt;&lt;br /&gt;2008-12-7 update&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Bug fix&amp;#58; using &amp;#42;ObjectContext.CommandTimeout&amp;#42; in calls to &amp;#42;CreateCommand&amp;#42;.&lt;br /&gt;&amp;#42; Sample project now illustrates use of &amp;#42;EntityReference&amp;#42; properties when materializing results.&lt;br /&gt;&amp;#42; New helper method overloads have been added to support &amp;#42;InvocationExpression&amp;#42; in LINQ queries and expressions.</description><author></author><pubDate>Sun, 07 Dec 2008 16:43:37 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008) 20081207P</guid></item><item><title>UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008)</title><link>http://code.msdn.microsoft.com/EFExtensions/Release/ProjectReleases.aspx?ReleaseId=1399</link><description>This updated version of the extensions library targets the Visual Studio 2008 SP1. Changes include&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Helpers simplifying getting and setting key values for EntityReferences.&lt;br /&gt;&lt;br /&gt;2008-12-7 update&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#42; Bug fix&amp;#58; using &amp;#42;ObjectContext.CommandTimeout&amp;#42; in calls to &amp;#42;CreateCommand&amp;#42;.&lt;br /&gt;&amp;#42; Sample project now illustrates use of &amp;#42;EntityReference&amp;#42; properties when materializing results.&lt;br /&gt;&amp;#42; New helper method overloads have been added to support &amp;#42;InvocationExpression&amp;#42; in LINQ queries and expressions.</description><author></author><pubDate>Sun, 07 Dec 2008 16:41:38 GMT</pubDate><guid isPermaLink="false">UPDATED RELEASE: EF Extensions Visual Studio 2008 SP1 (Aug 12, 2008) 20081207P</guid></item><item><title>NEW POST: EFExtensions does not work well with VB.NET</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1006</link><description>&lt;div class="wikidoc"&gt;
Never mind my previous post, I forgot to add the Microsoft.Data.Extensions namespace as an Import.&lt;br /&gt; &lt;br /&gt;Paulo Santos&lt;br /&gt;http://pjondevelopment.50webs.com&lt;br /&gt;
&lt;/div&gt;</description><author>PJonDevelopment</author><pubDate>Wed, 26 Nov 2008 20:13:33 GMT</pubDate><guid isPermaLink="false">NEW POST: EFExtensions does not work well with VB.NET 20081126P</guid></item><item><title>NEW POST: EFExtensions does not work well with VB.NET</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=1006</link><description>&lt;div class="wikidoc"&gt;
Hi,&lt;br /&gt; &lt;br /&gt;The EFExtensions does not work as extension methods when used with VB.NET.&lt;br /&gt; &lt;br /&gt;All the static methods needed to be called as they are and not as extensions as they should.&lt;br /&gt; &lt;br /&gt;Regards,&lt;br /&gt; &lt;br /&gt;Paulo Santos&lt;br /&gt;http://pjondevelopment.50webs.com&lt;br /&gt;
&lt;/div&gt;</description><author>PJonDevelopment</author><pubDate>Wed, 26 Nov 2008 18:38:17 GMT</pubDate><guid isPermaLink="false">NEW POST: EFExtensions does not work well with VB.NET 20081126P</guid></item><item><title>NEW POST: Does the EF model requires the Data Objects to be mapped to a table?</title><link>http://code.msdn.microsoft.com/EFExtensions/Thread/View.aspx?ThreadId=595</link><description>&lt;div class="wikidoc"&gt;
There is a feature called ModificationFunctions which allow you would use your own stored procs that map to InsertFunction, DeleteFunction and UpdateFunction. This way your entities are still mapped to the tables but the logic to do any CRUD operations is overridden by your sprocs.&lt;br /&gt; &lt;br /&gt;Here is an example I have from my edmx file:&lt;br /&gt;&lt;a href="http://code.msdn.microsoft.com/EFExtensions/Wiki/View.aspx?title=EF%20Mapping%20Samples%5d"&gt;[EFMappingFileSamples&lt;/a&gt; &amp;gt; ModificationFunctions&lt;br /&gt;In SSDL:&lt;br /&gt;&amp;lt;Schema Namespace=&amp;quot;exp.Store&amp;quot; Alias=&amp;quot;Self&amp;quot; ...&lt;br /&gt;...&lt;br /&gt;&amp;lt;Function Name=&amp;quot;usp_CreateExperiment&amp;quot; Aggregate=&amp;quot;false&amp;quot; BuiltIn=&amp;quot;false&amp;quot; NiladicFunction=&amp;quot;false&amp;quot; IsComposable=&amp;quot;false&amp;quot; ParameterTypeSemantics=&amp;quot;AllowImplicitConversion&amp;quot; Schema=&amp;quot;dbo&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;Parameter Name=“experiment_id” Type=&amp;quot;varchar&amp;quot; Mode=&amp;quot;In&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;Parameter Name=&amp;quot;description&amp;quot; Type=&amp;quot;varchar&amp;quot; Mode=&amp;quot;In&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/Function&amp;gt;&lt;br /&gt;&amp;lt;Function Name=&amp;quot;usp_UpdateExperiment&amp;quot; …&lt;br /&gt;&amp;lt;Function Name=&amp;quot;usp_DeleteExperiment&amp;quot; …&lt;br /&gt; &lt;br /&gt;In MSL:&lt;br /&gt;&amp;lt;EntitySetMapping Name=&amp;quot;Experiments&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;EntityTypeMapping TypeName=&amp;quot;exp.Experiment&amp;quot;&amp;gt;&lt;br /&gt;...&lt;br /&gt;&amp;lt;ModificationFunctionMapping&amp;gt;&lt;br /&gt;&amp;lt;InsertFunction FunctionName=&amp;quot;exp.Store.usp_CreateExperiment&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=“experiment&lt;i&gt;id” ParameterName=“experiment&lt;/i&gt;id” /&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=&amp;quot;description&amp;quot; ParameterName=&amp;quot;description&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;AssociationEnd AssociationSet=&amp;quot;FK&lt;i&gt;control&lt;/i&gt;treatment&amp;quot; From=&amp;quot;Experiment&amp;quot; To=&amp;quot;Treatment&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=“experiment&lt;i&gt;id” ParameterName=“experiment&lt;/i&gt;id” /&amp;gt;&lt;br /&gt;&amp;lt;/AssociationEnd&amp;gt;&lt;br /&gt;&amp;lt;/InsertFunction&amp;gt;&lt;br /&gt;&amp;lt;DeleteFunction …&lt;br /&gt;&amp;lt;UpdateFunction …&lt;br /&gt;&amp;lt;/ModificationFunctionMapping&amp;gt;&lt;br /&gt;&amp;lt;AssociationSetMapping Name=&amp;quot; FK&lt;i&gt;control&lt;/i&gt;treatment&amp;quot; TypeName=&amp;quot;exp.FK&lt;i&gt;experiments&lt;/i&gt;control_treatment&amp;quot; StoreEntitySet=&amp;quot;experiments&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;EndProperty Name=&amp;quot;treatments&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=&amp;quot;treatment&lt;i&gt;id&amp;quot; ColumnName=&amp;quot;control&lt;/i&gt;treatment&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/EndProperty&amp;gt;&lt;br /&gt;&amp;lt;EndProperty Name=&amp;quot;Experiment&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=&amp;quot;experiment&lt;i&gt;id&amp;quot; ColumnName=&amp;quot;experiment&lt;/i&gt;id&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;/EndProperty&amp;gt;&lt;br /&gt;&amp;lt;Condition ColumnName=&amp;quot;control_treatment&amp;quot; IsNull=&amp;quot;false&amp;quot; /&amp;gt;&lt;br /&gt;&amp;lt;ModificationFunctionMapping&amp;gt;&lt;br /&gt;&amp;lt;InsertFunction FunctionName=&amp;quot;exp.Store.usp&lt;i&gt;CreateExperiment&lt;/i&gt;Junk&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;EndProperty Name=&amp;quot;Experiment&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=&amp;quot;experiment&lt;i&gt;id&amp;quot; ParameterName=&amp;quot;experiment&lt;/i&gt;id&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/EndProperty&amp;gt;&lt;br /&gt;&amp;lt;EndProperty Name=&amp;quot;Treatment&amp;quot;&amp;gt;&lt;br /&gt;&amp;lt;ScalarProperty Name=&amp;quot;treatment&lt;i&gt;id&amp;quot; ParameterName=&amp;quot;treatment&lt;/i&gt;id&amp;quot;/&amp;gt;&lt;br /&gt;&amp;lt;/EndProperty&amp;gt;&lt;br /&gt;&amp;lt;/InsertFunction&amp;gt;&lt;br /&gt;&amp;lt;DeleteFunction….&lt;br /&gt;&amp;lt;/ModificationFunctionMapping&amp;gt;&lt;br /&gt;&amp;lt;/AssociationSetMapping&amp;gt;&lt;br /&gt; &lt;br /&gt;Note:&lt;br /&gt;1. If one modification function mapping is created for an entity all the 3 should be created i.e InsertFunction, DeleteFunction, UpdateFunction. Also any associations related to this entity should also have modification functions for InsertFunction and DeleteFunction.&lt;br /&gt;2. StoredProcs for InsertFunction, DeleteFunction and UpdateFunction cannot be exact same. But it is possible to put a dummy stored proc that does not exist in database as long as that function is not invoked.&lt;br /&gt; &lt;br /&gt;
&lt;/div&gt;</description><author>Pranav</author><pubDate>Thu, 21 Aug 2008 23:39:05 GMT</pubDate><guid isPermaLink="false">NEW POST: Does the EF model requires the Data Objects to be mapped to a table? 20080821P</guid></item><item><title>UPDATED WIKI: Home</title><link>http://code.msdn.microsoft.com/EFExtensions/Wiki/View.aspx?title=Home&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
The ADO.NET Entity Framework Extensions library includes utilities that make querying stored procedures, creating typed results from DB data readers and state tracking external data much easier in the Entity Framework. A sample application demonstrates several patterns using these utilities, including stored procedures with multiple result sets, materialization of CLR types, and registering entities in the Entity Framework state manager.
&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Overview
&lt;/h1&gt; &lt;br /&gt;Utilities are included to simplify:&lt;br /&gt; &lt;br /&gt;&lt;ul&gt;
&lt;li&gt;Execution of store commands via the ObjectContext.&lt;/li&gt;&lt;li&gt;Connection lifetime management.&lt;/li&gt;&lt;li&gt;State management of entities from external sources.&lt;/li&gt;&lt;li&gt;Materialization of arbitrary CLR types given a data reader or DB command.&lt;/li&gt;&lt;li&gt;Stored procedure mapping:&lt;/li&gt;&lt;ul&gt;
&lt;li&gt;Multiple result sets.&lt;/li&gt;&lt;li&gt;Column renames, polymorphic results and nested structures via the materialization service.&lt;/li&gt;
&lt;/ul&gt;&lt;li&gt;Getting and setting key values for entity references.&lt;/li&gt;
&lt;/ul&gt; &lt;br /&gt;&lt;h1&gt;
Requirements
&lt;/h1&gt; &lt;br /&gt;Visual Studio 2008 SP1. &lt;br /&gt; &lt;br /&gt;&lt;a href="http://msdn.microsoft.com/en-us/vsts2008/products/cc533447.aspx" class="externalLink"&gt;http://msdn.microsoft.com/en-us/vsts2008/products/cc533447.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt; &lt;br /&gt;&lt;h1&gt;
Other resources
&lt;/h1&gt; &lt;br /&gt;The following post introduces the EFExtensions API and includes a walkthrough of the sample application:&lt;br /&gt; &lt;br /&gt;&lt;a href="http://blogs.msdn.com/meek/archive/2008/03/26/ado-entity-framework-stored-procedure-customization.aspx" class="externalLink"&gt;http://blogs.msdn.com/meek/archive/2008/03/26/ado-entity-framework-stored-procedure-customization.aspx&lt;span class="externalLinkIcon"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;/div&gt;</description><author>cmeek</author><pubDate>Tue, 12 Aug 2008 19:54:35 GMT</pubDate><guid isPermaLink="false">UPDATED WIKI: Home 20080812P</guid></item></channel></rss>