DotNetShoutout - Stories tagged with Entity Framework
8
Shouts

Using Repository Pattern with Entity Framework - Gil Fink on .Net

published 1215 days, 13 hours, 12 minutes ago posted by gilfgilf 1218 days, 12 hours, 48 minutes ago
Saturday, January 23, 2010 11:16:12 AM GMT Wednesday, January 20, 2010 11:40:19 AM GMT
One of the tools for reaching for persistence ignorance is to build a facade between the data access layer and your business logic. Such facade will prevent the knowledge of how the data access is working and with which technology. That abstraction can be achieved by using the Repository Pattern. In the post I’ll show how you can use the Repository Pattern. (more)
category: Architecture | clicked: 2 | comment | | source: blogs.microsoft.co.il
tags: Entity Framework, Patterns, Architecture
7
Shouts

Populating a DropDownList with Linquify and the Entity Framework in C# ASP .NET

published 1218 days, 14 hours, 47 minutes ago posted by surfer6surfer6 1219 days, 7 hours, 38 minutes ago
Wednesday, January 20, 2010 9:41:33 AM GMT Tuesday, January 19, 2010 4:49:38 PM GMT
Linquify is a Visual Studio add-in and business class generator for LINQ to SQL and the Entity Framework. In this tutorial, walk through setting up a basic ASP .NET web application which populates a DropDownList control with people from a database, using Linquify and the Entity Framework. (more)
category: Web Dev | clicked: 9 | comment | | source: www.primaryobjects.com
tags: Entity Framework, C#, ASP .NET, linquify, Linq
10
Shouts

Defining Custom Functions in Entity Framework - Gil Fink on .Net

published 1235 days, 10 hours, 53 minutes ago posted by gilfgilf 1237 days, 10 hours, 24 minutes ago
Sunday, January 03, 2010 1:34:59 PM GMT Friday, January 01, 2010 2:04:21 PM GMT
During the SDP conference I have been asked about the use of functions inside the EDM. This post will try to answer one such question of how to define a custom function in EF. (more)
category: How To | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: ADO.NET, Entity Framework
12
Shouts

Unit Testing Entity Framework Video - Unit Testing Database Applications Tutorial -

published 1246 days, 3 hours, 46 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1247 days, 8 hours, 45 minutes ago
Wednesday, December 23, 2009 8:42:22 PM GMT Tuesday, December 22, 2009 3:43:01 PM GMT
Muhammad Mosa prepared a video on examples for unit testing EF apps. Entity framework has been considered hard to test, but Muhammad shows how to do it easily with Typemock Isolator. You can download the presentation and code and try it for yourselves.   You can also follow Muhammad on Twitter, and I suggest you do! (more)
category: Screencast | clicked: 1 | comment | | source: site.typemock.com
tags: UnitTesting, EF, Entity Framework, UnitTest, entityframework, UnitTests, TypeMock.NET, Unit Tests, Typemock, Unit Test, unit testing
11
Shouts

Linquify - Business Class Generator for LINQ to SQL, Entity Framework

published 1246 days, 3 hours, 46 minutes ago posted by surfer6surfer6 1247 days, 9 hours, 11 minutes ago
Wednesday, December 23, 2009 8:42:22 PM GMT Tuesday, December 22, 2009 3:17:09 PM GMT
Introducing Linquify! A free C# .NET business class generator that makes LINQ to SQL and the Entity Framework extremely easy to use! It installs as a Visual Studio 2008 Addin and helps support rapid development of .NET and ASP .NET web application data layers. (more)
category: Web Dev | clicked: 13 | comment | | source: www.primaryobjects.com
tags: Linq2Sql, .NET, code generator, Linq To SQL, Entity Framework, C#, linquify, Linq
8
Shouts

Deleting entities in a many to many relatonship with Entity Framework and Ria Services

published 1246 days, 3 hours, 46 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 1247 days, 17 hours, 54 minutes ago
Wednesday, December 23, 2009 8:42:22 PM GMT Tuesday, December 22, 2009 6:34:05 AM GMT
Trying to delete a record in many to many relationship can be a bit tricky. In this scenario I have a person record that can be tied to multiple address records. Here is our database setup:   When creating the data model the Entity Framework will hide all the details for us of creating and updating the intermediary "PersonAddress" table.  Here's what's generated by the designer: When generating our Ria Service, if we select the "Enable Editing" option for our "Address" table it will create all the C... (more)
category: Metro | clicked: 4 | comment | | source: www.codingcontext.com
tags: RIA Services, Entity Framework, silveright
7
Shouts

Date Comparison – Entity Framework

published 1248 days, 10 hours, 42 minutes ago posted by http://djsolid.myopenid.com/http://djsolid.myopenid.com/ 1250 days, 7 hours, 12 minutes ago
Monday, December 21, 2009 1:45:49 PM GMT Saturday, December 19, 2009 5:16:26 PM GMT
A quick tip about how to compare a datetime field in our database and to be extact only the Date part ignoring the time. (more)
category: Web Dev | clicked: 6 | comment | | source: weblogs.asp.net
tags: Entity Framework, ESQL
8
Shouts

