00001 #pragma once 00002 00003 namespace AppSecInc { 00004 namespace DataSource { 00005 00007 class SqlHandle 00008 { 00009 public: 00010 SqlHandle(short type); 00011 SqlHandle(SQLHANDLE h, short type); 00012 ~SqlHandle(); 00013 operator SQLHANDLE() { return m_h; } 00014 SQLHANDLE* operator &(); 00015 void Release(); 00016 private: 00017 short m_type; 00018 SQLHANDLE m_h; 00019 }; 00020 00021 }}
© Application Security Inc. - All Rights Reserved | http://msiext.codeplex.com |