Skip to content

Commit d38c175

Browse files
Merge pull request #3097 from telerik/stennlyy/d-release-articles
Stennlyy/d release articles
2 parents a6e3018 + 1de97c3 commit d38c175

File tree

6 files changed

+102
-204
lines changed

6 files changed

+102
-204
lines changed

controls/raddataservicedatasource/getting-started/getting-started.md

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
22
title: Getting Started
33
page_title: Getting Started
4-
description: Check our "Getting Started" documentation article for the RadDataServiceDataSource {{ site.framework_name }} control.
4+
description: Check our "Getting Started" documentation article for the RadDataServiceDataSource WPF control.
55
slug: raddataservicedatasource-getting-started
66
tags: getting,started
77
published: True
88
position: 0
99
---
1010

11-
# Getting Started with {{ site.framework_name }} DataServiceDataSource
11+
# Getting Started with WPF DataServiceDataSource
1212

13-
This tutorial will walk you through the creation of a sample application that contains __RadDataServiceDataSource__ control.
13+
This tutorial will walk you through the creation of a sample application that contains `RadDataServiceDataSource` control.
1414

1515
## Adding Telerik Assemblies Using NuGet
1616

17-
To use __RadDataServiceDataSource__ when working with NuGet packages, install the `Telerik.Windows.Controls.DataServices.for.Wpf.Xaml` package. The [package name may vary]({%slug nuget-available-packages%}) slightly based on the Telerik dlls set - [Xaml or NoXaml]({%slug xaml-vs-noxaml%})
17+
To use RadDataServiceDataSource when working with NuGet packages, install the `Telerik.Windows.Controls.DataServices.for.Wpf.Xaml` package. The [package name may vary]({%slug nuget-available-packages%}) slightly based on the Telerik dlls set - [Xaml or NoXaml]({%slug xaml-vs-noxaml%})
1818

1919
Read more about NuGet installation in the [Installing UI for WPF from NuGet Package]({%slug nuget-installation%}) article.
2020

@@ -28,19 +28,15 @@ If you are not using NuGet packages, you can add a reference to the following as
2828
* __Telerik.Windows.Controls__
2929
* __Telerik.Windows.Controls.DataServices__
3030

31-
If you are using OData version 3 you need to add reference to __Telerik.Windows.Controls.DataServices50__ which is built against __Microsoft.Data.Services.Client__ with version __5.6.4__.
31+
>With the release of the 2025 Q4, the __Telerik.Windows.Controls.DataServices50__ and __Telerik.Windows.Controls.DataServices60__ assemblies have been removed. Instead, use the __Telerik.Windows.Controls.DataServices__ assembly, which is built against the __Microsoft.OData.Client__ NuGet package with version __7.8.3__.
3232
33-
For OData version 4 support, you need to add reference to __Telerik.Windows.Controls.DataServices60__ which is built against __Microsoft.OData.Client__ with __version 6.15.0__.
34-
35-
Since the __R2 2021__ release, you can find a __Telerik.Windows.Controls.DataServices__ dll in the __WPF60__ and __WPF70__ folders built against __Microsoft.OData.Client__ with __version 7.8.3__.
36-
37-
You can find the required assemblies for each control from the suite in the {% if site.site_name == 'Silverlight' %}[Controls Dependencies]({%slug installation-installing-controls-dependencies%}){% else %}[Controls Dependencies]({%slug installation-installing-controls-dependencies-wpf%}){% endif %} help article.
33+
You can find the required assemblies for each control from the suite in the[Controls Dependencies]({%slug installation-installing-controls-dependencies-wpf%}) help article.
3834

3935
## Adding RadDataServiceDataSource
4036

41-
We will use __RadGridView__ control in order to visualize the data.
37+
We will use `RadGridView` control in order to visualize the data.
4238

