基本上,我创建了我的WSDL,并增加了一个具有 values价值的简单的Type:A, B, C. 当我用这一轮 w来建立我的服务时,我想用<条码>FlagsAttribute建造的树冠,但我如何具体指出,在我的轮椅上?
I m using svcutil.exe to generate my C# code.
Update: I am building my server-side code using svcutil.exe. I do so by calling: svcutil.exe "Foo.wsdl" "global.xsd"
. But, I m unsure how to properly markup my wsdl/xsd tags so that the generated code comes out like so:
[Flags] //<-- How do you get this to become autogenerated?
public enum SomeEnum
{
A,
B,
C
}