Gets or sets the expression that limits the query to only results of a specific derived type.
Assembly: System.Web.Entity (in System.Web.Entity.dll)
When the EntityDataSource control must return a specific derived type, the property must also be set to specify the name of this derived type. If the EntitySetName property specifies an entity set that can generate polymorphic results, the property is required to be able to edit data. This has the same effect as applying the OfType<TResultType> method to the ObjectQuery<T>. If the data binding is read-only, then the property is not required. In this case, the properties of the object returned by the query will be those of the default entity type for the entity set.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.