So I have an IBindingList
which I have as the data source of a DevExpress chart. It is done this way as the chart updates automatically as the data is gathered.
But instead of creating a separate DataTable and logging the data within that I'd prefer if I could use the IBindingList
and convert this and the end of the logging to a source that I can bulk insert into a database.
Most methods that I have seen are recursive apart from the FastMember package but I cannot for the life of me convert an IbindingList
to a IEnumerable
.
Does anyone have any ideas on this to improve the efficiency of the above?