QueryableEntityCollectionView in .net 5.0

2 Answers 48 Views
Accessibility
Jean-Christophe
Top achievements
Rank 1
Jean-Christophe asked on 20 Dec 2021, 03:31 PM

Hi

Actually we are megrating to .net 5.0. So we had been using the 2019 version of Telerik and now we want to use the 2021 version of Telerik.

But we had been using the QueryableEntityCollectionView which was present into Telerik.Windows.Data dll version 2019.1.220.45, but not anymore into the version 2021.2.615.50.

Could you tell me by wich class QueryableEntityCollectionView was replaced into the new version ?

Thanks

BR

J-Christophe

2 Answers, 1 is accepted

Sort by
0
Martin Ivanov
Telerik team
answered on 23 Dec 2021, 07:54 AM

Hello Jean-Christophe,

With .NET Core 3.1 the new RadEntityFrameworkCoreDataSource was introduced. The component was designed to work with the EF Core 3 version, so it is not tested with the latest EF Core versions if you need to use them, but if there aren't any major changes it should work as expected. In your scenario, you can use the QueryableEntityCoreCollectionView class.

I hope that helps.

Regards,
Martin Ivanov
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

0
Sandra
Top achievements
Rank 1
Iron
answered on 24 Feb 2022, 08:57 AM

Hi,

We use in this scenario EF 6 (.NET 5 is backward compatible with EF 6). This state is our first migration step, because replacing the entity framework is too much effort for now. All other dependencies in our project are cleaned up and we have no other issues remaining.

Could you tell me how I can use the QueryableEntityCollectionView or QueryableEntityCoreCollectionView with Entity Framework 6?

Best Regards 

Sandra

Martin Ivanov
Telerik team
commented on 01 Mar 2022, 07:41 AM

Hello Sandra. My previous message is still valid. You can use the QueryableEntityCoreCollectionView for .NET Core 3.1 and later versions (like .NET 5 and 6). However, the QueryableEntityCoreCollectionView was designed with EF 3.1 in mind and I can't tell if it is going to work properly with EF 6. EF 6 should be backward compatible and if they haven't made any major changes, the Telerik collection view should work as well, but I cannot guarantee that. I can suggest you to check the QueryableEntityCoreCollectionView help documentation and try it in your .NET 6, EF6 setup. In case you hit any issues, you can share them here in the forum or in a support ticket from your telerik.com account.
Tags
Accessibility
Asked by
Jean-Christophe
Top achievements
Rank 1
Answers by
Martin Ivanov
Telerik team
Sandra
Top achievements
Rank 1
Iron
Share this question
or