Dela via


Microsoft.Data.SqlClient.Server Namespace

Classes

InvalidUdtException

Thrown when SQL Server or the ADO.NET Microsoft.Data.SqlClient provider detects an invalid user-defined type (UDT).

SqlDataRecord

Represents a single row of data and its metadata.

SqlFacetAttribute

Annotates the returned result of a user-defined type (UDT) with additional information that can be used in Transact-SQL.

SqlFunctionAttribute

Used to mark a method definition of a user-defined aggregate as a function in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server.

SqlMetaData

Specifies and retrieves metadata information from parameters and columns of SqlDataRecord objects. This class cannot be inherited.

SqlMethodAttribute

Indicates the determinism and data access properties of a method or property on a user-defined type (UDT). The properties on the attribute reflect the physical characteristics that are used when the type is registered with SQL Server.

SqlUserDefinedAggregateAttribute

Indicates that the type should be registered as a user-defined aggregate. The properties on the attribute reflect the physical attributes used when the type is registered with SQL Server. This class cannot be inherited.

SqlUserDefinedTypeAttribute

Used to mark a type definition in an assembly as a user-defined type (UDT) in SQL Server. The properties on the attribute reflect the physical characteristics used when the type is registered with SQL Server. This class cannot be inherited.

Interfaces

IBinarySerialize

Provides custom implementation for user-defined type (UDT) and user-defined aggregate serialization and deserialization.

Enums

DataAccessKind

Describes the type of access to user data for a user-defined method or function.

Format

Used by SqlUserDefinedTypeAttribute and SqlUserDefinedAggregateAttribute to indicate the serialization format of a user-defined type (UDT) or aggregate.

SystemDataAccessKind

Describes the type of access to system data for a user-defined method or function.

TriggerAction

The TriggerAction enumeration is used by the SqlTriggerContext class to indicate what action fired the trigger.