DotNetShoutout - Stories tagged with Entity Framework
5
Shouts

Moses' Blog | Getting Started with Entity Framework 4.0 Screencast Recorded session from Cairo Code Camp - Part 2

published 1067 days, 4 hours, 59 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1068 days, 2 hours, 1 minute ago
Tuesday, June 22, 2010 10:27:47 AM GMT Monday, June 21, 2010 1:26:25 PM GMT
About Part 2 Second part is about 6:30 min in length. Covers Object Services and how to do CRUD operations using EF 4.0 object services. The demo explores EF change tracking capabilities. The demo also shows how to map return result of a stored procedure to existing entity in your EDM. (more)
category: Screencast | clicked: 0 | comment | | source: mosesofegypt.net
tags: EF, entityframework4, Entity Framework, EF4, How-To, Screencast
6
Shouts

Revisiting the Repository and Unit of Work Patterns with Entity Framework - Gil Fink on .Net

published 1068 days, 59 minutes ago posted by gilfgilf 1068 days, 10 hours, 30 minutes ago
Monday, June 21, 2010 2:28:30 PM GMT Monday, June 21, 2010 4:56:48 AM GMT
In the past I wrote two posts about the Repository and the Unit of Work patterns (here and here). Today I want to show a better and less naive solution for imposing the Unit of Work and the Repository patterns with Entity Framework. (more)
category: Architecture | clicked: 3 | comment | | source: blogs.microsoft.co.il
tags: Repository, Entity Framework, Design Pattern, Unit of Work
5
Shouts

Using Conditional Mapping in Entity Framework - Gil Fink on .Net

published 1073 days, 4 hours, 44 minutes ago posted by gilfgilf 1074 days, 3 hours, 41 minutes ago
Wednesday, June 16, 2010 10:42:58 AM GMT Tuesday, June 15, 2010 11:46:17 AM GMT
There are times that we want to retrieve only a portion of data from an table in the database permanently by some filter. For that purpose we can use the conditional mapping in Entity Framework. (more)
category: How To | clicked: 7 | comment | | source: blogs.microsoft.co.il
tags: Entity Framework, Mapping
3
Shouts

Exposing OData from an Entity Framework Model

published 1078 days, 5 hours, 8 minutes ago posted by http://vistadb.myopenid.com/http://vistadb.myopenid.com/ 1079 days, 37 minutes ago
Friday, June 11, 2010 10:18:48 AM GMT Thursday, June 10, 2010 2:50:41 PM GMT
After reading Scott Hansleman’s article on exposing OData for Stack Overflow I thought it would be nice to update the previous post I did on Ado.net data services to include the new WCF Data Services.  WCF Data Services (formerly called Ado.net Data Services, and “Astoria”) can expose OData to callers through a very simple interface. LINQPad was not available to query the interface at the time, so I will also discuss how to use LINQPad to write queries against a Data Service. For my example I am going t... (more)
category: Data | clicked: 5 | comment | | source: infinitecodex.com
tags: Entity Framework, VistaDB, WCF Data Services, OData
5
Shouts

Building a Dynamic LINQ to Entities Compiler (Part 2)

published 1079 days, 6 hours, 30 minutes ago posted by http://vistadb.myopenid.com/http://vistadb.myopenid.com/ 1079 days, 23 hours, 28 minutes ago
Thursday, June 10, 2010 8:56:59 AM GMT Wednesday, June 09, 2010 3:58:50 PM GMT
In this article I will continue to explain how to build a dynamic LINQ to Entities compiler for any database provider that supports the Ado.net Entity Framework.  See part 1 of building a dynamic linq to entities compiler for background information. This part of the series will cover using the .Net CodeDom Compiler to dynamically execute LINQ queries against an EF model. We are working on a dynamic LINQ query mechanism for the next major release of VistaDB.  Our goal is to provide a dynamic LINQ executi... (more)
category: Data | clicked: 9 | comment | | source: infinitecodex.com
tags: LinqPad, Entity Framework, VistaDB, Linq
5
Shouts

Building a Dynamic LINQ to Entities Compiler (Part 1)

posted by http://vistadb.myopenid.com/http://vistadb.myopenid.com/ 1081 days, 9 hours, 35 minutes ago
Tuesday, June 08, 2010 5:52:07 AM GMT
In this article I will explain how to build a dynamic LINQ to Entities compiler for any database provider that supports the Ado.net Entity Framework. Due to the wide range of technologies used this article, it will be broken up into two parts as listed below. We are working on a dynamic linq query mechanism for the next major release of VistaDB.  Our goal is to provide a LinqPad type of environment in Data Builder for users to write LINQ queries against the database without having to first build an EF m... (more)
category: Data | clicked: 0 | comment | | source: infinitecodex.com
tags: SQL Server, Entity Framework, VistaDB, SQL, Linq
5
Shouts

T 4 beginners – part 5 - [Export] Bnaya Eshet

published 1083 days, 1 hour, 6 minutes ago posted by bnayabnaya 1083 days, 18 hours, 47 minutes ago
Sunday, June 06, 2010 2:21:02 PM GMT Saturday, June 05, 2010 8:40:11 PM GMT
T 4 beginners – part 5T 4 beginners – part 5 this is the 5rd post on this series. in this post we will focus on how to debugT4. there is no special code for this post. the series TOC is available here. What cause T4 failure? actually the T4 can fail in to different stage:It can fail when VS compile the Control blocks or Directives(this is compile time failure)It can fail because the Control blocks is throwing an exception (while the compiled T4 is executing).  Executing T4 it is important to ... (more)
category: Architecture | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Custom tool, T4, Entity Framework, VS 2010
7
Shouts

Resources for learning ADO.NET Entity Framework | Senthil Kumar's Blog

published 1082 days, 3 hours, 45 minutes ago posted by http://isenthil.myopenid.com/http://isenthil.myopenid.com/ 1083 days, 21 hours, 58 minutes ago
Monday, June 07, 2010 11:41:47 AM GMT Saturday, June 05, 2010 5:29:28 PM GMT
I’m planning to learn ADO.NET Entity Framework. So thought of sharing some nice links to learn Entity Framework . Here’s are some of the interesting one’s Blogs and DocumentationMSDN ADO.NET Entity Framework SiteMSDN Entity Framework DocumentationEntity Framework Tips and TricksLINQ to SQL vs. Entity FrameworkChecking out one of the new stored procedure features in EF4NHibernate vs. Entity Framework 4.0 Vi... (more)
category: How To | clicked: 0 | comment | | source: www.ginktage.com
tags: Entity Framework, C#
3
Shouts

T 4 beginners – part 4 - [Export] Bnaya Eshet

posted by bnayabnaya 1098 days, 10 hours, 21 minutes ago
Saturday, May 22, 2010 5:06:40 AM GMT
T 4 beginners – part 4T 4 beginners – part 4 this is the 4rd post on this series. in this post we will focus on T4Class feature control blocks. you can download the code for this post here. the series TOC is available here.  What is class feature control block? class feature control block is one of the T4 extension mechanism that enable reuse of T4 sections. using class feature control block you can defines helper properties or methods, that can be used from different T4 templates.  The sy... (more)
category: Architecture | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Custom tool, T4, Entity Framework, VS 2010
4
Shouts

T 4 beginners – part 3 - [Export] Bnaya Eshet

