Displaying posts categorized under

Database

Announcing the NHibernate Generic Repository implementation

Ok, so Entity Framework is NOT good enough yet – I will instead focus on NHibernate.
I have created a codeplex open source project for a generic repository. You (client) work against interfaces (there is a EF4 implementation as well in the download, but I as I said, I will not do anything more on [...]

Entity Framework generic repositories

…and more…
Continuing my EF4 progress series: 
Part 1

Part 2
here is now my latest version. What’s new in it? Well basically a lot. Starting with the GUI and functionality I have now crud for orders as well as orderrows. And I have added a new entity into my model, namely product. So you basically start off [...]

Entity Framework select random row

While one of the obvious benefits of EF (and Linq to sql) is the abtraction of the SQL. You use LINQ instead. However, somewhere, somehow your LINQ query must be translated to SQL and sooner or later you will find yourself wondering why things wont work.
Selecting a random record was a problem for me. I [...]

EF4 – iteration 2

Ok, so my first try of getting a proof of concept application (according to my typical application architechture needs) is available here in part 1
Read that article first so you’ll get an understanding of where I come from and where I wanna go…
This is iteration 2. Here I am using the order/detail  parts from [...]