Nullable / Collection Checkboxes on DataContract / Fault Contract members dialog???

Topics: General Discussion Forum
Apr 4, 2007 at 8:18 AM
Hi All,

I've looked into the functionality behind the dialogs and I'm unable to see what the Nullable and Collection checkboxes do, whilst creating DataContracts and FaultContracts???

I've checked them and it doesn't seem to have any affect on the resulting contract code??

Can anybody provide me with soem information on what is supposed to happen when these are selected, and whether or not there are actually functional?

Thank you.
Apr 4, 2007 at 4:53 PM
The Nullable flag should add the "?" after the property type, and the IsCollection flag will create an IList<type> where type is your property type.
You can verify this opening the text template located in Templates\T4\DataContract.t4