MapperFiltersCreateInstance Method (IAppContext, String, Boolean) |
Creates an instance of the collection. If metadata caching is enabled, this method retrieves an
instance from the global cache and creates a clone of the object. If metadata caching is enabled and
the object isn't yet cached, this method caches the object.
Namespace:
NetQuarry.Data
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static MapperFilters CreateInstance(
IAppContext appContext,
string dataMapperKey,
bool cacheWithTenantId
)
Public Shared Function CreateInstance (
appContext As IAppContext,
dataMapperKey As String,
cacheWithTenantId As Boolean
) As MapperFilters
Parameters
- appContext
- Type: NetQuarryIAppContext
The application context object. - dataMapperKey
- Type: SystemString
The Mapper.Key value to use for caching purposes. - cacheWithTenantId
- Type: SystemBoolean
Boolean value indicating whether the mapper filters should be cached by tenant id for this mapper.
Return Value
Type:
MapperFiltersAn MapperFilters collection.
See Also