forked from NpgsqlRest/NpgsqlRest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNpgsqlRestMetadata.cs
More file actions
29 lines (26 loc) · 885 Bytes
/
Copy pathNpgsqlRestMetadata.cs
File metadata and controls
29 lines (26 loc) · 885 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace NpgsqlRest;
public class NpgsqlRestMetadataEntry
{
internal NpgsqlRestMetadataEntry(RoutineEndpoint endpoint, IRoutineSourceParameterFormatter formatter, string key)
{
Endpoint = endpoint;
Formatter = formatter;
Key = key;
}
public RoutineEndpoint Endpoint { get; }
public IRoutineSourceParameterFormatter Formatter { get; }
public string Key { get; }
}
public class NpgsqlRestMetadata
{
internal NpgsqlRestMetadata(
Dictionary<string, NpgsqlRestMetadataEntry> entries,
Dictionary<string, NpgsqlRestMetadataEntry> overloads)
{
Entries = entries;
Overloads = overloads;
}
public Dictionary<string, NpgsqlRestMetadataEntry> Entries { get; }
public Dictionary<string, NpgsqlRestMetadataEntry> Overloads { get; }
public bool HasStreamingEvents { get; set; } = false;
}