Updated Wiki: Documentation
For questions and support please contact Le on Twitter @LeLong37v3.3 Adding Custom RepositoriesUpdated 7/24/2014Real (Integration) Tests Added - Updated 7/20/2014Sample application refreshed with...
View ArticleNew Post: Entities in separate project
Hi, great work on this! I have one question though - what exactly is the rationale for separating the entity classes out into their own project apart from the rest of the EF stuff?
View ArticleNew Post: The method 'Skip' is only supported for sorted input in LINQ to...
Basically I am trying to do server side paging. I get an error (above) when trying to do the stuff below. How can I set the orderBy ? protected void Page_Load(object sender, EventArgs e) {...
View ArticleNew Post: What is Class Map is for?
Can anybody shed some light what the Map classes (CustomerMap) is for?
View ArticleNew Post: Repository.Pattern vs. Repository.Pattern.Ef6
So I'm looking at this solution and found that there are two projects in it and what is Repository.Pattern and Repository.Pattern.Ef6 (is using EF 6) is for and use of it in this solution. Please advice.
View ArticleNew Post: Not able to get Deep Load working
Hi, I am definitely having issues with Deep Loading - have spent days on this issue and really struggling to resolve. The statement I am using is same as above: var artist = _artistService.Query(a...
View ArticleNew Post: The method 'Skip' is only supported for sorted input in LINQ to...
You must use OrderBybeforeSelectPage. grdAccountList.DataSource = accountService.Query() .OrderBy(queryable => queryable.OrderBy(account => account.Id)) .SelectPage(grdAccountList.PageIndex,...
View ArticleNew Post: The method 'Skip' is only supported for sorted input in LINQ to...
Thanks a lot emperor_ming. I mostly had it right, except that I need to brush up on LINQ. I didn' t know that I could do this :".OrderBy(account => account.Id))" ....thanks
View ArticleNew Post: Liscence Restrictions/Prerequistes on using this.
I have created a small and simple boiler plate framework for creating simple websites with ASP.Net MVC, I was looking to add Generic Repository Pattern to and this is the best and most flexible...
View ArticleNew Post: Why DataContext class does not have a overload constructor?
The only constructor:public DataContext(string nameOrConnectionString) : base(nameOrConnectionString) { _instanceId = Guid.NewGuid(); Configuration.LazyLoadingEnabled = false;...
View ArticleNew Post: IValidatableObject
One more question: How/where would one implement IValidatableObject, to accomplish UI validation? I would surmise that, for a Product entity, it would be by either modifying the (in this example)...
View ArticleNew Post: Scaffolding Controllers does not work
I got the same error! An "fix"that i made, is to create a fake DbContext and then choose it when asked for the dbContext class on the scaffolding item wizard. And after that, i've deleted that fake...
View ArticleNew Post: Database Initializer Seed Method not being called
I've trying to generate a new database, but the database is not being updated/created, and the seed method is never called, even if i try to execute some method to access the database. Anyone have an...
View ArticleNew Post: Reverse Engineer code first generated code inherition
When I generate Model classes using Entity framework power tools, it doesn't inherit from Entity class. I gone ahead and configured the T4 template class to basically inherit from...
View ArticleNew Post: Reverse Engineer code first generated code inherition
Yes, there is a T4 template in the Northwind.Entities project which will do this.
View ArticleNew Post: Liscence Restrictions/Prerequistes on using this.
You may want to hold off on this effort, we are currently working on the best way to package this and publish to NuGet. It's taking some time due to some deep thought around keeping the separation of...
View ArticleNew Post: Reverse Engineer code first generated code inherition
lelong37 wrote: Yes, there is a T4 template in the Northwind.Entities project which will do this. Oops! I did not realize that I could use Northwind.Entities project when I had to solve the same issue...
View ArticleNew Post: Liscence Restrictions/Prerequistes on using this.
Will continue this thread on: https://genericunitofworkandrepositories.codeplex.com/discussions/465041
View Article