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.
Inherited Members
Namespace: Algenta.Colectica.Model.Repository
Assembly: Algenta.Colectica.Model.dll
Syntax
[Serializable]
[DataContract(Namespace = "http://ns.colectica.com/2009/07/")]
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 |
---|---|---|
string | errorCode | The error code. |
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 |
---|---|---|
string | errorCode | The error code. |
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
[DataMember]
public string AgencyId { get; set; }
Property Value
Type | Description |
---|---|
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
[DataMember]
public Guid Identifier { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Version
Gets or sets the version number of the conflicted item.
Declaration
[DataMember]
public long Version { get; set; }
Property Value
Type | Description |
---|---|
long |