Life, Surf, Code and everything in between
Contact
|
Articles
|
Products
|
Support
WebLog Posts in Category Entity Framework
Firing an Entity Framework Database Initializer from within DbContext
March 26, 2013 @ 12:53 pm
Database initializers in Entity Framework can be a pain, especially when you're using EF as part of smaller components that may or may not load into a database shared with other EF Contexts. Here's a small helper utility that lets you internalize the database initializer and fire it the first time the context is loaded.
4 comments
Sql Connection Strings in .Config Files vs. Source Control
February 27, 2013 @ 12:18 pm
Connection strings in projects under source control can be problematic. Each Source Control user can potentially have different connection settings to use a database connection and these differences can't be easily reconciled via Source Control. Here are a couple of approaches that have worked for me to deal with this issue.
9 comments
Basic Spatial Data with SQL Server and Entity Framework 5.0
June 21, 2012 @ 7:10 am
Spatial data has been available for a while in SQL Server, but if you wanted to use it with Entiry Framework you had to jump through some hoops. In this post I show how basic SQL Spatial data works and then how you can utilize the new features in EF 5.0 to directly access spatial data using your CodeFirst models.
6 comments
Archives
May, 2013 (2)
April, 2013 (5)
March, 2013 (4)
February, 2013 (2)
December, 2012 (2)
November, 2012 (7)
October, 2012 (3)
September, 2012 (3)
August, 2012 (5)
July, 2012 (1)
June, 2012 (1)
May, 2012 (4)
April, 2012 (8)
March, 2012 (7)
February, 2012 (3)
January, 2012 (4)
December, 2011 (6)
November, 2011 (4)
October, 2011 (4)
September, 2011 (3)
August, 2011 (2)
July, 2011 (3)
June, 2011 (1)
May, 2011 (4)
Categories
ASP.NET (228)
.NET (95)
Personal (68)
JavaScript (57)
jQuery (55)
AJAX (53)
Visual Studio (51)
CSharp (43)
HTML (37)
ASP.NET (36)
LINQ (32)
IIS (30)
WCF (28)
Vista (28)
Windows (28)
FoxPro (22)
Localization (21)
Web Services (17)
Web Api (15)
COM (15)
ADO.NET (13)
Microsoft AJAX (13)
MVC (13)
WPF (12)
XML (10)
Security (10)
IIS7 (10)
CSS (9)
Silverlight (8)
Web Connection (8)
Sql Server (8)
HTTP (7)
West Wind Ajax Toolkit (7)
HTML5 (6)
C++ (6)
Html Help Builder (5)
Hardware (5)
Office (5)
ISV (4)
Live Writer (4)
Software Development (4)
Source Control (4)
WebLog (4)
Bugs (4)
ADO.NET (3)
Visual Studio (3)
Conferences (3)
DataBinding (3)
Help (3)
Help Builder (3)
Entity Framework (3)
IIS7 (3)
Windsurfing (3)
Razor (3)
RegEx (2)
RSS (2)
Maui (2)
Networking (2)
WinForms (2)
Web Design (2)
Tools (2)
Speaking (2)
Installation (2)
Internet Explorer (2)
iPhone (1)
JSON (1)
FireFox (1)
Graphics (1)
Deployment (1)
Dynamic Types (1)
Control Development (1)
Addins (1)
C# (1)
Threading (1)
Web Deployment Projects (1)
Travel (1)
Utilities (1)
SmartPhone (1)
SignalR (1)
wwHoverPanel (1)
© Rick Strahl, West Wind Technologies, 2005 - 2013