EntityCommand.CommandText 属性

定义

获取或设置指定要执行的命令或存储过程的 Entity SQL 语句。Gets or sets an Entity SQL statement that specifies a command or stored procedure to execute.

public:
 virtual property System::String ^ CommandText { System::String ^ get(); void set(System::String ^ value); };
public override string CommandText { get; set; }
member this.CommandText : string with get, set
Public Overrides Property CommandText As String

属性值

String

要执行的指定命令或存储过程的 Entity SQL 语句。The Entity SQL statement that specifies a command or stored procedure to execute.

适用于