Class SecuritySchema.DatabaseLedgerBlock
- Namespace
- LinqToDB.Tools.DataProvider.SqlServer.Schemas
- Assembly
- linq2db.Tools.dll
sys.database_ledger_blocks (Transact-SQL)
Applies to: √ SQL Server 2022 (16.x) √ Azure SQL Database √ Azure SQL Managed Instance
Captures the cryptographically chained blocks, each of which represents a block of transactions against ledger tables.
For more information on database ledger, see Ledger
[Table(Schema = "sys", Name = "database_ledger_blocks", IsView = true)]
public class SecuritySchema.DatabaseLedgerBlock
- Inheritance
-
SecuritySchema.DatabaseLedgerBlock
- Inherited Members
- Extension Methods
Properties
BlockID
block_id NOT NULL bigint
A sequence number identifying the row in this view.[Column("block_id")]
[NotNull]
public long BlockID { get; set; }
Property Value
BlockSize
block_size NOT NULL bigint
The number of transactions in the block.[Column("block_size")]
[NotNull]
public long BlockSize { get; set; }
Property Value
PreviousBlockHash
previous_block_hash NULL binary(32)
A SHA-256 hash of the previous row in the view.[Column("previous_block_hash")]
[Nullable]
public byte[]? PreviousBlockHash { get; set; }
Property Value
- byte[]
TransactionsRootHash
transactions_root_hash NULL binary(32)
The hash of the root of the Merkle tree, formed by transactions stored in the block.[Column("transactions_root_hash")]
[Nullable]
public byte[]? TransactionsRootHash { get; set; }
Property Value
- byte[]