Obsługa dużych obiektów (LOB) parametry w środowisko CLR
Użycie SqlBytes i SqlChars przekazanie dużej binarna obiektu (LOB) wpisz)varbinary(max)) i znak LOB wpisz ()nvarchar(max)) parametry, odpowiednio. These types allow streaming the LOB values from the database to the common language runtime (CLR) routine, instead of copying the entire value into managed space.SqlBinary and SqlString should be used only for small binary and character string values.
Przykład sposobu obsługi dużych obiektów można znaleźć w temacie SQL Server Data Types in the .NET Framework próbki.