LinqServerModeDataSource.ContextTypeName Property

Gets or sets the type name of objects retrieved from a data source.

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue("")]
public string ContextTypeName { get; set; }

Property Value

Type Default Description
String

String.Empty

A String value that specifies the type name of objects retrieved from a data source.

Remarks

<dx:ASPxGridView ID="ASPxGridView1" DataSourceID="LinqServerModeDataSource1" >
    ...
</dx:ASPxGridView>

<dx:LinqServerModeDataSource ID="LinqServerModeDataSource1" runat="server" 
    ContextTypeName="NorthwindNestedFields.DataClasses1DataContext" TableName="Orders" />
See Also