Click or drag to resize

EncryptDataAttribute Class

Defines an attribute that provides encryption of text field contents for a modeled table.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    GSF.Data.ModelEncryptDataAttribute

Namespace: GSF.Data.Model
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
[AttributeUsageAttribute(AttributeTargets.Property)]
public sealed class EncryptDataAttribute : Attribute
View Source

The EncryptDataAttribute type exposes the following members.

Constructors
 NameDescription
Public methodEncryptDataAttribute Creates a new EncryptDataAttribute.
Public methodEncryptDataAttribute(String) Creates a new EncryptDataAttribute with a specified keyReference value.
Top
Properties
 NameDescription
Public propertyKeyReference Gets reference name used to lookup encryption key and initialization vector; new keys will be created for reference if it does not exist.
Public propertyTypeIdWhen implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
Top
Methods
 NameDescription
Public methodEqualsReturns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from Attribute)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodIsDefaultAttributeWhen overridden in a derived class, indicates whether the value of this instance is the default value for the derived class.
(Inherited from Attribute)
Public methodMatchWhen overridden in a derived class, returns a value that indicates whether this instance equals a specified object.
(Inherited from Attribute)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Fields
 NameDescription
Public fieldStatic memberDefaultKeyReference Default key reference value.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
Remarks
Application of attribute is only valid on String properties; attribute will be ignored if applied to properties of other types.
See Also