Click or drag to resize

ShadowFiltering Class

A helper class for use by IField objects to implement standard ShadowColumn fields implementing one of the ShadowAlgorithm algorithms.
Inheritance Hierarchy
SystemObject
  NetQuarry.DataShadowFiltering

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static class ShadowFiltering

The ShadowFiltering type exposes the following members.

Methods
  NameDescription
Public methodStatic memberGenShadowValue(Object, ShadowAlgorithm)
Applies the ShadowAlgorithm to val to generate a ShadowColumn value should be used to store and filter.
Public methodStatic memberGenShadowValue(String, ShadowAlgorithm)
Applies the ShadowAlgorithm to val to generate a ShadowColumn value should be used to store and filter.
Public methodStatic memberPhoneFilter
Converts a phone number string into a string appropriate for storing or searching with a ShadowColumnIField that uses the Phone algorithm. Among other transformations, expected phone number punctuation (e.g. '-', '.', '(', ')') is removed.
Public methodStatic memberUnpunctuateFilter
Converts a string into an ASCII alphanumeric string appropriate for storing or searching with a ShadowColumnIField that uses the Unpunctuate algorithm. All characters except ASCII 0-9, a-z, and A-Z are removed. This includes removal of all non-ASCII characters.
Top
See Also