DynamicDataExtensions.LoadWith<TEntity>(LinqDataSource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the DataLoadOptions value of a LINQ-to-SQL data source to force all the foreign-key entities to be loaded.
public:
generic <typename TEntity>
[System::Runtime::CompilerServices::Extension]
static void LoadWith(System::Web::UI::WebControls::LinqDataSource ^ dataSource);
public static void LoadWith<TEntity> (this System.Web.UI.WebControls.LinqDataSource dataSource);
static member LoadWith : System.Web.UI.WebControls.LinqDataSource -> unit
<Extension()>
Public Sub LoadWith(Of TEntity) (dataSource As LinqDataSource)
Type Parameters
- TEntity
The type of the entities that are returned by the data source.
Parameters
- dataSource
- LinqDataSource
The LINQ data source to load the foreign keys from.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.