Επεξεργασία

Κοινή χρήση μέσω


OracleLob.ChunkSize Property

Definition

Gets a value indicating the minimum number of bytes to retrieve from or send to the server during a read/write operation.

public:
 property int ChunkSize { int get(); };
public int ChunkSize { get; }
member this.ChunkSize : int
Public ReadOnly Property ChunkSize As Integer

Property Value

The minimum number of bytes to retrieve or send.

Exceptions

The connection is closed.

The object was closed or disposed.

An Oracle error has occurred.

Remarks

The value returned by the ChunkSize property is not a setting of the .NET Framework Data Provider for Oracle. Instead, it is the value that the Oracle Call Interface (OCI) uses when communicating with the server. Use ChunkSize to ensure that client-side chunks are the same size. Reading or writing in smaller chunks does not cache data, and causes a less-optimized round trip to the server, because a full packet is not received or sent.

Applies to