ObjectDataSourceDesigner.CanRefreshSchema Property

Definition

Gets a value that indicates whether the RefreshSchema(Boolean) method can be called.

public:
 virtual property bool CanRefreshSchema { bool get(); };
public override bool CanRefreshSchema { get; }
member this.CanRefreshSchema : bool
Public Overrides ReadOnly Property CanRefreshSchema As Boolean

Property Value

true if the RefreshSchema(Boolean) can be called; otherwise, false.

Remarks

The RefreshSchema method can be called, and the CanRefreshSchema property is true, if the Site property of the associated ObjectDataSource control implements either the ITypeResolutionService or ITypeDiscoveryService interface, and the TypeName and SelectMethod properties both contain a value.

If the CanRefreshSchema is true, the Refresh Schema menu item is displayed in the Common ObjectDataSource Tasks context menu of the associated control on the visual designer surface.

Applies to

See also