RepositorySettingsT(RepositoryCachingBehavior, TimeSpan, ISubEntityFetchPlan) Constructor
Constructor
Namespace: Ignition.Framework.RepositoriesAssembly: CatalystFire.Ignition (in CatalystFire.Ignition.dll) Version: 12.0.3454
public RepositorySettings(
RepositoryCachingBehavior cachingBehavior,
TimeSpan cacheDuration,
ISubEntityFetchPlan subEntityFetchPlan = null
)
Public Sub New (
cachingBehavior As RepositoryCachingBehavior,
cacheDuration As TimeSpan,
Optional subEntityFetchPlan As ISubEntityFetchPlan = Nothing
)
public:
RepositorySettings(
RepositoryCachingBehavior cachingBehavior,
TimeSpan cacheDuration,
ISubEntityFetchPlan^ subEntityFetchPlan = nullptr
)
new :
cachingBehavior : RepositoryCachingBehavior *
cacheDuration : TimeSpan *
?subEntityFetchPlan : ISubEntityFetchPlan
(* Defaults:
let _subEntityFetchPlan = defaultArg subEntityFetchPlan null
*)
-> RepositorySettings
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
- subEntityFetchPlan ISubEntityFetchPlan (Optional)
- Fetch plan used to determine how sub-entities are retrieved over the network