ColumnProvider.IsCustomProperty Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value that indicates whether the column is an additional property that is not in the model's data context.
public: virtual property bool IsCustomProperty { public:
bool get(); protected:
void set(bool value); };
public virtual bool IsCustomProperty { get; protected set; }
member this.IsCustomProperty : bool with get, set
Public Overridable Property IsCustomProperty As Boolean
Property Value
true
if the column is an additional property that is not in the model's data context; otherwise, false
.
Remarks
Columns that are not in the data context typically come from a view or calculated property. The value of the IsCustomProperty property can be used to determine whether column operations such as sorting are supported. For example, the implementation of the System.Linq.IQueryable interface of the data model will not support sorting on properties that return true
for the IsCustomProperty property, because the column does not exist in the database.