本文介紹了如何從 xsd 生成 .NET 4.0 類?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!
問題描述
限時送ChatGPT賬號..
使用 Visual Studio 2010 從 xsd 文件生成 .NET 4.0 c# 類(實體)的選項有哪些?
What are the options to generate .NET 4.0 c# classes (entities) from an xsd file, using Visual Studio 2010?
推薦答案
夠簡單;只需運行(在 vs 命令提示符下)
simple enough; just run (at the vs command prompt)
xsd your.xsd /classes
(這將創(chuàng)建 your.cs
).但是請注意,這里的大多數(shù)內(nèi)在選項自 2.0 以來并沒有太大變化
(which will create your.cs
). Note, however, that most of the intrinsic options here haven't changed much since 2.0
對于選項,請使用 xsd/?
或 見 MSDN;例如 /enableDataBinding
可能很有用.
For the options, use xsd /?
or see MSDN; for example /enableDataBinding
can be useful.
這篇關(guān)于如何從 xsd 生成 .NET 4.0 類?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!
【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!