C# Class Npgsql.FrontendMessages.BindMessage

Inheritance: ChunkingFrontendMessage
显示文件 Open project: npgsql/npgsql Class Usage Examples

Private Properties

Property Type Description
Populate BindMessage
Write bool
Write bool
WriteParameters bool

Public Methods

Method Description
ToString ( ) : string

Private Methods

Method Description
Populate ( List inputParameters, string portal = "", string statement = "" ) : BindMessage
Write ( WriteBuffer buf ) : bool

Bind is a special message in that it supports the "direct buffer" optimization, which allows us to write user byte[] data directly to the stream rather than copying it into our buffer. It therefore has its own special overload of Write below.

Write ( WriteBuffer buf, DirectBuffer &directBuf ) : bool
WriteParameters ( WriteBuffer buf, DirectBuffer &directBuf ) : bool

Method Details

ToString() public method

public ToString ( ) : string
return string