as I've excluded "ID", how can i exclude another attribute?
Exclude takes a comma-separated list of attributes. When parsed it also trims the inputs so you can use whitespace to make it more readable.
Example:
[Bind(Exclude="ID, Name")]
[Bind(Exclude="ID,Second")]
Try delimiting the attributes you want to exclude with commas, e.g.
[Bind(Exclude="ID,Name")]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With