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.4.0.0 (5.4.0)
Syntax protected virtual RecoveryStrategyBase CreateRecoveryStrategyToUse()
Protected Overridable Function CreateRecoveryStrategyToUse As RecoveryStrategyBase
Return Value
Type:
RecoveryStrategyBasethe recovery strategy object to use for this adapter, or null (default) if no strategy has to be used.
See Also