語言

DbLikeExpression.Pattern 屬性

定義

會得到一個表達式,指定該字串應該與何種模式比較。

public System.Data.Entity.Core.Common.CommandTrees.DbExpression Pattern { get; }
member this.Pattern : System.Data.Entity.Core.Common.CommandTrees.DbExpression
Public ReadOnly Property Pattern As DbExpression

屬性值

一個表達式,指定該字串應與何種模式比較。

例外狀況

這個表達式是 null。

該表達式不與 的 DbLikeExpression 指令樹相關聯,或其結果型別不是字串型別。

適用於