C# 클래스 Mono.Data.Tds.Protocol.Tds70

상속: Tds
파일 보기 프로젝트 열기: kumpera/mono

공개 메소드들

메소드 설명
BeginExecuteNonQuery ( string cmdText, TdsMetaParameterCollection parameters, AsyncCallback callback, object state ) : IAsyncResult
BeginExecuteProcedure ( string prolog, string epilog, string cmdText, bool IsNonQuery, TdsMetaParameterCollection parameters, AsyncCallback callback, object state ) : IAsyncResult
BeginExecuteQuery ( string cmdText, TdsMetaParameterCollection parameters, AsyncCallback callback, object state ) : IAsyncResult
Connect ( Mono.Data.Tds.Protocol.TdsConnectionParameters connectionParameters ) : bool
EndExecuteNonQuery ( IAsyncResult ar ) : void
EndExecuteProcedure ( IAsyncResult ar ) : void
EndExecuteQuery ( IAsyncResult ar ) : void
ExecPrepared ( string commandText, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
ExecProc ( string commandText, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
Execute ( string commandText, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
Prepare ( string commandText, TdsMetaParameterCollection parameters ) : string
Reset ( ) : bool
Tds70 ( string server, int port ) : System
Tds70 ( string server, int port, int packetSize, int timeout ) : System
Tds70 ( string server, int port, int packetSize, int timeout, TdsVersion version ) : System
Unprepare ( string statementId ) : void

보호된 메소드들

메소드 설명
BuildExec ( string sql ) : string
ExecRPC ( TdsRpcProcId rpcId, string sql, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
ExecRPC ( string rpcName, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
IsValidRowCount ( byte status, byte op ) : bool
ProcessColumnInfo ( ) : void
ProcessReturnStatus ( ) : void

비공개 메소드들

메소드 설명
BuildParameters ( ) : string
BuildPreparedParameters ( ) : string
BuildPreparedQuery ( string id ) : string
BuildProcedureCall ( string procedure ) : string
EncryptPassword ( string pass ) : string
FormatParameter ( TdsMetaParameter parameter ) : string
GetPrecision ( TdsColumnType type, int columnSize ) : byte
GetScale ( TdsColumnType type, int columnSize ) : byte
WriteParameterInfo ( TdsMetaParameter param ) : void
WritePreparedParameterInfo ( TdsMetaParameterCollection parameters ) : void
WriteRpcParameterInfo ( TdsMetaParameterCollection parameters ) : void

메소드 상세

BeginExecuteNonQuery() 공개 메소드

public BeginExecuteNonQuery ( string cmdText, TdsMetaParameterCollection parameters, AsyncCallback callback, object state ) : IAsyncResult
cmdText string
parameters TdsMetaParameterCollection
callback AsyncCallback
state object
리턴 IAsyncResult

BeginExecuteProcedure() 공개 메소드

public BeginExecuteProcedure ( string prolog, string epilog, string cmdText, bool IsNonQuery, TdsMetaParameterCollection parameters, AsyncCallback callback, object state ) : IAsyncResult
prolog string
epilog string
cmdText string
IsNonQuery bool
parameters TdsMetaParameterCollection
callback AsyncCallback
state object
리턴 IAsyncResult

BeginExecuteQuery() 공개 메소드

public BeginExecuteQuery ( string cmdText, TdsMetaParameterCollection parameters, AsyncCallback callback, object state ) : IAsyncResult
cmdText string
parameters TdsMetaParameterCollection
callback AsyncCallback
state object
리턴 IAsyncResult

BuildExec() 보호된 메소드

protected BuildExec ( string sql ) : string
sql string
리턴 string

Connect() 공개 메소드

public Connect ( Mono.Data.Tds.Protocol.TdsConnectionParameters connectionParameters ) : bool
connectionParameters Mono.Data.Tds.Protocol.TdsConnectionParameters
리턴 bool

EndExecuteNonQuery() 공개 메소드

public EndExecuteNonQuery ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

EndExecuteProcedure() 공개 메소드

public EndExecuteProcedure ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

EndExecuteQuery() 공개 메소드

public EndExecuteQuery ( IAsyncResult ar ) : void
ar IAsyncResult
리턴 void

ExecPrepared() 공개 메소드

public ExecPrepared ( string commandText, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
commandText string
parameters TdsMetaParameterCollection
timeout int
wantResults bool
리턴 void

ExecProc() 공개 메소드

public ExecProc ( string commandText, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
commandText string
parameters TdsMetaParameterCollection
timeout int
wantResults bool
리턴 void

ExecRPC() 보호된 메소드

protected ExecRPC ( TdsRpcProcId rpcId, string sql, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
rpcId TdsRpcProcId
sql string
parameters TdsMetaParameterCollection
timeout int
wantResults bool
리턴 void

ExecRPC() 보호된 메소드

protected ExecRPC ( string rpcName, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
rpcName string
parameters TdsMetaParameterCollection
timeout int
wantResults bool
리턴 void

Execute() 공개 메소드

public Execute ( string commandText, TdsMetaParameterCollection parameters, int timeout, bool wantResults ) : void
commandText string
parameters TdsMetaParameterCollection
timeout int
wantResults bool
리턴 void

IsValidRowCount() 보호된 메소드

protected IsValidRowCount ( byte status, byte op ) : bool
status byte
op byte
리턴 bool

Prepare() 공개 메소드

public Prepare ( string commandText, TdsMetaParameterCollection parameters ) : string
commandText string
parameters TdsMetaParameterCollection
리턴 string

ProcessColumnInfo() 보호된 메소드

protected ProcessColumnInfo ( ) : void
리턴 void

ProcessReturnStatus() 보호된 메소드

protected ProcessReturnStatus ( ) : void
리턴 void

Reset() 공개 메소드

public Reset ( ) : bool
리턴 bool

Tds70() 공개 메소드

public Tds70 ( string server, int port ) : System
server string
port int
리턴 System

Tds70() 공개 메소드

public Tds70 ( string server, int port, int packetSize, int timeout ) : System
server string
port int
packetSize int
timeout int
리턴 System

Tds70() 공개 메소드

public Tds70 ( string server, int port, int packetSize, int timeout, TdsVersion version ) : System
server string
port int
packetSize int
timeout int
version TdsVersion
리턴 System

Unprepare() 공개 메소드

public Unprepare ( string statementId ) : void
statementId string
리턴 void