Generated by DocFX

Interface ITenantService

Interface ITenantService

Namespace: ISynergy.Framework.Core.Abstractions.Services
Assembly: ISynergy.Framework.Core.dll
Syntax
public interface ITenantService

Properties

View Source

TenantId

Gets the tenant identifier.

Declaration
Guid TenantId { get; }
Property Value
Type Description
Guid

The tenant identifier.

View Source

UserName

Gets the name of the user.

Declaration
string UserName { get; }
Property Value
Type Description
System.String

The name of the user.

Methods

View Source

SetTenant(Guid)

Sets the tenant.

Declaration
void SetTenant(Guid tenantId)
Parameters
Type Name Description
Guid tenantId

The tenant identifier.

View Source

SetTenant(Guid, String)

Sets the tenant.

Declaration
void SetTenant(Guid tenantId, string username)
Parameters
Type Name Description
Guid tenantId

The tenant identifier.

System.String username

The username.

Extension Methods

Matrix.Replace<T>(T, Object, Object)
Matrix.IsEqual(Object, Object, Decimal, Decimal)
EntityBaseExtensions.HasProperty(Object, String)
ArrayExtensions.Concatenate<T>(T, T[])
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>, Func<TSource, Boolean>)
CollectionExtensions.FromHierarchy<TSource>(TSource, Func<TSource, TSource>)
ObjectExtensions.Clone<T>(T)
ObjectExtensions.To<T>(Object)
ObjectExtensions.To(Object, Type)
ObjectExtensions.HasMethod(Object, String)
ObjectExtensions.AddressOf<T>(T)
ReflectionExtensions.GetIdentityValue<T>(T)
ReflectionExtensions.GetIdentityValue<T, TResult>(T)
ReflectionExtensions.GetIdentityProperty<T>(T)
ReflectionExtensions.HasIdentityProperty<T>(T)
ReflectionExtensions.GetPropertyValue<T, TResult>(T, String, TResult)
ReflectionExtensions.GetPropertyInfo<T, TValue>(T, Expression<Func<T, TValue>>)
ReflectionExtensions.GetTitleValue<T>(T)
ReflectionExtensions.HasParentIdentityProperty<T>(T)
ReflectionExtensions.GetParentIdentityProperty<T>(T)
ReflectionExtensions.IsFreeApplication<T>(T)