Class ClientOptions
Options that can be passed to the Client configuration
public class ClientOptions
- Inheritance
-
ClientOptions
- Inherited Members
Fields
DATE_TIME_FORMAT
public const string DATE_TIME_FORMAT = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.FFFFFFK"
Field Value
DateTimeStyles
public readonly DateTimeStyles DateTimeStyles
Field Value
Properties
Headers
public Dictionary<string, string> Headers { get; set; }
Property Value
QueryParams
public Dictionary<string, string> QueryParams { get; set; }
Property Value
Schema
public string Schema { get; set; }
Property Value
SerializeEnumsAsStrings
When true, enum properties without their own [JsonConverter] attribute are serialized by
name (e.g. "OffDisplay") instead of their underlying integer value. Enable this if your enum
properties map to native PostgreSQL enum columns. Leave disabled (default) if any of your
enum properties map to integer/smallint columns, since enabling this would send a string
to a numeric column and PostgREST would reject the request.
public bool SerializeEnumsAsStrings { get; set; }