Microsoft.SqlServer.TransactSql.ScriptDom by Microsoft

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

.NET API 5,152,136 bytes

 DeclareTableVariableBody

Represents the body of the declare @variable table variation.
public bool AsDefined { get; set; }

Shows if the optional AS was used. Required to distinguish between Sql80 and Sql90.

public TableDefinition Definition { get; set; }

The table definition containing column and constraint definitions.

public Identifier VariableName { get; set; }

The name of the variable. This includes the @ at the beginning.