Skip to main content

LinqServerModeDataSource.ContextTypeName Property

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

Namespace: DevExpress.Data.Linq

Assembly: DevExpress.Web.v24.2.dll

NuGet Package: DevExpress.Web

#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

namespace NorthwindNestedFields
{
    [System.Data.Linq.Mapping.DatabaseAttribute(Name="Northwind")]
    public partial class DataClasses1DataContext : System.Data.Linq.DataContext {
        private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource();
        ...
        public DataClasses1DataContext(string connection) : 
            base(connection, mappingSource)
        {
          OnCreated();
        }
See Also