Base solution for your next web application

Activities of "paladyr"

Does anyone know of a sample that shows how to add a method to the repository that returns a list of objects using a SqlQuery? Thanks!

So I already looked at the MultipleDbContextDemo solution and I don't get what I'm doing wrong. Here's what I've done:

I created a new AbpDbContext for the second connection. I created another RespositoryBase (not sure if that's necessary) for this new AbpDbContext The repository I want to use with the second dbcontext uses the new RepositoryBase and DbContext

When the repository that I want to use with the second dbcontext is called it's using the default (first) dbcontext. What am I doing wrong? Thanks!

I created two AbpDbContext classes but I don't know how to tell my repository to use the second DbContext. I looked at the MultipleDbContextDemoDataModule project but I still don't understand how it knows to use the MySecondDbContext for Courses. The repository I want to use the second DbContext is currently pulling in the first (default) one. Thanks!

Showing 1 to 3 of 3 entries