OutputCacheAttribute.SqlDependency Property

 

Gets or sets the SQL dependency.

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

Syntax

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

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

OutputCacheAttribute Class
System.Web.Mvc Namespace

Return to top