Just my 2 cents, this happened because I had checked "Run tests in parallel" at the top of the Test Explorer in VS.
Hello.
How can I map things using the fluent Api in a similar way to CreatedUserId on the ICreationAudited interface.
I want to attach an interface, and have it automatically create the foreign key link in the database. How did you guys accomplish this? I cannot see it in the code
What is the recommended way to write tests which test input which depends on tenant ID? (Create message, for example)
Thanks so much!
Hello,
I would like to add IP Address to the information saved on a table. How would I do this?
<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");
...
Hello,
In the documentation for session: <a class="postlink" href="http://www.aspnetboilerplate.com/Pages/Documents/Abp-Session">http://www.aspnetboilerplate.com/Pages/ ... bp-Session</a>
You wrote that: "it's adviced to use IAbpSession in application layer and upper layers (we don't use it in domain layer normally). " advised *
However, to do multi-tenancy, aren't you taking the session and applying the TenantId somewhere in your Repository<Entity> ?
Is this a necessary evil? Please clarify if I missed something, thanks.
Hello,
I'm reading through all the lovely code right now and I have noticed that the whole authentication is managed in the controller (Account).
Why isn't this just passed up to a service at the Application level? Because of this, we have to pull the Core assembly into the Web assemble.
I'm sure there is a good reason, (getting Owin service from the Http context?) but is there a way we can pull that apart too?
Thanks