Class MappingBindingsAttribute
An attribute that applies metadata for mapping bindings in Neo4j object mapping. This attribute is used to customize the mapping of properties or parameters when interacting with the Neo4j database.
public class MappingBindingsAttribute : Attribute, IMappingBindingMutator
- Inheritance
-
MappingBindingsAttribute
- Implements
- Derived
- Inherited Members
- Extension Methods
Properties
- CypherParameterName
Gets or sets the name of the parameter that will be set when mapping to Cypher parameters.
- DefaultValue
Gets or sets the default value to be used if the source value is missing and the mapping is optional.
- Explicit
Gets or sets a value indicating whether this mapping binding was explicitly defined by the user.
- Optional
Gets or sets a value indicating whether the mapping will not throw an exception if the source value is missing.
- Path
Gets or sets the path to the data in the source (e.g. a field name in a record or a property name in a node).
- Source
Gets or sets the source type for the mapping (e.g. Property, Label, Id).
Methods
- Mutate(MappingBinding)
Called by the default mapper to allow this mutator to update the mapping configuration for a property or parameter.