I am absolutely new to 开发者_Python百科Entity Framework so please don\'t hesitate to point any errors. Anyway I\'ll try to describe my problem as I understand it.
I\'m about to start a small project using .NET 4, C#, and Entity Framework v4. I have 50 tables plus. If I write a separate CRUD for each entity (each table) will be a lot of work and I\'m practicing
This question got me today, my repositories should always return full objects? They can not return partial data (in an array for example)?
I don\'t understand why the code below not compile (on the QueryOver line), I tried wih NHibernate 3.1 and3.2
I\'m pretty new to the repository pattern and dependency injection. Almost all repository patterns I\'ve come across has some sort of GetAll() method like so:
Im trying to implement a UnitofWork pattern using this Scott Allen tutorial My current SqlUnitOfWork is the folowing
Let me say, I have come to the conclusion (after a lot of trial) that Repository & Unit of Work when using Entity Framework is just wrong, wrong, wrong and this says why quite well.
My database is relatively small, 8 tables, each with less than 5 columns. I use EF. I created single repository class, but now that I think it might not be the right way to use it. Should I have separ
I had the wrong idea of how to create a repository.I created a single repository for each Entity that would CRUD using an ORM, which worked very well.However, I needed more and didn\'t know how to do
I\'ve been doing a lot of reading about repository pattern (Linq2SQL or EF). I\'ve seen some repositories with some specific queries, such as FindUserByName where I would开发者_如何学Python pass a whe