Skip to main content
All docs
V26.1
  • EFCoreObjectSpaceProvider<TDbContext>.PreFetchReferenceProperties Property

    Specifies whether to automatically load reference property data for persistent objects when these objects are fetched from a database.

    Namespace: DevExpress.ExpressApp.EFCore

    Assembly: DevExpress.ExpressApp.EFCore.v26.1.dll

    Declaration

    public bool PreFetchReferenceProperties { get; set; }

    Property Value

    Type Description
    Boolean

    true to pre-fetch reference property data; otherwise, false.

    Remarks

    Refer to the Eager Loading of Reference Properties article for more information on how to use the PreFetchReferenceProperties setting.

    See Also