从usercontrol到wpf中的EF的动态linq [英] Dynamic linq from usercontrol to EF in wpf

查看:72
本文介绍了从usercontrol到wpf中的EF的动态linq的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在wpf中有一个usercontrol,它必须添加到具有不同EF文件的变量项目,表,..

我如何linq到这个实体并动态地从用户的表中获取数据在mycustom cotrol中对此进行归因?

Hi, I have an usercontrol in wpf that must add to varient projects with different EF files,Tables,.. .
how can i linq to this entities and dynamicly fetch data from Tables that user attribute this in mycustom cotrol?

推荐答案

这可能会有所帮助:在运行时更改实体框架模型 [ ^ ]

实体框架模型适配器 [ ^ ]
This might be helpful: Changing Entity Framework model at runtime[^]
Entity Framework Model Adapter[^]


这篇关于从usercontrol到wpf中的EF的动态linq的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