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>IBufferMessageIMessage
- Inherited Members
Constructors
ConstraintRule()
public ConstraintRule()
ConstraintRule(ConstraintRule)
public ConstraintRule(ConstraintRule other)
Parameters
otherConstraintRule
Fields
AliasFieldNumber
Field number for the "alias" field.
public const int AliasFieldNumber = 2
Field Value
DisabledFieldNumber
Field number for the "disabled" field.
public const int DisabledFieldNumber = 3
Field Value
NameFieldNumber
Field number for the "name" field.
public const int NameFieldNumber = 1
Field Value
RelationshipExclusionRuleFieldNumber
Field number for the "relationship_exclusion_rule" field.
public const int RelationshipExclusionRuleFieldNumber = 5
Field Value
RoleFieldNumber
Field number for the "role" field.
public const int RoleFieldNumber = 4
Field Value
Properties
Alias
public string Alias { get; set; }
Property Value
ConstraintRuleTypeCase
public ConstraintRule.ConstraintRuleTypeOneofCase ConstraintRuleTypeCase { get; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
Disabled
public bool Disabled { get; set; }
Property Value
Name
public string Name { get; set; }
Property Value
Parser
public static MessageParser<ConstraintRule> Parser { get; }
Property Value
- MessageParser<ConstraintRule>
RelationshipExclusionRule
public RelationshipExclusionRule RelationshipExclusionRule { get; set; }
Property Value
Role
public ConstraintRuleRole Role { get; set; }
Property Value
Methods
CalculateSize()
public int CalculateSize()
Returns
ClearConstraintRuleType()
public void ClearConstraintRuleType()
Clone()
public ConstraintRule Clone()
Returns
Equals(ConstraintRule)
public bool Equals(ConstraintRule other)
Parameters
otherConstraintRule
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(ConstraintRule)
public void MergeFrom(ConstraintRule other)
Parameters
otherConstraintRule
MergeFrom(CodedInputStream)
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStream