开发者

Do we need BindingSource with Entity Framework 4.0?

Do we really need BindingSource to bind to controls? I.e. what problems does it solve?

Do you use the BindingSource, or do you use an alt开发者_如何学Pythonernative method?


Yes, you need it regardless of your underlying data source. The primary raison-d'être of BindingSource is to avoid memory leaks that can occur when subscribing directly to change notification events on data objects. As long as you're using the default Windows Forms binding mechanism, you'll need BindingSource.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