PostgreSQL · Types · Entities and values

ArxBytea

Definition

Namespace
ARX.SDK.Models
Package
ARX.SDK
C#
public class ArxBytea

Binary data for a binary column (Data): PostgreSQL bytea, SQL Server varbinary, MySQL BLOB or VARBINARY, a MongoDB binary, a DynamoDB B attribute. A plain byte[] works too.

Properties

  • byte[]? Data { get; set; }

    The bytes to write.

Usage

C#

A line from a verified sample; the full, runnable code is on its page.

converted["bytea_value"] = new ArxBytea { Data = new byte[] { 1, 2 } };                  // \x0102

Every supported .NET type, and what PostgreSQL stores, scenario 2

Used in: