Wednesday, October 28, 2015

Everything goes into getsetters on the partial classes made with Xsd2Code++ as a string.

The "type" handling is done by way of attributes like so:

[System.Xml.Serialization.XmlElementAttribute(DataType = "integer")]
public string Item_Price_X
{
   get
   {
      return this._item_Price_X;
   }
   set
   {
      this._item_Price_X = value;
   }
}

 
 

The exception to this rule is other types in other elements such as in this enum example will end up as tucked away in the Designer.cs file that's rendered out and will be used in assignments when newing up the "greater" , main type in C# in lieu of just plain Jane strings.

No comments:

Post a Comment