A newer version of this page is available. Switch to the current version.

ODataServerModeSource.ElementType Property

Specifies the type of objects retrieved from a data source.

Namespace: DevExpress.Data.ODataLinq

Assembly: DevExpress.Data.v18.2.dll

Declaration

[TypeConverter(typeof(ODataServerModeSourceObjectTypeConverter))]
[DefaultValue(null)]
public Type ElementType { get; set; }
<TypeConverter(GetType(ODataServerModeSourceObjectTypeConverter))>
<DefaultValue(Nothing)>
Public Property ElementType As Type

Property Value

Type Default Description
Type

null

The type of objects retrieved from a data source.

Remarks

By default, the element type is retrieved automatically from the ODataServerModeSource.Query object. Use this property when it is required to change the type manually.

Implements

DevExpress.Data.ODataLinq.Helpers.IODataServerModeFrontEndOwner.ElementType
See Also