C# 클래스 MdxClient.MdxCommand

Represents an MDX statement to execute against a SQL Server Analysis Services database.
상속: System.Data.Common.DbCommand
파일 보기 프로젝트 열기: DynamicTyped/MdxClient 1 사용 예제들

공개 메소드들

메소드 설명
Cancel ( ) : void

Tries to cancel the execution of an MdxCommand.

ExecuteNonQuery ( ) : int
ExecuteScalar ( ) : object

Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.

MdxCommand ( ) : System

Initializes a new instance of the MdxCommand class.

MdxCommand ( string commandText ) : System

Initializes a new instance of the MdxCommand class with the text of the query.

MdxCommand ( string commandText, MdxConnection connection ) : System

Initializes a new instance of the MdxCommand class with the text of the query and a MdxConnection.

Prepare ( ) : void

Creates a prepared version of the command on an instance of SQL Server Analysis Services.

보호된 메소드들

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

비공개 메소드들

메소드 설명
AddCellsFromMemberProperties ( IEnumerable specialColumns, Member member, int cellOrdinal, int columnOrdinal ) : IEnumerable
AddColumnsFromColumnAxis ( IEnumerable columns, IEnumerable cells, ResultSet crs ) : void
AddColumnsFromRowAxis ( IEnumerable rows, ResultSet crs ) : int
AddColumnsFromRowProperties ( ResultSet crs, IEnumerable columnMap ) : void

find the tokened column map

AddRows ( IEnumerable rows, List cells, int rowColumnCount, ResultSet crs ) : void
AdjustValueFromColumnType ( Cell cell, int columnIndex, ResultSet crs ) : void
ConvertIt ( string item ) : int
ConvertXmlTypeToType ( string type ) : Type
GetAxis ( System.Xml.Linq.XDocument doc ) : List
GetCellData ( System.Xml.Linq.XDocument doc ) : List
GetColumnMap ( Column column, string columnName = null ) : ColumnMap
GetParams ( ) : IEnumerable
GetTypeForColumn ( IEnumerable cells, Column column, int columnCount ) : Type
GetTypeFromDbType ( DbType dbType ) : Type
PopulateFromXml ( XmlReader xmlReader ) : ResultSet
ProcessOrdinalColumns ( ResultSet crs ) : void
SetColumnNameAndType ( Column column, string defaultName, Type defalutType = null ) : void

메소드 상세

Cancel() 공개 메소드

Tries to cancel the execution of an MdxCommand.
public Cancel ( ) : void
리턴 void

CreateDbParameter() 보호된 메소드

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

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

ExecuteDbDataReader() 보호된 메소드

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

ExecuteNonQuery() 공개 메소드

public ExecuteNonQuery ( ) : int
리턴 int

ExecuteScalar() 공개 메소드

Executes the query, and returns the first column of the first row in the result set returned by the query. Additional columns or rows are ignored.
public ExecuteScalar ( ) : object
리턴 object

MdxCommand() 공개 메소드

Initializes a new instance of the MdxCommand class.
public MdxCommand ( ) : System
리턴 System

MdxCommand() 공개 메소드

Initializes a new instance of the MdxCommand class with the text of the query.
public MdxCommand ( string commandText ) : System
commandText string The text of the query.
리턴 System

MdxCommand() 공개 메소드

Initializes a new instance of the MdxCommand class with the text of the query and a MdxConnection.
public MdxCommand ( string commandText, MdxConnection connection ) : System
commandText string The text of the query.
connection MdxConnection An MdxConnection representing the connection to SQL Server Analysis Services.
리턴 System

Prepare() 공개 메소드

Creates a prepared version of the command on an instance of SQL Server Analysis Services.
public Prepare ( ) : void
리턴 void