43-
__Example 1: Using RadDataServiceDataSource with RadGridView__
39+
__Using RadDataServiceDataSource with RadGridView__
4440
```XAML
4541
<telerik:RadDataServiceDataSource Name="customersDataSource" QueryName="Products" AutoLoad="True">
4642
<telerik:RadDataServiceDataSource.DataServiceContext>
@@ -57,7 +53,6 @@ __Example 1: Using RadDataServiceDataSource with RadGridView__
5753
- [Overview]({%slug raddataservicedatasource-overview%})
5854
- [CRUD]({%slug raddataservicedatasource-crud%})
5955

60-
{% if site.site_name == 'WPF' %}
6156
## Telerik UI for WPF Learning Resources
6257

6358
* [Telerik UI for WPF DataServiceDataSource Component](https://www.telerik.com/products/wpf/dataservicedatasource.aspx)
@@ -67,6 +62,4 @@ __Example 1: Using RadDataServiceDataSource with RadGridView__
6762
* [Telerik UI for WPF Visual Studio Templates]({%slug visual-studio-templates%})
6863
* [Setting a Theme with Telerik UI for WPF]({%slug styling-apperance-implicit-styles-overview%})
6964
* [Telerik UI for WPF Virtual Classroom (Training Courses for Registered Users)](https://learn.telerik.com/learn/course/external/view/elearning/16/telerik-ui-for-wpf)
70-
* [Telerik UI for WPF License Agreement](https://www.telerik.com/purchase/license-agreement/wpf-dlw-s)
71-
{% endif %}
72-
65+
* [Telerik UI for WPF License Agreement](https://www.telerik.com/purchase/license-agreement/wpf-dlw-s)

controls/radentityframeworkdatasource/entityframework-getting-started.md

Lines changed: 18 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,69 @@
11
---
22
title: Getting Started
33
page_title: Getting Started
4-
description: Check our &quot;Getting Started&quot; documentation article for the RadEntityFrameworkDataSource {{ site.framework_name }} control.
4+
description: Check our &quot;Getting Started&quot; documentation article for the RadEntityFrameworkDataSource WPF control.
55
slug: entityframework-getting-started
66
tags: getting,started
77
published: True
88
position: 3
99
---
1010

11-
# Getting Started with {{ site.framework_name }} EntityFrameworkDataSource
11+
# Getting Started with WPF EntityFrameworkDataSource
1212

13-
This tutorial will walk you through the creation of a sample application that contains __RadGridView__ bound to __RadEntityFrameworkDataSource__.
13+
This tutorial will walk you through the creation of a sample application that contains `RadGridView` bound to `RadEntityFrameworkDataSource`.
1414

1515
* [Creating the WPF Application](#creating-the-wpf-application)
1616
* [Creating the Model](#creating-the-model)
1717
* [Adding RadGridView and RadEntityFrameworkDataSource](#adding-radgridview-and-radentityframeworkdatasource)
1818

19-
As of version __2013 Q3 SP1__ we have added support for __EntityFramework 6.0__. You will need to reference the __Telerik.Windows.Controls.EntityFramework60__ assembly, rather than the __Telerik.Windows.Controls.EntityFramework__ one in order for this to work.
19+
>With the release of the __2025 Q4__, the __Telerik.Windows.Controls.EntityFramework__ assembly has been removed. Instead, you will need to reference the __Telerik.Windows.Controls.EntityFramework60__ assembly, which is built against the __EntityFramework__ NuGet package with version __6.5.1__.
2020
2121
## Adding Telerik Assemblies Using NuGet
2222

23-
To use __RadEntityFrameworkDataSource__ when working with NuGet packages, install the `Telerik.Windows.Controls.EntityFramework.for.Wpf.Xaml` package. The [package name may vary]({%slug nuget-available-packages%}) slightly based on the Telerik dlls set - [Xaml or NoXaml]({%slug xaml-vs-noxaml%})
23+
To use RadEntityFrameworkDataSource when working with NuGet packages, install the `Telerik.Windows.Controls.EntityFramework.for.Wpf.Xaml` package. The [package name may vary]({%slug nuget-available-packages%}) slightly based on the Telerik dlls set - [Xaml or NoXaml]({%slug xaml-vs-noxaml%})
2424

2525
Read more about NuGet installation in the [Installing UI for WPF from NuGet Package]({%slug nuget-installation%}) article.
2626

2727
>tip With the 2025 Q1 release, the Telerik UI for WPF has a new licensing mechanism. You can learn more about it [here]({%slug installing-license-key%}).
2828
2929
## Creating the WPF Application
3030

31-
1. Note that __RadEntityFrameworkDataSource__ is built on top of the [ADO.NET Entity Framework](https://docs.microsoft.com/en-us/ef/ef6/). Basic Entity Framework experience is required for working with __RadEntityFrameworkDataSource__.
31+
1. Note that RadEntityFrameworkDataSource is built on top of the [ADO.NET Entity Framework](https://docs.microsoft.com/en-us/ef/ef6/). Basic Entity Framework experience is required for working with RadEntityFrameworkDataSource.
3232

3333
2. Start Visual Studio and create a new WPF Application.
3434

3535
## Creating the Model
3636

3737
Now that we have the application, we will add our entity model using the AdventureWorks database.
3838

39-
1. In the project add a new __ADO.NET Entity Data Model__. You need to make sure that **Data** is selected from the left menu.
39+
1. In the project add a new __ADO.NET Entity Data Model__. You need to make sure that __Data__ is selected from the left menu.
4040
![Rad Entity Framework Getting Started 1](images/RadEntityFramework_Getting_Started1.png)
4141

4242
2. Choose to create a model using the code first approach from an existing database.
4343
![Rad Entity Framework Getting Started 2](images/RadEntityFramework_Getting_Started2.png)
4444

4545
3. Choose the data connection (for example the __AdventureWorks__ database). In order to learn how to add the AdventureWorks database, check out the [AdventureWorks Readme](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/adventure-works) article.
4646

47-
4. Generate the entities from all of the tables in the __AdventureWorks__ database.
47+
4. Generate the entities from all of the tables in the AdventureWorks database.
4848

4949
5. Click __Finish__ and __rebuild the solution__.
5050

5151
## Adding RadGridView and RadEntityFrameworkDataSource
5252

5353
Now let's go to the client side.
5454

55-
**1.** Add References to the following __Telerik__ assemblies:
55+
**1.** Add References to the following Telerik assemblies:
5656

5757
* __Telerik.Licensing.Runtime__
58-
* __Telerik.Windows.Controls__ (mandatory for both __RadGridView__ and __RadEntityFrameworkDataSource__)
58+
* __Telerik.Windows.Controls__ (mandatory for both RadGridView and RadEntityFrameworkDataSource)
59+
* __Telerik.Windows.Controls.EntityFramework60__ (mandatory for RadEntityFrameworkDataSource with EF __6.0__ or later)
60+
* __Telerik.Windows.Controls.GridView__ (mandatory for RadGridView)
61+
* __Telerik.Windows.Controls.Input__ (mandatory for RadGridView)
62+
* __Telerik.Windows.Data__ (mandatory for both RadGridView and RadEntityFrameworkDataSource)
5963

60-
* __Telerik.Windows.Controls.EntityFramework__ (mandatory for __RadEntityFrameworkDataSource__ with EF **5.0** or previous)
64+
**2.** Now add the RadGridView and RadEntityFrameworkDataSource controls to the main window. The following example demonstrates how you can do that.
6165

62-
or
63-
64-
* __Telerik.Windows.Controls.EntityFramework60__ (mandatory for __RadEntityFrameworkDataSource__ with EF **6.0** or later)
65-
66-
* __Telerik.Windows.Controls.GridView__ (mandatory for __RadGridView__)
67-
68-
* __Telerik.Windows.Controls.Input__ (mandatory for __RadGridView__)
69-
70-
* __Telerik.Windows.Data__ (mandatory for both __RadGridView__ and __RadEntityFrameworkDataSource__)
71-
72-
**2.** Now add the __RadGridView__ and __RadEntityFrameworkDataSource__ controls to the main window. **Example 1** demonstrates how you can do that.
73-
74-
__Example 1: Adding RadGridView and RadEntityFrameworkDataSource__
66+
__Adding RadGridView and RadEntityFrameworkDataSource__
7567

7668
```XAML
7769
<Window x:Class="EntityFrameworkGettingStarted.MainWindow"
@@ -94,8 +86,6 @@ __Example 1: Adding RadGridView and RadEntityFrameworkDataSource__
9486
</Window>
9587
```
9688

97-
>importantSince __Q3 SP1 2012__ we have added the __RadEntityFrameworkDataSource.DbContext__ property which should be set instead of the **ObjectContext** property for versions of Entity Framework newer than version **5.0**. If you are using an older version of Entity Framework, you can set the **RadEntityFrameworkDataSource.ObjectContext** property.
98-
9989
Several important things to notice:
10090

10191
* The import of the telerik schema: __xmlns:telerik="[http://schemas.telerik.com/2008/xaml/presentation](http://schemas.telerik.com/2008/xaml/presentation)__
@@ -108,9 +98,9 @@ Several important things to notice:
10898

10999
## RelatedObjects
110100

111-
The __RelatedObjects__ property of the RadEntityFrameworkDataSource allows you to specify the names of the related entities that need to be retrieved. For example, if your main entity set is called "Customers", you might want to retrieve the "Orders" collection in case you want to get the related Orders for each Customer from the database.
101+
The `RelatedObjects` property of the RadEntityFrameworkDataSource allows you to specify the names of the related entities that need to be retrieved. For example, if your main entity set is called "Customers", you might want to retrieve the "Orders" collection in case you want to get the related Orders for each Customer from the database.
112102

113-
__Example 2: Using the RelatedObjects__
103+
__Using the RelatedObjects__
114104
```XAML
115105
<telerik:RadEntityFrameworkDataSource Name="EntityFrameworkDataSource" QueryName="Customers">
116106
<telerik:RadEntityFrameworkDataSource.RelatedObjects>
@@ -122,7 +112,6 @@ __Example 2: Using the RelatedObjects__
122112
</telerik:RadEntityFrameworkDataSource>
123113
```
124114

125-
{% if site.site_name == 'WPF' %}
126115
## Telerik UI for WPF Learning Resources
127116

128117
* [Telerik UI for WPF EntityFrameworkDataSource Component](https://www.telerik.com/products/wpf/entity-framework-data-source.aspx)
@@ -133,7 +122,6 @@ __Example 2: Using the RelatedObjects__
133122
* [Setting a Theme with Telerik UI for WPF]({%slug styling-apperance-implicit-styles-overview%})
134123
* [Telerik UI for WPF Virtual Classroom (Training Courses for Registered Users)](https://learn.telerik.com/learn/course/external/view/elearning/16/telerik-ui-for-wpf)
135124
* [Telerik UI for WPF License Agreement](https://www.telerik.com/purchase/license-agreement/wpf-dlw-s)
136-
{% endif %}
137125

138126
## See also
139127

0 commit comments

Comments
 (0)