Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "purplerain"

Hi,

There is a scenario where we keep some data which should be available to all tenants but in the virtual entity it's coming as null so I suppose it's to do with multi tenancy, what is the way around this.

For example

public class ClassOne : Entity, IMustHaveTenant { public virtual int TenantId { get; set; } public int ClassTwoId {get;set;} [ForeignKey("ClassTwoId")] public virtual ClassTwo {get;set;} }

public class ClassTwo : Entity { }

ClassTwo is coming as null when I access ClassOne although there is a data for the id.

How do I fix this? Plz help

Hi, Is there any way to add existing users to put in Tenants? I mean I had multitenancy as false before. I have enabled it now and want to migerate all existing users to have new tenants.

Whats the best approach to do this?

Thanks

Showing 1 to 2 of 2 entries