DynamicDataExtensions::LoadWith<TEntity> Method (LinqDataSource^)
.NET Framework (current version)
Sets the System.Data.Linq::DataLoadOptions value of a LINQ-to-SQL data source to force all the foreign-key entities to be loaded.
Assembly: System.Web.DynamicData (in System.Web.DynamicData.dll)
public: generic<typename TEntity> [ExtensionAttribute] static void LoadWith( LinqDataSource^ dataSource )
Parameters
- dataSource
-
Type:
System.Web.UI.WebControls::LinqDataSource^
The LINQ data source to load the foreign keys from.
Type Parameters
- TEntity
The type of the entities that are returned by the data source.
.NET Framework
Available since 4.0
Available since 4.0
Show: