Hi,
I have big database with ~400 tables and ~300 views. Going to start using MVC/EF. Selected ASP.NET Boilerplate as framework. As I can understand best approach for me use 'Database First' model.
Have following code:
public class ArticlesAppService : TWAppServiceBase, IArticlesAppService
{
private readonly IRepository<Articles_T> artRepository;
public ArticlesAppService(IRepository<Articles_T> artRepository)
{
this.artRepository = artRepository;
}
public Articles_T Get(int id)
{
return artRepository.Get(id);
}
}
and when I execute Get method - have an error:
_An exception of type 'System.ApplicationException' occurred in EntityFramework.DynamicFilters.dll but was not handled in user code
Additional information: Filter name MustHaveTenant not found_
Are there any ideas what is wrong ?