Attribute used to classify a DataContract whose audit information can be
uniquely identified and reconstructed based on a compressed set of the
DataMember properties it contains.
Inheritance Hierarchy
SystemAttribute
PASI.DataContract.AttributesCompressForAuditAttribute
Namespace: PASI.DataContract.Attributes
Assembly: PASI.DataContract (in PASI.DataContract.dll) Version: 9.25.26.0 (9.25.26.0)
Syntax
The CompressForAuditAttribute type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CompressForAuditAttribute |
Create an instance of the attribute.
|
Properties
Name | Description | |
---|---|---|
IdPropertyName |
(Optional) Name of the property within the data contract that should be used
to extract as the identifier of the object
NOTE: By default the property name "RefId" will be assumed as it is very common
| |
ReplacementTypeName |
(Optional) Static name to be used to identify the object being compressed, overrides the
default usage of the class name of the decorated data contract.
NOTE: By default the class name of the data contract will be used as the Type,
secondly the TypePropertyName will be used (if provided) to extract the Type from
a property on the decorated data contract. If TypePropertyName is provided,
this property will be ignored.
| |
TypePropertyName |
(Optional) Name of the property within the data contract that should be used
to extract the Type of the decorated object. This should only be used if the
Data contract this attribute is decorating is not viable. For instance CodeValueInfo
NOTE: By default the class name of the data contract will be used as Type,
only needed if this default behavior should be overridden.
| |
VersionPropertyName |
(Optional) Name of the property within the data contract that should be used
to extract the version of the object
NOTE: By default the property name "PASICoreVersion" will be assumed as it is very common
|
Remarks
See Also