Base solution for your next web application

Activities of "worthyvii"

Ah, it was renamed to PagedAndSortedResultRequestDto

Update the docssssssss

Ok this was down to the App.Config in the test project. It needs to be configured to be using the Effort provider instead of your usual one. That fixes all problems

Answer

I think you want to be using the tenant manager, multi-tenancy, and look at using EntityFramework.dynamicfilters for this filtering

Oh no, what fixed the problem was running a single test by itself... something seems wrong.

Just my 2 cents, this happened because I had checked "Run tests in parallel" at the top of the Test Explorer in VS.

Thanks so much!

<a class="postlink" href="https://github.com/jcachat/EntityFramework.DynamicFilters">https://github.com/jcachat/EntityFramew ... micFilters</a> ?

This is the final puzzle piece I was looking for to be able to fully embrace ABP. I have a complex system with 2 tenancy sides. (Our company, and other suppliers).

I'm sure I'm probably supposed to be creating a whole separate project for each side of the system, but for now I don't have time to make such huge changes.

Sorry, my long reply was deleted (dam network) so I'll make this one short.

I see, so session wouldn't be used in domain, but the user in question may be passed up directly. Doesn't this make Application part of the presentation(Web layer?)

Disregarding that, my question is closer to "How did you implement multi-tenant filtering?".

I don't see where you do it inside your AbpRepositoryBase....

Thanks

In response to my previous message, here is the solution to avoid the 32 character name limit in Oracle. Add this to your DbContext class.

protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {

            modelBuilder.HasDefaultSchema("ORACLEUSERINCAPITALLETTERS");

            //short oracle names
            modelBuilder.Entity<NotificationSubscriptionInfo>()
                .Property(t=>t.EntityTypeAssemblyQualifiedName)
                .HasColumnName("EntityTypeAssQualName");


            modelBuilder.Entity< NotificationInfo >()
                .Property(t => t.EntityTypeAssemblyQualifiedName)
                .HasColumnName("EntityTypeAssQualName");


            modelBuilder.Entity<NotificationInfo>()
                .Property(t => t.EntityTypeAssemblyQualifiedName)
                .HasColumnName("EntityTypeAssQualName");

            modelBuilder.Entity<TenantNotificationInfo>()
                .Property(t => t.EntityTypeAssemblyQualifiedName)
                .HasColumnName("EntityTypeAssQualName");
...

This seems impossible because MZ includes a field which is over 30 chars long, which Oracle won't allow. Can you confirm if you're gonna change this hikalkan?

Showing 11 to 20 of 20 entries