DynamicDataExtensions.LoadWithForeignKeys(LinqDataSource, Type) 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:
[System::Runtime::CompilerServices::Extension]
static void LoadWithForeignKeys(System::Web::UI::WebControls::LinqDataSource ^ dataSource, Type ^ rowType);
public static void LoadWithForeignKeys (this System.Web.UI.WebControls.LinqDataSource dataSource, Type rowType);
static member LoadWithForeignKeys : System.Web.UI.WebControls.LinqDataSource * Type -> unit
<Extension()>
Public Sub LoadWithForeignKeys (dataSource As LinqDataSource, rowType As Type)
Parameters
- dataSource
- LinqDataSource
The LINQ data source to load the foreign keys from.
- rowType
- Type
The type of the entities that are returned by the data source.
Remarks
For more information, see the System.Data.Linq.DataLoadOptions class overview.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.