Fauna v10 .NET/C# Driver 1.0.1
 
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Fauna.Mapping.IdAttribute Class Reference

Attribute used to specify the id field on a Fauna document. The associated field will be ignored during serialization unless isClientGenerated is set to true. More...

Inheritance diagram for Fauna.Mapping.IdAttribute:
Fauna.Mapping.BaseFieldAttribute

Public Member Functions

 IdAttribute ()
 Initializes a IdAttribute, indicating Fauna will generate the ID.
 
 IdAttribute (bool isClientGenerated)
 Initializes a IdAttribute.
 

Additional Inherited Members

- Public Attributes inherited from Fauna.Mapping.BaseFieldAttribute
readonly? string Name
 The name of the field.
 
readonly FieldType Type
 The type of the field.
 

Detailed Description

Attribute used to specify the id field on a Fauna document. The associated field will be ignored during serialization unless isClientGenerated is set to true.

Definition at line 70 of file Attributes.cs.

Constructor & Destructor Documentation

◆ IdAttribute() [1/2]

Fauna.Mapping.IdAttribute.IdAttribute ( )

Initializes a IdAttribute, indicating Fauna will generate the ID.

Definition at line 77 of file Attributes.cs.

◆ IdAttribute() [2/2]

Fauna.Mapping.IdAttribute.IdAttribute ( bool  isClientGenerated)

Initializes a IdAttribute.

Parameters
isClientGeneratedWhether the ID should be considered client-generated or not.

Definition at line 84 of file Attributes.cs.


The documentation for this class was generated from the following file: