New Post: Generic Repository
My application will have 200 tables, If i choose to use this framework, do i need to create service class for each tables ?
View ArticleNew Post: Generic Repository
No you can just inject IRepostory and use as is, creating Services is best practice for a business facade. Pick and choose what patterns to adopt that makes the most sense for your project, there are...
View ArticleNew Post: Generic Repository
Thanks for your reply !! I have few more questions,If i use service layer, so i need to inject IRepository and IService for all the tables ? Can i have single data context for all 200+ tables will it...
View ArticleReviewed: v3.3.5 (Jan 16, 2015)
Rated 5 Stars (out of 5) - Amazing work! I can not thank you enough!
View ArticleNew Post: Converting OData Controller to WebApi Controller
I am trying to follow the Northwind example provided as sample. In this the oData controller is used to access the data. How we can convert these code(s) to a simple web api controller. So I can use...
View ArticleNew Post: Dispose in CustomerController
NorthwindContext and UnitOfWork would get disposed by Unity,and you don't have to call Dispose() on it yourself. More Details: Unity DI Inject DbContext with PerRequestLifetimeManager
View ArticleReviewed: v3.3.5 (Jan 21, 2015)
Rated 5 Stars (out of 5) - Excellent Code Great work thank you very very much
View ArticleCreated Unassigned: EF7 Support [1245]
This looks really interesting and would love to use it for a project coming up, but am building on EF7. Have you looked in to what is required to support EF7?
View ArticleReviewed: v3.3.5 (ene 26, 2015)
Rated 5 Stars (out of 5) - A great job. An essential and very lightweight framework. Simple and functional from the beginning.
View ArticleNew Post: Issue when perform delete cascade
What is the correct way to perform 'delete cascade' using this framework? The detail issue shown below: The operation failed: The relationship could not be changed because one or more of the...
View ArticleNew Post: About the service layer!
Dear, Thanks for the good framework templates. I'm working on it and implement your framework for my project now. But i'm still so confusing: 1/ About the service layer: we have the generic service...
View ArticleNew Post: Using AsNoTracking() for Queries
Hi, was this implemented? I can´t find it in the code. Thanks.
View ArticleNew Post: Unit test, what do they really test?
Please review run the Integration Test https://genericunitofworkandrepositories.codeplex.com/SourceControl/latest#main/Sample/Northwind.Test/IntegrationTests/CustomerRepositoryTests.cs) which...
View ArticleUpdated Wiki: Documentation
Here are the only two (2) requirements to bootstrap your app and integrate with the framework.All entities are required to implement IObjectState, we've done this through implementing a base entity...
View ArticleNew Post: How do you do a QueryFluent OrderBy with multiple fields?
Please review integration test CustomerRepositoryTest (https://genericunitofworkandrepositories.codeplex.com/SourceControl/latest#main/Sample/Northwind.Test/IntegrationTests/CustomerRepositoryTests.cs)...
View ArticleNew Post: About the service layer!
You only need to over ride these methods if your are needing to add any business logic (pre/post) processing for any CRUD, if you don't just use the implementation as is. The service layer is simply a...
View ArticleNew Post: Dispose in CustomerController
@Berlin, adding to @daniloko's response, it's best practice for us to illustrate proper dispose regardless if there is a DI/IoC framework to handle this or not, reason being is because not everyone...
View ArticleNew Post: Converting OData Controller to WebApi Controller
This is an MVC question not really related to the framework itself, as for how to implement a WebApi controller, you would simply do this as your normally would, the framework does influence how you...
View ArticleNew Post: Generic Repository
YesMulti DataContext, the pattern is better known ad Bounded DbContext/DataContext
View ArticleNew Post: Query
Please run and review the integration tests e.g. https://genericunitofworkandrepositories.codeplex.com/SourceControl/latest#main/Sample/Northwind.Test/IntegrationTests/CustomerRepositoryTests.cs which...
View Article