在业务逻辑层中,看到如下的代码不知道是什么意思,我把代码注释掉也能运行。
[System.ComponentModel.DataObject]
[System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select, true)]
中括号是什么意思,中括号中的代码又是什么意思?
谢谢```
------解决方案--------------------------------------------------------
Attribute
------解决方案--------------------------------------------------------
Attribute似乎是C#特有的