C# Class Npgsql.FrontendMessages.PregeneratedMessage

A frontend message of an arbitrary type that has been pregenerated for efficiency - it is kept in byte[] form and doesn't have to be serialized for each send.
Inheritance: SimpleFrontendMessage
显示文件 Open project: npgsql/npgsql Class Usage Examples

Private Properties

Property Type Description
BuildQuery PregeneratedMessage
PregeneratedMessage System
PregeneratedMessage System
WriteFully void

Public Methods

Method Description
ToString ( ) : string

Private Methods

Method Description
BuildQuery ( string query ) : PregeneratedMessage
PregeneratedMessage ( ) : System
PregeneratedMessage ( byte data, string description = null ) : System

Constructs a new pregenerated message.

WriteFully ( WriteBuffer buf ) : void

Method Details

ToString() public method

public ToString ( ) : string
return string