TenancyService Class
Namespace: PTS.EntityLayer.Tenancy
Assembly: PTS.EntityLayer.Tenancy.dll
Syntax
public class TenancyService : EntityService, ITenancyService, IStartupDependency, IModelBuilderService
Constructors
TenancyService(IEntityServiceScope)
Declaration
public TenancyService(IEntityServiceScope container)
Parameters
Type | Name | Description |
---|---|---|
IEntityServiceScope | container |
Properties
Guid
Declaration
public Guid Guid { get; }
Property Value
Type | Description |
---|---|
System.Guid |
TenantId
Declaration
public long? TenantId { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Methods
ConfigureModel(ModelBuilder)
Declaration
public void ConfigureModel(ModelBuilder model)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.EntityFrameworkCore.ModelBuilder | model |
Start()
Declaration
public void Start()
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()