Table of Contents

Class TableColumn

Namespace
NextORM.Core
Assembly
nextorm.core.dll

A typed value read from a named column of an untyped table source.

public class TableColumn
Inheritance
TableColumn
Inherited Members
Extension Methods

Properties

AsBytes

The column value read as a byte array.

public byte[] AsBytes { get; }

Property Value

byte[]

AsInt

The column value read as a 32-bit integer.

public int AsInt { get; }

Property Value

int

AsNullableBytes

The column value read as a nullable byte array (null for a NULL value).

public byte[]? AsNullableBytes { get; }

Property Value

byte[]

AsNullableString

The column value read as a nullable string (null for a NULL value).

public string? AsNullableString { get; }

Property Value

string

AsStream

The column value read as a read-only Stream (streaming projection).

public Stream AsStream { get; }

Property Value

Stream

Remarks

The returned stream is valid only until the enumerator advances to the next row (MoveNext): the underlying reader is owned by the enumerator/command, so the value must be consumed before the next step. A provider without sequential access throws NotSupportedException when the query is executed.

AsString

The column value read as a string.

public string AsString { get; }

Property Value

string

AsTextReader

The column value read as a read-only TextReader (streaming projection).

public TextReader AsTextReader { get; }

Property Value

TextReader

Remarks

The returned reader is valid only until the enumerator advances to the next row (MoveNext): the underlying reader is owned by the enumerator/command, so the value must be consumed before the next step. A provider without sequential access throws NotSupportedException when the query is executed.