Class MultitenantPerson
Represents a person in the multi-tenant identity system.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: IRM.AspNetCore.Identity
Assembly: IRM.AspNetCore.Identity.EntityFrameworkCore.dll
Syntax
[Stream("Person")]
public class MultitenantPerson : Person, IPerson, IPersonName, IUniqueIdentifier, IHaveEmail, IEventAggregate, IHaveClaims, IEventSourced, IMultitenantEntity, ISupportMultitenant
Properties
TenantId
Gets or sets the identity of the tenant that this user belongs to.
Declaration
public Guid TenantId { get; set; }
Property Value
System.Guid
|
Implements
Methods
RaiseEvent(IEvent)
Adds an event to the aggregate. The added event will be handled if an IEventSourceRepository is configured.
Declaration
public override void RaiseEvent(IEvent event)
Parameters
IEvent
event
The IEvent to add to the aggregate. |
Overrides
Explicit Interface Implementations
ISupportMultitenant.OwnerId
Declaration
Guid ISupportMultitenant.OwnerId { get; }
Returns
System.Guid
|