EntitySqlParser.Parse Method (String, DbParameterReferenceExpression[])

 

Parse the specified query with the specified parameters.

Namespace:   System.Data.Entity.Core.Common.EntitySql
Assembly:  EntityFramework (in EntityFramework.dll)

public ParseResult Parse(
	string query,
	params DbParameterReferenceExpression[] parameters
)

Parameters

query
Type: System.String

The EntitySQL query to be parsed.

parameters
Type: System.Data.Entity.Core.Common.CommandTrees.DbParameterReferenceExpression[]

The optional query parameters.

Return Value

Type: System.Data.Entity.Core.Common.EntitySql.ParseResult

The ParseResult containing DbCommandTree and information describing inline function definitions if any.