📄 iresultsbuilder.h
字号:
// File: IResultsBuilder.h
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Classes Reference and related electronic
// documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft C++ Libraries products.
#pragma once
#include "stdafx.h"
// IResultsBuilder is the interface that DBCommand interacts with to store results. For example,
// as a DBCommand object interates over the results from a stored procedure, it calls AddColumnValue for
// each column result. When a row of results if finished, DoneRow() is called. This abstraction allows
// us to substitute various storage implementations for our results.
class IResultsBuilder
{
public:
virtual void AddColumnValue(CStringA& value)= 0;
virtual void SetReturnValue(CStringA& value)= 0;
virtual void AddOutputParamValue(CStringA& value)= 0;
virtual void DoneRow()= 0;
virtual void DoneResultSet()= 0;
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -