TenantDataServices implements the data services for the TenantStore.TENANT table.
Default constructor
public Void TenantDataServices()
The alias for the underlaying table.
public String Alias { get; set; }
A dictionary of field configuration for the underlaying table.
public IDictionary<String, Field> Fields { get; set; }
The name of the underlaying table.
public String Table { get; set; }
Filters tenants applying the first term (if any) to the name and display name column.
public Task FilterAsync(listing)
Name | Type | Summary |
---|---|---|
listing | Listing<Tenant> | Argument to filter tenants. |
Type | Summary |
---|---|
ArgumentNullException | Thrown when listing is null. |
Gets a provisioned tenant looking by it's name without considering the case.
public Tenant GetProvisionedTenantByNameCaseInsensitive(name)
A provisioned tenant or null if the tenant does not exists or it is not provisioned.
Name | Type | Summary |
---|---|---|
name | String | Tenant name to look for. |
Gets the tenant looking by it's ID.
public Tenant GetTenantById(tenantId)
The tenant for the specified Id.
Name | Type | Summary |
---|---|---|
tenantId | Int32 | Tenant Id to look for. |
Gets the tenant looking by it's name without considering the case.
public Tenant GetTenantByNameCaseInsensitive(name)
Name | Type | Summary |
---|---|---|
name | String |