As I looked into the ITypedList interface I realized that perhaps everything I needed was already implemented as my business objects are generated by Linq-To-Sql? The answer turns out to be “sort-of”.
I’m taking a peek at both the Entity Framework and LINQ to SQL, and while I like the systems (and of course the LINQ [...]
Posts Tagged ‘entity-framework’
Does Entity Framework/LINQ to SQL Implment ITypedList?
Posted in Uncategorized, tagged data-binding, entity-framework, ITypedList, Ling-to-Sql, reflection on 2009/11/11 | Leave a Comment »
EDMX Issues With Visual Studio 2010 Beta 1 to Beta 2
Posted in Uncategorized, tagged .net-4.0, beta-2, diagram, edmx, entity, entity-framework, visual-studio-2010, visual-studio-2010-beta-1, visual-studio-2010-beta-2, xml on 2009/11/10 | Leave a Comment »
Scenario: Important meeting! Too much coffee! Bad lighting! In walks the killer! Wait…
No, that’s wrong. In walks Visual Studio 2010 Beta 2 with an inability to open an EDMX created with Visual Studio 2010 Beta 1, asking if I’d like to open the file in an XML editor. Ack! A previously printed paper diagram (for [...]
SqlCommand Timeout Exception with ADO.Net Data Services
Posted in Uncategorized, tagged entity-framework, ado-net, ado.net-data-services, timeout, SqlCommand, data-services, WCF on 2009/08/21 | Leave a Comment »
When my ADO.NET Data Services web service started throwing SqlCommand timeout messages I hit up Google and finally found a post in German(?) that pointed me in the right direction. The problem seems to be the Entity Framework Connection CommandTimeout, which can be easily modified overloading the OnStartProcessingRequest event.
When working with the ADO.NET Data Services [...]
EdmGen2.exe – Replaces EdmGen Shipped w/ .NET 3.5 SP1
Posted in Uncategorized, tagged .NET-3.5-SP1, EDM, edmgen.exe, edmgen2.exe, entity, entity-framework, microsoft on 2009/07/29 | Leave a Comment »
This looks very useful for anyone (poor wretch) wrestling with the Entity Framework.
EdmGen2 is a command-line tool for the Microsoft ADO.NET Entity Framework. The tool can be used as a replacement for the EdmGen.exe tool that ships with the .Net framework 3.5 SP1. EdmGen.exe can only read and write the CSDL, SSDL & MSL file [...]
Join Table Hiding Improvements in EF4? Workarounds?
Posted in Uncategorized, tagged EDM, ef, EF4, entity-framework, join, join-table, many-to-many, model on 2009/07/22 | 1 Comment »
After inquiring on the official forums about new features in Entity Framework 4.0 around join tables this is what I heard back. In short, no new news. Which is too bad. Our model doesn’t really model entities until we have some way of hiding the join tables or otherwise demoting them to second-class [...]
InitializeService in ADO.NET Data Services
Posted in Uncategorized, tagged ado-net, ado.net-net-data-service, debug, entity-framework, IncludeExceptionDetailInFaults, InitializeService, service, web-service on 2009/07/15 | Leave a Comment »
Need to debug an ADO.NET Data Service?
Another interesting point has to do with error handling. The option for error handling is set during InitializeService. If an exception is thrown while InitializeService is being called, we don’t trust whatever was set on the configuration, and instead of the ADO.NET Data Service error handling kicking in, we’ll [...]
Entity Framework 2.0 er… 4.0 (.NET Rocks!)
Posted in Uncategorized, tagged .net-4, beta, database, ef, entity-framework, microsoft, nHibernate, ORM on 2009/06/11 | Leave a Comment »
Just finished another excellent podcast from .NET Rocks which this time discussed the new features of the Entity Framework which is currently out in beta. While I haven’t had a chance to give it a try myself I’m very interested in what Daniel Simmons described. Having written off the EF as “not ready yet” and [...]
Sybase working to improve NHibernate support | Elegant Code
Posted in Uncategorized, tagged database, entity-framework, microsoft, nHibernate, ORM, sybase on 2009/05/18 | Leave a Comment »
NHibernate keeps looking more and more like the enterprise .NET solution to choose…
But support in NHibernate for Sybase is not great. The basics work but some of the more advanced features are not implemented at all or are done poorly. Fortunately we have an excellent relationship with our vendor and have had for many years. [...]
xSQL Profiler – Free Sql Server Profiler
Posted in Uncategorized, tagged ado.net-entity-framework, ef, entity-framework, profiler, sql, sql-profiler, sql-server, sql-server-express, xsql, xSQL-Software on 2009/03/11 | Leave a Comment »
One of my biggest complaints about the Express versions of Sql Server is that Sql Profiler is specifically excluded, a full Sql Server license is required instead. I managed to do without Sql Profiler just fine until I was working on some Entity Framework code and wanted the see the sql getting generated. It certainly [...]
State vs Statement of Intent
Posted in Uncategorized, tagged change-, change-tracking, entity-framework, intent, ORM, state on 2009/03/05 | Leave a Comment »
Interesting distinction.
It boils down to this, an object graph is just “State”. It has no associated “Statement of Intent”.
via Meta-Me : State vs Statement of Intent.