New Post: UnityConfig + .RegisterType
Understood. I suppose I'm trying to only use the Services pattern, for that very reason. But I don't know the specific BL yet, so I was hoping to be able to use a generic service in my own Service...
View ArticleNew Post: UnityConfig + .RegisterType
You could implement this in abstract Service or Repository/RepositoryAsync classes however this would dictate that every entity would do a soft delete moving forward, I would still implement the full...
View ArticleNew Post: UnityConfig + .RegisterType
Okay. Thanks for your help and quick responses! I'm very glad to have found it. Good stuff!
View ArticleNew Post: Scaffolding Controllers does not work
I apologize I'm late to the discussion, I was able to get the scaffolding working, of course with extra effort. I didn't have to change my scaffolding template even though I started down that path...
View ArticleNew Post: Circular Dependency Error
When attempting to inject Services in other Services, it's causing Circular Dependencies and Stackoverflow exception. As I need to call a method in another service which has some business logic. Is...
View ArticleNew Post: How I can use Transactions in my Service layer?
How I can use Transactions in my Service layer? Do you have an example? Thanks for all your help
View ArticleNew Post: ICollectionView throw Entity Framework Attach exception
..I tried the dbSet.AsNoTracking(). But Still continue to get the ""System.InvalidOperationException: Attaching an entity of type 'NS.Models.EntityName' failed because another entity of the same type...
View ArticleNew Post: ICollectionView throw Entity Framework Attach exception
Could you post your AsNoTracking implementation?
View ArticleNew Post: How I can use Transactions in my Service layer?
Simply inject IUnitOfWork into your service or any other class that needs transactions. Links to get your...
View ArticleNew Post: ICollectionView throw Entity Framework Attach exception
same thing as 'Daniloloko' did above."The Repository.cs has a internal IQueryable<TEntity> Select(.... I added the AsNoTracking() on this line: _IQueryable<TEntity> query =...
View ArticleNew Post: ICollectionView throw Entity Framework Attach exception
I never get this running... but i found the problem.... the Entity framework... I have a full error explanation: Stackoverflow But i never found the solution... and i maked my project again zero using...
View ArticleNew Post: A referential integrity constraint violation occurred.
Using this framework I am receiving this error when adding a new entity, with a related entity. A referential integrity constraint violation occurred: The property value(s) of on one end of a...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View ArticleUpdated Wiki: Home
Generic Unit of Work and Repositories (lightweight fluent) Framework with Sample Northwind ASP.NET MVC 5 ApplicationThis framework minimizes the surface area of your ORM technology from disseminating...
View Article