RepositorySettingsT(RepositoryCachingBehavior, TimeSpan, NullableTimeSpan, ISubEntityFetchPlan, ExpressionFuncT, Boolean) Constructor

Constructor

Definition

Namespace: Ignition.Framework.Repositories
Assembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
C#
public RepositorySettings(
	RepositoryCachingBehavior cachingBehavior,
	TimeSpan cacheDuration,
	TimeSpan? cacheDurationForConfigurableLists,
	ISubEntityFetchPlan subEntityFetchPlan = null,
	Expression<Func<T, bool>> predicate = null
)

Parameters

cachingBehavior  RepositoryCachingBehavior
Determines if a repository should cache its entities
cacheDuration  TimeSpan
Determines how long a repository should cache its entities if caching is enabled
cacheDurationForConfigurableLists  NullableTimeSpan
Determines how long a repository should cache its configurable lists.
subEntityFetchPlan  ISubEntityFetchPlan  (Optional)
Fetch plan used to determine how sub-entities are retrieved over the network
predicate  ExpressionFuncT, Boolean  (Optional)
Predicate for filtering the entities that this repository returns

See Also