C# Class Npgsql.FrontendMessages.QueryMessage

A simple query message. Note that since this is only used to send some specific control messages (e.g. start transaction) and never arbitrary-length user-provided queries, this message is treated as simple and not chunking, and only ASCII is supported.
Inheritance: SimpleFrontendMessage
显示文件 Open project: npgsql/npgsql Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Private Methods

Method Description
Populate ( string query ) : QueryMessage
QueryMessage ( Encoding encoding ) : System
Write ( WriteBuffer buf ) : bool

Method Details

ToString() public method

public ToString ( ) : string
return string