DataContext.LoadOptions 属性

定义

获取或设置与此 DataContext 关联的 DataLoadOptionsGets or sets the DataLoadOptions associated with this DataContext.

public:
 property System::Data::Linq::DataLoadOptions ^ LoadOptions { System::Data::Linq::DataLoadOptions ^ get(); void set(System::Data::Linq::DataLoadOptions ^ value); };
public System.Data.Linq.DataLoadOptions LoadOptions { get; set; }
member this.LoadOptions : System.Data.Linq.DataLoadOptions with get, set
Public Property LoadOptions As DataLoadOptions

属性值

DataLoadOptions

相关数据的预提取加载选项。The prefetch load options for related data.

注解

此属性获取或设置一些选项,这些选项用于为延迟加载的成员定义预提取行为和相关集合的成员身份。This property gets or sets the options that are used to define prefetch behavior for deferred-loaded members and membership of related collections.

适用于