ADO.Net Entity Framework的生成XSD文件模型 [英] ADO.Net Entity Framework generate model from XSD file

查看:409
本文介绍了ADO.Net Entity Framework的生成XSD文件模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个相当大的XSD文件,我听说,有可能使用实体框架连接到如数据库的XML文件,并验证他们对XSD,但我不知道如何去这样做。

I have a rather large XSD file and I have heard that it is possible using the entity framework to connect to XML files like databases and validate them against the XSD, however I do not know how to go about doing this.

所以,我要做的是生成从我的XSD文件中的实体框架模型,我想这将产生一系列的对象进行验证和人口打开一个XML文件时将使用。

So what I'm trying to do is generate a entity framework model from my XSD file, and I imagine this will generate a series of objects which will be used when opening a XML file for validation and population.

推荐答案

Linq2xsd将这样做。 HTTP://linqtoxsd.$c$cplex.com/ 一旦死了,现在住在codePLEX。

Linq2xsd will do that. http://linqtoxsd.codeplex.com/ once dead it now lives on codeplex.

这篇关于ADO.Net Entity Framework的生成XSD文件模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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