<PackageReference Include="System.Data.SqlClient" Version="4.9.0" />

SqlFacetAttribute

public class SqlFacetAttribute : Attribute
public bool IsFixedLength { get; set; }

Is this a fixed size field?

public bool IsNullable { get; set; }

Is this field nullable?

public int MaxSize { get; set; }

The maximum size of the field (in bytes or characters depending on the field type) or -1 if the size can be unlimited.

public int Precision { get; set; }

Precision, only valid for numeric types.

public int Scale { get; set; }

Scale, only valid for numeric types.