Partager via


OutputCacheAttribute.SqlDependency Property

Gets or sets the SQL dependency.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Property SqlDependency As String
    Get
    Set
public string SqlDependency { get; set; }
public:
property String^ SqlDependency {
    String^ get ();
    void set (String^ value);
}

Property Value

Type: System.String
The SQL dependency.

Remarks

A value that identifies a set of database-name and table-name pairs that the action's output cache depends on.

See Also

Reference

OutputCacheAttribute Class

System.Web.Mvc Namespace