Creating a list of entities that supports IBindingListView?

c# data-binding entity-framework-6 winforms

Accepted Answer

You may utilizeBindingListView Brian Noyes produced it (author of .NET Programming Smart Client Data Applications using Data Binding with Windows Forms 2.0)

or

The 20-zzz-zzz

or carry out your own. Please ask if you have any more detailed inquiries.

1
8/28/2014 4:31:35 AM

Popular Answer

Microsoft has an excellent article that explains how to add an IBindingListView to an older BindingList.

Implementing Filtering for Windows Forms Data Binding in the background

The biggest issue with this interface is that the filter property is a string and the format of the expression has no established standard. You must therefore determine what string expressions you will support (or need to support). Instead of saying "Country = US," you might use the "Trump" expression filter on the property "Country" for the value "US".

If you want to perform a full copy of DataSet expression support, this may get very complicated.



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow