Table of Contents

Class MappingOptionalAttribute

Namespace
Neo4j.Driver.Mapping
Assembly
Neo4j.Driver.dll

If a property or is decorated with this attribute, it will be considered optional. The mapper will not throw an exception if it cannot find the named value in the record. This attribute will have no effect when using custom-defined mappers.

[AttributeUsage(AttributeTargets.Property)]
public class MappingOptionalAttribute : Attribute
Inheritance
MappingOptionalAttribute
Derived
Inherited Members
Extension Methods