SQL Server · 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["varbinary_value"] = new ArxBytea { Data = new byte[] { 1, 2 } };              // 0x0102

Every supported .NET type, and what SQL Server stores, scenario 2

Used in: