views:

140

answers:

2

What is the meaning of this attribute?

<System.ComponentModel.DataObjectMethod(ComponentModel.DataObjectMethodType.Select, True)> _
+3  A: 

This explains it perfectly

Diadistis
+1  A: 

The DataObjectAttribute "identifies a type as an object suitable for binding to an ObjectDataSource object."

The DataObjectMethodAttribute classifies the methods of a class used as an ObjectDataSource with regard to the type of data method is supported (select, update, insert, delete) and whether it is the default. The particular attribute referenced marks the method as the default selection method for the class.

tvanfosson