skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadEntityFrameworkCoreDataSource

Provides an object for loading, paging, filtering, sorting, and editing entities coming from EntityFrameworkCore's DbContext.

Inheritance
System.Object
RadEntityFrameworkCoreDataSource
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.EntityFrameworkCore.dll

Syntax

[TelerikToolboxCategory("Data")]
public class RadEntityFrameworkCoreDataSource : Control

Constructors

RadEntityFrameworkCoreDataSource()

Initializes a new instance of the RadEntityFrameworkCoreDataSource class.

Declaration
public RadEntityFrameworkCoreDataSource()

Fields

DbContextProperty

Identifies DbContext dependency property.

Declaration
public static readonly DependencyProperty DbContextProperty
Field Value
System.Windows.DependencyProperty

QueryNameProperty

Identifies QueryName dependency property.

Declaration
public static readonly DependencyProperty QueryNameProperty
Field Value
System.Windows.DependencyProperty

Properties

DataView

Gets the current view of entities resulting from the last load operation, using a DataItemCollection.

Declaration
public DataItemCollection DataView { get; }
Property Value
DataItemCollection

The current view of entities resulting from the last load operation.

DbContext

Gets or sets the DbContext instance used for executing the load and submit operations.

Declaration
public DbContext DbContext { get; set; }
Property Value
Microsoft.EntityFrameworkCore.DbContext

The context.

FilterDescriptors

Gets the filter descriptors used for filtering operations.

Declaration
public CompositeFilterDescriptorCollection FilterDescriptors { get; }
Property Value
CompositeFilterDescriptorCollection

The filter descriptors.

GroupDescriptors

Gets the group descriptors used for grouping operations.

Declaration
public GroupDescriptorCollection GroupDescriptors { get; }
Property Value
GroupDescriptorCollection

The group descriptors.

LoadCommand

Gets the command for loading data.

Declaration
public ICommand LoadCommand { get; }
Property Value
System.Windows.Input.ICommand

The command for loading data.

QueryName

Gets or sets the name of the query to use for loading.

Declaration
public string QueryName { get; set; }
Property Value
System.String

The name of the query to use for loading data.

RelatedObjects

The names of the related entities.

Declaration
public Collection<string> RelatedObjects { get; }
Property Value
System.Collections.ObjectModel.Collection<System.String>

The names of the related entities.

Remarks

For example, if your main entity set is called "Orders", you might want to add "OrderDetails" to this collection in case you want to get the related OrderDetails for each Order from the database.

SortDescriptors

Gets the sort descriptors used for sorting operations.

Declaration
public SortDescriptorCollection SortDescriptors { get; }
Property Value
SortDescriptorCollection

The sort descriptors.

SubmitChangesCommand

Gets the command for submitting changes.

Declaration
public ICommand SubmitChangesCommand { get; }
Property Value
System.Windows.Input.ICommand

The command for submitting changes.

Methods

CreateView()

Creates the view.

Declaration
protected virtual QueryableCollectionView CreateView()
Returns
QueryableCollectionView

The view.

Load()

Initiates a Load operation if possible.

Declaration
public void Load()

SubmitChanges()

Initiates a Submit operation if possible.

Declaration
public void SubmitChanges()

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.