Table of Contents

Class SecuritySchema.DatabaseLedgerBlock

Namespace
LinqToDB.Tools.DataProvider.SqlServer.Schemas
Assembly
linq2db.Tools.dll

sys.database_ledger_blocks (Transact-SQL)

Applies to: √ Azure SQL Database

Captures the cryptographically chained blocks, each of which represents a block of transactions against ledger tables.
For more information on database ledger, see Azure SQL Database ledger


See sys.database_ledger_blocks.

[Table(Schema = "sys", Name = "database_ledger_blocks", IsView = true)]
public class SecuritySchema.DatabaseLedgerBlock
Inheritance
SecuritySchema.DatabaseLedgerBlock
Extension Methods

Properties

BlockID

A sequence number identifying the row in this view.

[Column("block_id")]
[NotNull]
public long BlockID { get; set; }

Property Value

long

BlockSize

The number of transactions in the block.

[Column("block_size")]
[NotNull]
public long BlockSize { get; set; }

Property Value

long

PreviousBlockHash

A SHA-256 hash of the previous row in the view.

[Column("previous_block_hash")]
[NotNull]
public byte[] PreviousBlockHash { get; set; }

Property Value

byte[]

TransactionRootHash

The hash of the root of the Merkle tree, formed by transactions stored in the block.

[Column("transaction_root_hash")]
[NotNull]
public byte[] TransactionRootHash { get; set; }

Property Value

byte[]