C# 클래스 Azavea.Open.DAO.Tests.TestCommand

This thin DbCommand subclass avoids adding a dependency to a specific DbCommand implementation
상속: System.Data.Common.DbCommand
파일 보기 프로젝트 열기: azavea/net-dao 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( ) : void
ExecuteNonQuery ( ) : int
ExecuteScalar ( ) : object
Prepare ( ) : void
TestCommand ( ) : System

Create a new TestCommand

TestCommand ( string sql ) : System

Create a new TestCommand with a SQL string

Sets the CommandType to CommandType.Text.

보호된 메소드들

메소드 설명
CreateDbParameter ( ) : DbParameter
ExecuteDbDataReader ( CommandBehavior behavior ) : System.Data.Common.DbDataReader

메소드 상세

Cancel() 공개 메소드

public Cancel ( ) : void
리턴 void

CreateDbParameter() 보호된 메소드

protected CreateDbParameter ( ) : DbParameter
리턴 System.Data.Common.DbParameter

ExecuteDbDataReader() 보호된 메소드

protected ExecuteDbDataReader ( CommandBehavior behavior ) : System.Data.Common.DbDataReader
behavior CommandBehavior
리턴 System.Data.Common.DbDataReader

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( ) : int
리턴 int

ExecuteScalar() 공개 메소드

public ExecuteScalar ( ) : object
리턴 object

Prepare() 공개 메소드

public Prepare ( ) : void
리턴 void

TestCommand() 공개 메소드

Create a new TestCommand
public TestCommand ( ) : System
리턴 System

TestCommand() 공개 메소드

Create a new TestCommand with a SQL string
Sets the CommandType to CommandType.Text.
public TestCommand ( string sql ) : System
sql string The SQL string to be set on the CommandText property.
리턴 System