Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

<PackageReference Include="Microsoft.SqlServer.TransactSql.ScriptDom" Version="161.9109.0" />

.NET API 5,160,480 bytes

 BeginTransactionStatement

Represents the begin transaction and begin distributed transaction statements.
public bool Distributed { get; set; }

True if this is a distributed transaction.

public bool MarkDefined { get; set; }

True if mark is defined, checking MarkDescription for null is not good enough.

public ValueExpression MarkDescription { get; set; }

The description of the mark, either a AsciiStringLiteral, UnicodeStringLiteral or a variable.