posted by bnayabnaya 1098 days, 20 hours, 41 minutes ago
Friday, May 21, 2010 6:46:21 PM GMT
T 4 beginners – part 3T 4 beginners – part 3 this is the 3rd post on this series. in this post we will focus on basics T4Control blocks. you can download the code sample from here. the series TOC is available here.   T4Control blocks is where dynamic text is added into the template output, this is the heart of T4 concept (C# is the default language but you can change it to VB).  Standard control blocks A standard control block is a section of program code that generates part of the output. ... (more)
category: Architecture | clicked: 1 | comment | | source: blogs.microsoft.co.il
tags: Custom tool, T4, Entity Framework, VS 2010
6
Shouts

Entity Framework Compliance VistaDB vs SQL Server 2008 R2

published 1097 days, 4 hours, 25 minutes ago posted by http://vistadb.myopenid.com/http://vistadb.myopenid.com/ 1099 days, 11 hours, 52 minutes ago
Sunday, May 23, 2010 11:01:46 AM GMT Friday, May 21, 2010 3:35:04 AM GMT
We have spent a lot of time on our Entity Framework provider over the past 18 months or so.  There is a sample EF provider from Microsoft that illustrates basic points, and if you look at all the open source databases they pretty much all used the default code in their implementations.  But what if that sample code doesn’t implement something?  Or if it is just plain wrong? *I have to tell you we didn’t expect the results we got from this test at all.  * (more)
category: Data | clicked: 0 | comment | | source: infinitecodex.com
tags: Entity Framework, SQL Server 2008, VistaDB
5
Shouts

T 4 beginners – part 2 - [Export] Bnaya Eshet

published 1100 days, 3 hours, 52 minutes ago posted by bnayabnaya 1100 days, 20 hours, 13 minutes ago
Thursday, May 20, 2010 11:35:34 AM GMT Wednesday, May 19, 2010 7:14:13 PM GMT
T 4 beginners – part 2T 4 beginners – part 2 this is the second post on this series. in this post we will focus on basics T4 Directives. you can use the code sample of the previous post here. the series TOC is available here.  Directive syntax: any of the directives is using the following syntax: (more)
category: Architecture | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Custom tool, T4, Entity Framework, VS 2010
4
Shouts

T 4 beginners – part 1 - [Export] Bnaya Eshet

published 1101 days, 2 hours, 5 minutes ago posted by bnayabnaya 1101 days, 20 hours, 36 minutes ago
Wednesday, May 19, 2010 1:22:43 PM GMT Tuesday, May 18, 2010 6:51:42 PM GMT
T 4 beginners – part 1T 4 beginners – part 1 this is the first post of a series that will focus on T4 template. this post discuss the T4 in general while the following pose will focus on the T4 practice. the code for this post can be found here.  What is T4 template? T4 is sanding for Text Template Transformation Toolkit. T4 is all about automating code or content generation. the usual extension for T4 files is the *.tt  When to use T4? whenever you identify repeatable pattern of code or conte... (more)
category: Architecture | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Custom tool, T4, Entity Framework, VS 2010
6
Shouts

Finally! Entity Framework working in fully disconnected N-tier web app

posted by oazabiroazabir 1102 days, 10 hours, 31 minutes ago
Tuesday, May 18, 2010 4:56:00 AM GMT
Entity Framework was supposed to solve the problem of Linq to SQL, which requires endless hacks to make it work in n-tier world. Not only did Entity Framework solve none of the L2S problems, but also it made it even more difficult to use and hack it for n-tier scenarios. Learn how I solved all disconnected scenarios and made 100% unit testable EF. (more)
category: Web Dev | clicked: 3 | 1 comment | | source: omaralzabir.com
tags: Entity Framework, .NET 3.5 SP1, TDD, Unit Test
7
Shouts

Using a GUID as an EntityKey in Entity Framework 4

published 1103 days, 1 hour, 17 minutes ago posted by MissingLinqMissingLinq 1104 days, 20 hours, 29 minutes ago
Monday, May 17, 2010 2:10:19 PM GMT Saturday, May 15, 2010 6:58:43 PM GMT
Do you have tables that use GUIDs (columns of type uniqueidentifier) as primary keys in SQL Server? This scenario is now fully supported in Entity Framework 4, as long as you remember one little gotcha. (more)
category: Architecture | clicked: 11 | comment | | source: leedumond.com
tags: Entity Framework, Entity Framework 4, GUID
10
Shouts

Using Stub Entities in Entity Framework Screencasts - Gil Fink on .Net

published 1103 days, 1 hour, 17 minutes ago posted by gilfgilf 1106 days, 44 minutes ago
Monday, May 17, 2010 2:10:19 PM GMT Friday, May 14, 2010 2:42:56 PM GMT
Today I recorded my first two screencasts (one in English and one in Hebrew) about how to use stub entities in Entity Framework in order to produce better performance by reducing database round trips. (more)
category: How To | clicked: 1 | comment | | source: blogs.microsoft.co.il
tags: Entity Framework, Screencast
4
Shouts

How to Retrieve Stored Procedure Output Parameters in Entity Framework - Gil Fink on .Net

published 1110 days, 4 hours, 26 minutes ago posted by gilfgilf 1111 days, 2 hours, 56 minutes ago
Monday, May 10, 2010 11:01:12 AM GMT Sunday, May 09, 2010 12:30:47 PM GMT
One question that raises from time to time in EF forums is how you can retrieve stored procedure output parameters in EF Function Import. This post will show you how to do that. (more)
category: How To | clicked: 2 | comment | | source: blogs.microsoft.co.il
tags: stored procedures, Entity Framework
7
Shouts

LINQ: How to write queries with complex join conditions « Mehroz’s Experiments

published 1135 days, 3 hours, 53 minutes ago posted by mehrozmehroz 1136 days, 21 hours, 15 minutes ago
Thursday, April 15, 2010 11:34:26 AM GMT Tuesday, April 13, 2010 6:12:18 PM GMT
This small post is a follow-up of my previous post in which I discussed some common scenarios and how we can handle them in our LINQ queries. This time, we will see how to write queries that have not-so-simple conditions as join predicates. Note that LINQ directly supports only equi-joins, that is, joins based on equal conditions. Let's look how to handle joins having other conditions such as between, etc. (more)
category: Architecture | clicked: 1 | comment | | source: smehrozalam.wordpress.com
tags: Query, join, Entity Framework, Linq
4
Shouts

LINQ: How to build complex queries utilizing deferred execution and anonymous types « Mehroz’s Experiments

published 1143 days, 4 hours, 11 minutes ago posted by mehrozmehroz 1144 days, 46 minutes ago
Wednesday, April 07, 2010 11:15:57 AM GMT Tuesday, April 06, 2010 2:41:09 PM GMT
While working with LINQ to SQL and LINQ to Entities (Entitiy Framework), I really appreciate and utilize the deferred execution capabilities, i.e. the queries are not materialized (sent to server) until they are needed. This great feature can help us to construct our query in several steps and then send a single optimized TSQL version to the database for processing. This approach is similar to our application of CTE (Common Table Expressions) in T-SQL, with which we can build our T-SQL queries in small m... (more)
category: Architecture | clicked: 0 | comment | | source: smehrozalam.wordpress.com
tags: Linq To SQL, join, Entity Framework, anonymous types, deferred execution, Linq To Entities, Linq, filter, group
4
Shouts

Dynamic Database Creation in Entity Framework

published 1148 days, 1 hour ago posted by DevartDevart 1149 days, 6 hours, 41 minutes ago
Friday, April 02, 2010 2:27:29 PM GMT Thursday, April 01, 2010 8:46:04 AM GMT
Entity Framework 4 RC allows you to create and drop databases in run-time using SSDL for DDL generation. Now ObjectContext has CreateDatabase(), DropDatabase(), and CreateDatabaseScript() methods. They appeared in Entity Framework v4 CTP for Code Only and only for SQLClient initially but later they became available for other EF-providers. In this article we describe implementation of these methods in Devart data providers. We are using dotConnect for Oracle as a data provider in the following example... (more)
category: Architecture | clicked: 2 | comment | | source: www.devart.com
tags: Entity Framework, Visual Studio 2010, Database