Attribute used to specify fields on a Fauna document or struct. More...
Public Member Functions | |
FieldAttribute () | |
Initializes a FieldAttribute of type Field with no name override. The name is inferred. | |
FieldAttribute (string name) | |
Initializes a FieldAttribute of type Field with a name. | |
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 fields on a Fauna document or struct.
Definition at line 51 of file Attributes.cs.
Fauna.Mapping.FieldAttribute.FieldAttribute | ( | ) |
Initializes a FieldAttribute of type Field with no name override. The name is inferred.
Definition at line 56 of file Attributes.cs.
Fauna.Mapping.FieldAttribute.FieldAttribute | ( | string | name | ) |
Initializes a FieldAttribute of type Field with a name.
name | The name of the field as stored in Fauna. |
Definition at line 62 of file Attributes.cs.