DynamicDataExtensions.LoadWithForeignKeys Method (LinqDataSource, Type)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
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)
Parameters
- dataSource
-
Type:
System.Web.UI.WebControls.LinqDataSource
The LINQ data source to load the foreign keys from.
- rowType
-
Type:
System.Type
The type of the entities that are returned by the data source.
For more information, see the System.Data.Linq.DataLoadOptions class overview.
.NET Framework
Available since 3.5
Available since 3.5
Show: