Fauna v10 .NET/C# Driver 0.2.0-beta
 
Loading...
Searching...
No Matches
NamedRef.cs
Go to the documentation of this file.
1namespace Fauna.Types;
2
7public class NamedRef
8{
9 public NamedRef(string name, Module collection)
10 {
11 Name = name;
12 Collection = collection;
13 }
14
18 public string Name { get; }
19
23 public Module Collection { get; }
24}
Represents a module, a singleton object grouping related functionalities. Modules are serialized as @...
Definition Module.cs:8
Represents a document ref that has a "name" instead of an "id". For example, a Role document referenc...
Definition NamedRef.cs:8
NamedRef(string name, Module collection)
Definition NamedRef.cs:9
string Name
Gets the string value of the ref name.
Definition NamedRef.cs:18
Module Collection
Gets the collection to which the ref belongs.
Definition NamedRef.cs:23