SelectQuery.Condition 属性

定义

获取或设置要在 SELECT 查询中应用的条件。Gets or sets the condition to be applied in the SELECT query.

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

属性值

String

返回一个 String 值,该值包含要应用于 SELECT 查询的条件。Returns a String value containing the condition to be applied to the SELECT query.

注解

设置此属性值将覆盖对象中存储的任何先前值。Setting this property value overrides any previous value stored in the object. 重新生成查询字符串以反映新的条件。The query string is rebuilt to reflect the new condition.

Condition 属性的值将替换 <condition> "select * FROM WHERE" 形式的选择查询中的项 <className> <condition> 。A value for the Condition property would replace the <condition> item in a SELECT query of the form "SELECT * FROM <className> WHERE <condition>".

属性值Property Value

一个字符串,其中包含要在 SELECT 查询中应用的条件。A string containing the condition to be applied in the SELECT query.

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息,请参阅 从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于