Identifies a data operation method exposed by a type, what type of operation the method performs, and whether the method is the default data method. This class cannot be inherited.
See Also: DataObjectMethodAttribute Members
You can use the System.ComponentModel.DataObjectMethodAttribute to identify data operation methods on a type marked with the System.ComponentModel.DataObjectAttribute attribute so that they are more easily identified by callers using reflection. When the System.ComponentModel.DataObjectMethodAttribute attribute is applied to a method, it describes the type of operation the method performs and indicates whether the method is the default data operation method of a type. Components such as the System.Web.UI.WebControls.ObjectDataSource control and the System.Web.UI.Design.WebControls.ObjectDataSourceDesigner class examine the values of this attribute, if present, to help determine which data method to call at run time.