Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
NamedDocument.cs
Go to the documentation of this file.
1namespace Fauna.Types;
2
7public sealed class NamedDocument : BaseDocument
8{
9
13 public string Name { get; }
14
21 public NamedDocument(string name, Module coll, DateTime ts) : base(coll, ts)
22 {
23 Name = name;
24 }
25
34 public NamedDocument(string name, Module coll, DateTime ts, Dictionary<string, object?> data) : base(coll, ts, data)
35 {
36 Name = name;
37 }
38}
Represents the base structure of a document.
Represents a module, a singleton object grouping related functionalities. Modules are serialized as @...
Definition Module.cs:8
Represents a document that has a "name" instead of an "id". For example, a Role document is represent...
string Name
Gets the string value of the document name.
NamedDocument(string name, Module coll, DateTime ts)
Initializes a new instance of the NamedDocument class with the specified name, coll,...
NamedDocument(string name, Module coll, DateTime ts, Dictionary< string, object?> data)
Initializes a new instance of the NamedDocument class with the specified name, coll,...