public override IEnumerable <IServerResponseObject> QueryEnum(NpgsqlConnector context, NpgsqlCommand command) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "QueryEnum"); //String commandText = command.GetCommandText(); //NpgsqlEventLog.LogMsg(resman, "Log_QuerySent", LogLevel.Debug, commandText); // Send the query request to backend. NpgsqlQuery query = new NpgsqlQuery(command, context.BackendProtocolVersion); query.WriteToStream(context.Stream); context.Stream.Flush(); return(ProcessBackendResponsesEnum(context, false)); }
public override IEnumerable<IServerResponseObject> QueryEnum(NpgsqlConnector context, NpgsqlCommand command) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "QueryEnum"); //String commandText = command.GetCommandText(); //NpgsqlEventLog.LogMsg(resman, "Log_QuerySent", LogLevel.Debug, commandText); // Send the query request to backend. NpgsqlQuery query = new NpgsqlQuery(command, context.BackendProtocolVersion); query.WriteToStream(context.Stream); context.Stream.Flush(); return ProcessBackendResponsesEnum(context); }
public override void Query(NpgsqlConnector context, NpgsqlCommand command) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Query"); //String commandText = command.GetCommandText(); //NpgsqlEventLog.LogMsg(resman, "Log_QuerySent", LogLevel.Debug, commandText); // Send the query request to backend. NpgsqlQuery query = new NpgsqlQuery(command, context.BackendProtocolVersion); query.WriteToStream(context.Stream, context.Encoding); context.Stream.Flush(); ProcessBackendResponses(context); }
public override void Query( NpgsqlConnector context, NpgsqlCommand command ) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Query"); //String commandText = command.GetCommandText(); //NpgsqlEventLog.LogMsg(resman, "Log_QuerySent", LogLevel.Debug, commandText); // Send the query request to backend. NpgsqlQuery query = new NpgsqlQuery(command, context.BackendProtocolVersion); query.WriteToStream(context.Stream, context.Encoding); context.Stream.Flush(); ProcessBackendResponses(context); }
public override void Query(NpgsqlConnector context, NpgsqlQuery query) { NpgsqlEventLog.LogMethodEnter(LogLevel.Debug, CLASSNAME, "Query"); query.WriteToStream(context.Stream); }
internal void Query(NpgsqlQuery query) { if (_log.IsDebugEnabled) _log.Debug("Sending query: " + query); query.WriteToStream(Stream); State = NpgsqlState.Executing; }