Show / Hide Table of Contents

    Class ChangeSet

    Represents a group of data modifications made as a single operation, at the same time, and by the same user.

    Inheritance
    Object
    ChangeSet
    ChangeSetDefinition
    Implements
    IValidator
    IExtensibleDataObject
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Entities
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public class ChangeSet : IValidator, IExtensibleDataObject

    Constructors

    ChangeSet()

    Initializes an empty instance.

    Declaration
    public ChangeSet()

    ChangeSet(ChangeSet)

    Initializes new instance from provided changeset.

    Declaration
    public ChangeSet(ChangeSet changeSet)
    Parameters
    Type Name Description
    ChangeSet changeSet

    Changeset to be initialized from.

    Properties

    Created

    Gets the date and time when modification(s) were done.

    Declaration
    public DateTime Created { get; }
    Property Value
    Type Description
    DateTime

    Description

    Gets or sets the description of the operation that has been performed by the user.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    String

    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

    Id

    Gets or sets the changeset identifier.

    Declaration
    public int Id { get; set; }
    Property Value
    Type Description
    Int32

    IdentityName

    Gets or sets the name of identity that was used to authenticate the user.

    Declaration
    public string IdentityName { get; set; }
    Property Value
    Type Description
    String

    UserId

    Gets or sets the identifier of the user who made the change(s). Identifier can be Null for system-initiated changes.

    Declaration
    public int? UserId { get; set; }
    Property Value
    Type Description
    Nullable<Int32>

    UserName

    Gets the full name of the user who made the change(s).

    Declaration
    public string UserName { get; }
    Property Value
    Type Description
    String

    Methods

    Validate()

    Evaluates the state of this object.

    Declaration
    public bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Implements

    IValidator
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.5 Online Documentation