Class ConstraintRule

Namespace
EsriPBuffer.Graph
Assembly
ESRI.Server.SOESupport.dll

When enabled, constraint rules are applied to entities or relationships during ApplyEdits.

public sealed class ConstraintRule : IMessage<ConstraintRule>, IEquatable<ConstraintRule>, IDeepCloneable<ConstraintRule>, IBufferMessage, IMessage
Inheritance
ConstraintRule
Implements
IMessage<ConstraintRule>
IDeepCloneable<ConstraintRule>
IBufferMessage
IMessage
Inherited Members

Constructors

ConstraintRule()

public ConstraintRule()

ConstraintRule(ConstraintRule)

public ConstraintRule(ConstraintRule other)

Parameters

other ConstraintRule

Fields

AliasFieldNumber

Field number for the "alias" field.

public const int AliasFieldNumber = 2

Field Value

int

DisabledFieldNumber

Field number for the "disabled" field.

public const int DisabledFieldNumber = 3

Field Value

int

NameFieldNumber

Field number for the "name" field.

public const int NameFieldNumber = 1

Field Value

int

RelationshipExclusionRuleFieldNumber

Field number for the "relationship_exclusion_rule" field.

public const int RelationshipExclusionRuleFieldNumber = 5

Field Value

int

RoleFieldNumber

Field number for the "role" field.

public const int RoleFieldNumber = 4

Field Value

int

Properties

Alias

public string Alias { get; set; }

Property Value

string

ConstraintRuleTypeCase

public ConstraintRule.ConstraintRuleTypeOneofCase ConstraintRuleTypeCase { get; }

Property Value

ConstraintRule.ConstraintRuleTypeOneofCase

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Disabled

public bool Disabled { get; set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Parser

public static MessageParser<ConstraintRule> Parser { get; }

Property Value

MessageParser<ConstraintRule>

RelationshipExclusionRule

public RelationshipExclusionRule RelationshipExclusionRule { get; set; }

Property Value

RelationshipExclusionRule

Role

public ConstraintRuleRole Role { get; set; }

Property Value

ConstraintRuleRole

Methods

CalculateSize()

public int CalculateSize()

Returns

int

ClearConstraintRuleType()

public void ClearConstraintRuleType()

Clone()

public ConstraintRule Clone()

Returns

ConstraintRule

Equals(ConstraintRule)

public bool Equals(ConstraintRule other)

Parameters

other ConstraintRule

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(ConstraintRule)

public void MergeFrom(ConstraintRule other)

Parameters

other ConstraintRule

MergeFrom(CodedInputStream)

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream