Click or drag to resize

DataAccessAdapterBaseCreateRecoveryStrategyToUse Method

Creates the recovery strategy object to use. By default it returns null, which means no strategy is used. This method is only called if the property ActiveRecoveryStrategy is set to null. When a valid RecoveryStrategy instance is returned, it's stored in the ActiveRecoveryStrategy property and this method isn't called again until that property is set to null. Do not share recovery strategy instances among threads nor among DataAccessAdapter instances.

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
protected virtual RecoveryStrategyBase CreateRecoveryStrategyToUse()

Return Value

Type: RecoveryStrategyBase
the recovery strategy object to use for this adapter, or null (default) if no strategy has to be used.
See Also