Tip 49 – How to find your Data Service bug

published 1255 days, 8 hours, 36 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1256 days, 11 hours, 15 minutes ago
Monday, December 14, 2009 3:52:23 PM GMT Sunday, December 13, 2009 1:13:19 PM GMT
I’ve been playing around with creating a custom Astoria Data Service Provider, aka DSP, for a while now. So far I’d managed to get my metadata all setup, so browsing to $metadata works great. I’d got a few simple queries work. (more)
category: Web Dev | clicked: 0 | comment | | source: blogs.msdn.com
tags: EF, Entity Framework, entityframework, ef4 entityframework4, DataServices, WCF, WCF DataServices
12
Shouts

T4 Templates in Entity Framework 4 - Gil Fink on .Net

published 1261 days, 23 hours, 52 minutes ago posted by gilfgilf 1264 days, 10 hours, 42 minutes ago
Tuesday, December 08, 2009 12:36:28 AM GMT Saturday, December 05, 2009 1:46:36 PM GMT
T4 templates or Text Template Transformation Toolkit is a mean of creating a code generation artifacts which can save a lot of time. This technology is a part of Visual Studio since 2005 but was one of those technologies that were kept in secret by Microsoft. Almost all the code generation stuff that is being used in Visual Studio in technologies such as MVC, Entity Framework,... (more)
category: How To | clicked: 0 | comment | | source: blogs.microsoft.co.il
tags: Entity Framework, EF4, T4 Templates
3
Shouts

Sometimes you just need to CodingHorror it!

posted by http://www.managedfusion.com/http://www.managedfusion.com/ 1266 days, 6 hours, 14 minutes ago
Thursday, December 03, 2009 6:14:13 PM GMT
The title of this post is a tongue-in-cheek reference to SubSonic’s inline query by the same name, which in turn is a reference to the blogger Jeff Atwood’s blog who you should all know.  Rob Conery, the SubSonic project leader, named the inline query class CodingHorror after he allegedly read Jeff Atwood’s post titled Embracing Languages Inside Languages, in which he bestowed the virtues of inline SQL inside your code, instead of the standard bequeathed statement that I bet you all have heard “We do all... (more)
category: Data | clicked: 0 | comment | | source: www.coderjournal.com
tags: Entity Framework
10
Shouts

Meta-Me : Tip 47 – How fix-up can make it hard to change relationships

published 1266 days, 15 hours, 21 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1267 days, 15 hours, 15 minutes ago
Thursday, December 03, 2009 9:06:40 AM GMT Wednesday, December 02, 2009 9:13:24 AM GMT
Tip 47 – How fix-up can make it hard to change relationships Problem: Take this code: Category oldCategory = ctx.Categories     .Include("Products")     .First(c => c.Name == "Drink"); Category newCategory = new Category {Name = "Beverage"}; foreach(Product product in oldCategory.Products) {     newCategory.Products.Add(product); } Ignore for a second that in this example the solution is probably just to rename the oldCategory "Beverages" - Coming up with real world samples gets hard... (more)
category: Architecture | clicked: 0 | comment | | source: blogs.msdn.com
tags: entityframework 4, entityframework4, Entity Framework, EF4, EF 4.0, entityframework, Tips
11
Shouts

Including related entities in your domain service calls

published 1268 days, 5 hours, 28 minutes ago posted by http://micahlmartin.myopenid.com/http://micahlmartin.myopenid.com/ 1270 days, 4 hours, 36 minutes ago
Tuesday, December 01, 2009 7:00:29 PM GMT Sunday, November 29, 2009 7:52:02 PM GMT
There are two steps you need to perform in order to get back related entities in your object graph when making calls to your domain service using the Entity Framework or Linq to Sql as your DAL. Let's say we want to retrieve a Person record along with their Address record. The first step is to tell your DAL to return the associated object in your query like this: Entity Frameworkpublic Person GetPersonById(long Id) { returnthis.Context.People.Include("Address").Where(p => p.Id == Id).FirstOrDefau... (more)
category: Metro | clicked: 0 | comment | | source: www.codingcontext.com
tags: RIA Services, Linq To SQL, Entity Framework
11
Shouts

Meta-Me : Tip 45 – How to swap EF metadata at runtime.

published 1268 days, 5 hours, 28 minutes ago posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 1270 days, 6 hours, 25 minutes ago
Tuesday, December 01, 2009 7:00:29 PM GMT Sunday, November 29, 2009 6:02:53 PM GMT
Tip 45 – How to swap EF metadata at runtime. Background By default the Entity Framework embeds its metadata inside your assembly as a resource, and put a connection string in the App or Web Config references those resourses something like this (more)
category: Data | clicked: 1 | 1 comment | | source: blogs.msdn.com
tags: Metadata, EF 3.5, Entity Framework, EF4, EF 4.0, entityframework, Tips
Previous 1 2 3 4 5 6 7 Next