<PackageReference Include="System.Data.SqlClient" Version="4.7.0-rc1.19456.4" />

SqlFacetAttribute

public class SqlFacetAttribute : Attribute
Annotates the returned result of a user-defined type (UDT) with additional information that can be used in Transact-SQL.
public bool IsFixedLength { get; set; }

Indicates whether the return type of the user-defined type is of a fixed length.

public bool IsNullable { get; set; }

Indicates whether the return type of the user-defined type can be null.

public int MaxSize { get; set; }

The maximum size, in logical units, of the underlying field type of the user-defined type.

public int Precision { get; set; }

The precision of the return type of the user-defined type.

public int Scale { get; set; }

The scale of the return type of the user-defined type.

An optional attribute on a user-defined type (UDT) return type, used to annotate the returned result with additional information that can be used in Transact-SQL.