EntityCommand.CommandText Property

 

Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute.

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

public override string CommandText { get; set; }

Property Value

Type: System.String

The Entity SQL statement that specifies a command or stored procedure to execute.