Interface IObfuscatedField
Inherited Members
Namespace: LemonEdge.API.Entities.Design
Assembly: LemonEdge.API.dll
Syntax
[EntityDefinition(EntityID.ObfuscatedField, "dbo.LT_ObfuscatedFields", "ObfuscatedField")]
[DefaultEntityIcon(ImageType.Rename)]
public interface IObfuscatedField : IBaseEntityWithPermissions, IBaseEntity, IEquatable<IBaseEntity>, INotifyPropertyChanged, INotifyPropertyChanging, ICloneableAsync, ICanTrackProperties, ISetCopier
Properties
EntityTypeID
[Key] Indicates what entity you want to obfuscate a field for
Declaration
[EntityProperty(SQLType.UniqueIdentifier, false, IsEntityTypeLink = true)]
[RequiredNoDefaultIDValidation]
[EntityKeyProperty]
[EntityDescription("Indicates what entity you want to obfuscate a field for")]
Guid EntityTypeID { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Length
The length of obfuscation to apply to the property
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The length of obfuscation to apply to the property")]
ObfuscationLength Length { get; set; }
Property Value
Type | Description |
---|---|
ObfuscationLength |
PropertyName
The name of the property you want to obfuscate
Declaration
[EntityProperty(SQLType.NVarChar, 500, false)]
[EntityDescription("The name of the property you want to obfuscate.")]
[EntityKeyProperty]
[Required]
string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The type of obfuscation to apply to the property
Declaration
[EntityProperty(SQLType.SmallInt, false)]
[EntityDescription("The type of obfuscation to apply to the property")]
[HardCodedDefaultValueOnNew("1")]
ObfuscationType Type { get; set; }
Property Value
Type | Description |
---|---|
ObfuscationType |