✏️ Explanatory Question

In the contract class, what is the use of the DataMemberAttribute?

👁 2 Views
📘 Detailed Answer
🟢 Easy
💡

Answer with Explanation

DataMemberAttribute defines which class variables should appear as parameters in the dialog and be serialized during execution.
Example:


[DataMemberAttribute("DatePhysical")]
public DatePhysical parmDatePhysical(...)

This makes DatePhysical visible to the user in the dialog box.