DefaultQuerySqlGenerator.IsCacheable 属性

定义

获取一个值,该值指示此 SQL 查询是否可缓存。

public bool IsCacheable { get; }
public virtual bool IsCacheable { get; protected set; }
member this.IsCacheable : bool
member this.IsCacheable : bool with get, set
Public ReadOnly Property IsCacheable As Boolean
Public Overridable Property IsCacheable As Boolean

属性值

如果此 SQL 查询可缓存,则为 true;如果不是,则为 false。

适用于