Class ReservedKeysVerificationStrategy
Provides a way to prevent traversal from using property keys that are reserved terms. By default, these are "id" and "label" - providers may have their own reserved terms as well.
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Gremlin.Net.Process.Traversal.Strategy.Verification
Assembly: cs.temp.dll.dll
Syntax
public class ReservedKeysVerificationStrategy : AbstractTraversalStrategy, ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
Constructors
ReservedKeysVerificationStrategy()
Initializes a new instance of the ReservedKeysVerificationStrategy class.
Declaration
public ReservedKeysVerificationStrategy()
ReservedKeysVerificationStrategy(Boolean, Boolean, List<String>)
Initializes a new instance of the ReservedKeysVerificationStrategy class
Declaration
public ReservedKeysVerificationStrategy(bool logWarning = false, bool throwException = false, List<string> keys = null)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | logWarning | Write a warning to the configured log on the server if a reserved key is used. |
System.Boolean | throwException | Throw an exception if a reserved key is used. |
List<System.String> | keys | List of keys to define as reserved. If not set then the defaults are used. |
Implements
System.IEquatable<T>