Provides data services for the a multi-tenant parameter table.
This service does not have any configuration for the required services for it to work.
All required services like the CommandBuilder and DataModelCommandBuilder must be configured by a DataServiceOptions<ParameterDataService> configuration within the dependency injection service collection.
Default constructor
public Void ParameterDataService()The alias for the underlaying table.
public String Alias { get; set; }A collection of Fields that defines the table columns.
public IDictionary<String, Field> Fields { get; set; }The name of the underlaying table.
public String Table { get; set; }Gets a collection of parameters with the specified names.
public IList GetParameters(tenantId, params names)| Name | Type | Summary |
|---|---|---|
| tenantId | Int32 | The tenant id for filter the parameters. |
| names | String[] | A collection of parameter names to look for. |
In this document