C# Class DbExpressions.DbTranslateResult

Represents the result of translating a DbExpression tree.
显示文件 Open project: seesharper/DbExpressions Class Usage Examples

Public Methods

Method Description
CreateCommand ( ) : IDbCommand

Creates a new IDbCommand instance based on this DbTranslateResult.

Private Methods

Method Description
DbTranslateResult ( string sql, IEnumerable parameters, System.Data.Common.DbProviderFactory dbProviderFactory ) : System.Collections.Generic

Initializes a new instance of the DbTranslateResult class.

Method Details

CreateCommand() public method

Creates a new IDbCommand instance based on this DbTranslateResult.
public CreateCommand ( ) : IDbCommand
return IDbCommand