Tortuga.Chain Namespace
Tortuga.Chain.CommandBuilders Namespace
Tortuga.Chain.Metadata Namespace

PostgreSqlDataSource..::..EnableLegacyTimestampBehavior Property

Gets or sets a value indicating whether to use Npgsql.EnableLegacyTimestampBehavior.

Namespace:  Tortuga.Chain
Assembly:  Tortuga.Chain.PostgreSql (in Tortuga.Chain.PostgreSql.dll)

Syntax


public static bool EnableLegacyTimestampBehavior { get; set; }
Public Shared Property EnableLegacyTimestampBehavior As Boolean
	Get
	Set
public:
static property bool^ EnableLegacyTimestampBehavior {
	bool^ get ();
	void set (bool^ value);
}

Remarks


Turn this on if you are getting this error: "Cannot write DateTime with Kind=UTC to PostgreSQL type 'timestamp without time zone' .