简体   繁体   English

将实体框架与Telerik的控件配合使用

[英]Using Entity Framework with Telerik's Controls

I have worked with products of Telerik about two week,and in my opinion the Entity Framework is better than the Open Access(ORM), But i wonder that other Products of Telerik(EXP:GridView or ....) hasn't any problem with Entity Framework? 我已经使用Telerik的产品工作了大约两个星期,在我看来,实体框架要比Open Access(ORM)更好,但是我想知道Telerik的其他产品(EXP:GridView或....)还没有实体框架有问题吗? I want to start a Project with Entity Framework and Telerik's Controls 我想使用实体框架和Telerik的控件启动一个项目

You shouldn't run into any problems. 您不应该遇到任何问题。 Entity Framework and the Telerik Tools are compatible with one another, in fact I have used EF and Telerik together in a number of projects. 实体框架和Telerik工具彼此兼容,实际上,我在许多项目中一起使用了EF和Telerik。

We use the EntityFramework in conjunction with Telerik's controls extensively, and have not had any issues or problems. 我们将EntityFramework与Telerik的控件广泛结合使用,并且没有任何问题。 Telerik's controls seem to always behave as expected when binding to individual objects or lists. 当绑定到单个对象或列表时,Telerik的控件似乎总是表现出预期的效果。

Good luck! 祝好运!

To take the classical 3 tier approach... 采用经典的3层方法...

Are you asking if your data access layer (ie EF) is compatible with your UI (ie Telerik controls)? 您是否要问您的数据访问层(即EF)是否与您的UI(即Telerik控件)兼容?

The answer is kind of up to you as you should provide the middle layer (ie the business/service layer). 答案取决于您,因为您应该提供中间层(即业务/服务层)。

If you are finding direct dependencies between the two then I would advise looking at the architecture of the application. 如果您发现两者之间存在直接依赖关系,那么我建议您研究一下应用程序的体系结构。 They shouldn't be connected directly. 它们不应该直接连接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM