Search Results for

    Show / Hide Table of Contents

    Class ChangeField

    Represents a modification made to a single field or property of a particular record or entity.

    Inheritance
    object
    ChangeField
    Implements
    IValidator
    IExtensibleDataObject
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    [DataContract(Namespace = "http://schemas.nevatech.com/sentinet/2011/02")]
    public sealed class ChangeField : IValidator, IExtensibleDataObject

    Constructors

    ChangeField()

    Initializes an empty instance.

    Declaration
    public ChangeField()

    ChangeField(string, object, object)

    Initializes new instance with provided field name, previous and new values.

    Declaration
    public ChangeField(string fieldName, object previousValue, object newValue)
    Parameters
    Type Name Description
    string fieldName

    Display name of the field.

    object previousValue

    Previous value that has been replaced.

    object newValue

    New value that has been assigned.

    Properties

    ChangeRecordId

    Gets or sets the identifier of the master change record describing the entity that has been updated.

    Declaration
    [DataMember]
    public int ChangeRecordId { get; set; }
    Property Value
    Type Description
    int

    ErrorMessage

    Gets the summary of validation errors populated by the call to Validate() method.

    Declaration
    public string ErrorMessage { get; }
    Property Value
    Type Description
    string

    ExtensionData

    Gets or sets ExtensionDataObject that enables serialization roundtrips.

    Declaration
    public ExtensionDataObject ExtensionData { get; set; }
    Property Value
    Type Description
    ExtensionDataObject

    FieldName

    Gets or sets the name of the property that has been updated.

    Declaration
    [DataMember]
    public string FieldName { get; set; }
    Property Value
    Type Description
    string

    Id

    Gets or sets the change identifier.

    Declaration
    [DataMember]
    public int Id { get; set; }
    Property Value
    Type Description
    int

    NewValue

    Gets or sets the property value after the updated was done.

    Declaration
    [DataMember]
    public string NewValue { get; set; }
    Property Value
    Type Description
    string

    PreviousValue

    Gets or sets the property value before the update was done.

    Declaration
    [DataMember]
    public string PreviousValue { get; set; }
    Property Value
    Type Description
    string

    Methods

    Validate()

    Evaluates the state of this object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    bool

    True if state is valid; otherwise, false.

    Implements

    IValidator
    IExtensibleDataObject
    In This Article
    Back to top Nevatech Sentinet 6.7 Online Documentation