Quantcast
Channel: URF - Unit of Work & (extensible/generic) Repositories Framework
Browsing all 1539 articles
Browse latest View live

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 Article


New 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 Article


New 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 Article

Reviewed: v3.3.5 (Jan 16, 2015)

Rated 5 Stars (out of 5) - Amazing work! I can not thank you enough!

View Article

New 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 Article


New 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 Article

Reviewed: v3.3.5 (Jan 21, 2015)

Rated 5 Stars (out of 5) - Excellent Code Great work thank you very very much

View Article

Created 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 Article


Reviewed: 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 Article


New 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 Article

New 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 Article

New Post: Using AsNoTracking() for Queries

Hi, was this implemented? I can´t find it in the code. Thanks.

View Article

New 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 Article


Image may be NSFW.
Clik here to view.

Updated 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 Article

New 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 Article


New 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 Article

New 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 Article


New 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 Article

New Post: Generic Repository

YesMulti DataContext, the pattern is better known ad Bounded DbContext/DataContext

View Article

New 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
Browsing all 1539 articles
Browse latest View live