create class with custom attributes from xsd
- From: parez <psawant@xxxxxxxxx>
- Date: Mon, 3 Mar 2008 08:52:22 -0800 (PST)
Hi All
I am trying to generate classes from XSD which looks like this
namespace WindowsFormsApplication1.Something.Some
{
public class Address
{
public Address()
{
}
[FormMapper("TextBox2")]
public string StreetAddress { get; set; }
[FormMapper("TextBox3")]
public string UnitNumber { get; set; }
[FormMapper("TextBox4")]
public string City { get; set; }
[FormMapper("TextBox5")]
public string State { get; set; }
[FormMapper("TextBox6")]
public string zip { get; set; }
}
}
How do i represent the FormMapper Attribute in the xsd.
Please Help and thanks
.
- Prev by Date: [announce] Free XQuery Tutorial Event
- Next by Date: Re: dsig prefix
- Previous by thread: [announce] Free XQuery Tutorial Event
- Next by thread: LINQ and Where clause
- Index(es):
Relevant Pages
|