Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
NpgsqlRest/NpgsqlRest/Enums.cs at 3.15.2 · NpgsqlRest/NpgsqlRest · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
NpgsqlRest
/
NpgsqlRest
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
11
Star
130
Code
Issues
0
Pull requests
4
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Files
Expand file tree
3.15.2
Breadcrumbs
NpgsqlRest
/
NpgsqlRest
/
Enums.cs
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
115 lines (106 loc) · 3.67 KB
3.15.2
Breadcrumbs
NpgsqlRest
/
NpgsqlRest
/
Enums.cs
Copy path
Top
File metadata and controls
Code
Blame
115 lines (106 loc) · 3.67 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
namespace
NpgsqlRest
;
public
enum
RoutineType
{
Table
,
View
,
Function
,
Procedure
,
Other
,
SqlFile
}
public
enum
CrudType
{
Select
,
Insert
,
Update
,
Delete
}
public
enum
Method
{
GET
,
PUT
,
POST
,
DELETE
}
public
enum
RequestParamType
{
QueryString
,
BodyJson
}
public
enum
ParamType
{
QueryString
,
BodyJson
,
BodyParam
,
HeaderParam
,
PathParam
}
public
enum
CommentHeader
{
None
,
Simple
,
Full
}
public
enum
TextResponseNullHandling
{
EmptyString
,
NullLiteral
,
NoContent
}
public
enum
QueryStringNullHandling
{
EmptyString
,
NullLiteral
,
Ignore
}
public
enum
SslRequirement
{
Ignore
,
Warning
,
Required
}
public
enum
PostgresNoticeLevels
{
INFO
,
NOTICE
,
WARNING
}
public
enum
ServiceProviderObject
{
/// <summary>
/// Connection is not provided in service provider. Connection is supplied either by ConnectionString or by DataSource option.
/// </summary>
None
,
/// <summary>
/// NpgsqlRest attempts to get NpgsqlDataSource from service provider (assuming one is provided).
/// </summary>
NpgsqlDataSource
,
/// <summary>
/// NpgsqlRest attempts to get NpgsqlConnection from service provider (assuming one is provided).
/// </summary>
NpgsqlConnection
}
public
enum
CommentsMode
{
/// <summary>
/// Routine comments are ignored.
/// </summary>
Ignore
,
/// <summary>
/// Creates all endpoints and parses comments for to configure endpoint meta data.
/// </summary>
ParseAll
,
/// <summary>
/// Creates only endpoints from routines containing a comment with HTTP tag and and configures endpoint meta data.
/// </summary>
OnlyWithHttpTag
}
public
enum
RequestHeadersMode
{
/// <summary>
/// Ignore request headers, don't send them to PostgreSQL (default).
/// </summary>
Ignore
,
/// <summary>
/// Send all request headers as json object to PostgreSQL by executing set_config('context.headers', headers, false) before routine call.
/// </summary>
Context
,
/// <summary>
/// Send all request headers as json object to PostgreSQL as default routine parameter with name set by RequestHeadersParameterName option.
/// This parameter has to have the default value (null) in the routine and have to be text or json type.
/// </summary>
Parameter
}
public
enum
PostgresConnectionNoticeLoggingMode
{
/// <summary>
/// Log only connection messages.
/// </summary>
MessageOnly
,
/// <summary>
/// Log last stack trace and message.
/// </summary>
FirstStackFrameAndMessage
,
/// <summary>
/// Log full stack trace and message.
/// </summary>
FullStackAndMessage
}
public
enum
SseEventsScope
{
/// <summary>
/// All sessions with matching security context (RequiresAuthorization + AuthorizeRoles)
/// </summary>
Matching
,
/// <summary>
/// All authorized sessions
/// </summary>
Authorize
,
/// <summary>
/// All connected sessions regardless of authorization
/// </summary>
All
}
/// <summary>
/// Source of a value bound to a BeforeRoutineCommand parameter at request time.
/// </summary>
public
enum
BeforeRoutineCommandParameterSource
{
/// <summary>
/// Value comes from a user claim. Parameter Name is the claim type to look up on HttpContext.User.
/// Multi-value claims are joined the same way as ContextKeyClaimsMapping. Missing claims bind to NULL.
/// </summary>
Claim
,
/// <summary>
/// Value comes from a request header. Parameter Name is the header name. Missing headers bind to NULL.
/// </summary>
RequestHeader
,
/// <summary>
/// Value is the client IP address (uses the same resolution as IpAddressContextKey). Parameter Name is ignored.
/// </summary>
IpAddress
}
You can’t perform that action at this time.