<PackageReference Include="System.Data.SqlClient" Version="4.8.0-preview1.19504.10" />

Format

public enum Format
Used by SqlUserDefinedTypeAttribute and SqlUserDefinedAggregateAttribute to indicate the serialization format of a user-defined type (UDT) or aggregate.
Native = 1

This serialization format uses a very simple algorithm that enables SQL Server to store an efficient representation of the UDT on disk. Types marked for Native serialization can only have value types (structs in Microsoft Visual C# and structures in Microsoft Visual Basic .NET) as members. Members of reference types (such as classes in Visual C# and Visual Basic), either user-defined or those existing in .NET class libraries (such as String), are not supported.

Unknown = 0

The serialization format is unknown.

This serialization format gives the developer full control over the binary format through the Write and Read methods.