axcontactscmd.hpp

来自「一个非常好用的ADO封装类,程序员不再需要跟烦人的COM接口打交道,写数据库程序」· HPP 代码 · 共 48 行

HPP
48
字号
/**************************************************************************
    File: AxContactsCmd.hpp
    Date: 11/19/2007
      By: Data Management Systems (www.dmsic.com)

    DESCRIPTION
    The following source code was generated using the AxGen utility and is
    intended to be used in conjunction with the dbAx library. This class
    enables access to stored procedures of the data provider from which it
    was derived.

    Stored Proc: (local)\CardFile\get_Contacts

    Include this file in your project.

    DISCLAIMER
    This source code is provided AS-IS with no warranty as to its
    suitability or usefulness in any application in which it may be used.
**************************************************************************/
#pragma once
#include <AxLib.h>

using namespace dbAx;

class CAxContactsCmd :
    public CAxCommand
{
public:
  CAxContactsCmd() { }
  ~CAxContactsCmd() { }

  //Attributes
  CString   m_szAccntIDParam;

  //Create command parameters
  void _CreateParameters()
  {
    CreateParameter(_T("AccntID"), adVarChar, adParamInput, 32,
      &_variant_t((LPCTSTR) m_szAccntIDParam));
  };

  //Update command parameters
  void _UpdateParameters()
  {
    _SetParamValue(_T("AccntID"), &_variant_t((LPCTSTR) m_szAccntIDParam));
  };
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?