Interface ICustomScramblingBehaviour
- Namespace
- The.Components
- Assembly
- Instagile.dll
Implement this interface in a legacy entity class if you need to customise the scrambling behaviour for an entity.
public interface ICustomScramblingBehaviour
Methods
PerformCustomScramblingBehaviourAsync(IEntity, DatabaseScramblingContext)
Called just after the current entity has been scrambled for an application to provide custom behaviour for scrambling.
Task PerformCustomScramblingBehaviourAsync(IEntity original, DatabaseScramblingContext scramblingContext)
Parameters
originalIEntityThe unscrambled entity.
scramblingContextDatabaseScramblingContextProvides access to various functions to assist with data scrambling.