Fauna v10 .NET/C# Driver
0.2.0-beta
Loading...
Searching...
No Matches
Fauna
Mapping
Attributes.cs
Go to the documentation of this file.
1
namespace
Fauna.Mapping.Attributes
;
2
3
7
[AttributeUsage(AttributeTargets.Class)]
8
public
class
ObjectAttribute
: Attribute
9
{
10
}
11
15
[AttributeUsage(AttributeTargets.Property)]
16
public
class
FieldAttribute
: Attribute
17
{
18
internal
readonly
string
? Name;
19
20
public
FieldAttribute
() { }
21
22
public
FieldAttribute
(
string
name)
23
{
24
Name = name;
25
}
26
}
Fauna.Mapping.Attributes.FieldAttribute
Attribute used to specify properties of a field in a Fauna object.
Definition
Attributes.cs:17
Fauna.Mapping.Attributes.FieldAttribute.FieldAttribute
FieldAttribute()
Definition
Attributes.cs:20
Fauna.Mapping.Attributes.FieldAttribute.FieldAttribute
FieldAttribute(string name)
Definition
Attributes.cs:22
Fauna.Mapping.Attributes.ObjectAttribute
Attribute used to indicate that a class represents a Fauna document or struct.
Definition
Attributes.cs:9
Fauna.Mapping.Attributes
Definition
Attributes.cs:1
Generated by
1.12.0