Is there anyway to implement an repository that uses active directory (or any other data source than relational db) as the data source and can get entity objects that has the ability to lazy load thei
For my unit testing, I need to fake a Repository.I have easily been able to fake all the methods except for the Find method which takes in a Linq Expression de开发者_开发问答legate as a parameter.
If I have a Repository designed for obtaining my Aggregate Root (as defined by Eric Evans DDD) e.g. an Order Entity (the Root Aggregate) which would have OrderLine objects as children.
I have a SVN project at work that looks like this: Repository project |-- docs |-- scripts `-- app |-- trunk
I Have 3 entities. Product LangID ProductName Category LangID CatName ProductType LangID TypeName As you can see, each of them has LangID Property.
I am creating a store with ASP.NET 4.0 MVC and C# and am fairly new to it. I have come to creating the View page that displays the products within a certain category.
If you return IList(T) from your repository ... How could you efficiently create SQL queries when you join the data together?
I use Entity Framework 4. How can I perform a Generic Where Lambda Clause.? I Have many Entity that need the same Where开发者_如何学运维 Query.
I am new to repositories.I just read about implementing predicates and a Unit of Work (Fowler).I have seen repository interfaces like the following:
If you populate a drop down list of possible values, you only want the database query to pull two fields, a value and text (like customer ID and Name).