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...
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. | |
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.
Fauna.Mapping.IdAttribute.IdAttribute | ( | ) |
Initializes a IdAttribute, indicating Fauna will generate the ID.
Definition at line 77 of file Attributes.cs.
Fauna.Mapping.IdAttribute.IdAttribute | ( | bool | isClientGenerated | ) |
Initializes a IdAttribute.
isClientGenerated | Whether the ID should be considered client-generated or not. |
Definition at line 84 of file Attributes.cs.