Class RepositoryConflict
Provides information about a repository conflict, which occurs when an item that was already present in the repository was attempted to be registered.
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
public class RepositoryConflict : RepositoryError
Constructors
RepositoryConflict()
Initializes a new instance of the RepositoryConflict class.
Declaration
public RepositoryConflict()
RepositoryConflict(String, String)
Initializes a new instance of the RepositoryConflict class.
Declaration
public RepositoryConflict(string errorCode, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorCode | The error code. |
System.String | message | The message. |
RepositoryConflict(String, String, IdentifierTriple)
Initializes a new instance of the RepositoryConflict class.
Declaration
public RepositoryConflict(string errorCode, string message, IdentifierTriple compositeId)
Parameters
Type | Name | Description |
---|---|---|
System.String | errorCode | The error code. |
System.String | message | The message. |
IdentifierTriple | compositeId | The identifier of the conflicted item. |
Properties
AgencyId
Gets or sets the agency identifier of the conflicted item.
Declaration
public string AgencyId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompositeId
Gets or sets the composite identifier of the conflicted item.
Declaration
public IdentifierTriple CompositeId { get; set; }
Property Value
Type | Description |
---|---|
IdentifierTriple |
Identifier
Gets or sets the identifier of the conflicted item.
Declaration
public Guid Identifier { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Version
Gets or sets the version number of the conflicted item.
Declaration
public long Version { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 |