Feature of Views in ADO.NET

  • Thread starter Thread starter Dan Golden via .NET 247
  • Start date Start date
D

Dan Golden via .NET 247

(Type your message here)
We are using a particular feature of Views in ADO.NET and we are wondering whether this feature will persist through upcoming ADO and .NET version changes. The feature is:

When a column in a row is changed via View A (or via the underlying DataSet) View B is automatically affected if the change includes/excludes a row ? as determined by the RowFilter property of View B.


Also could you direct us to information to help us understand how a View keeps itself updated when changes are made to associated Datasets and Views. Worst case Views reevaluate their contents, using RowFilter, each time they are accessed.
 
Dan.. If you were to do this...

DataView dv1 = someTable.DefaultView;
DataView dv2 = someTable.DefaultView;

Then anything that affects dv1 affects dv2 and vice versa. If you create
them as new views and then set the table they will remain isolated. Is this
what your asking?
Dan Golden via .NET 247 said:
(Type your message here)
We are using a particular feature of Views in ADO.NET and we are wondering
whether this feature will persist through upcoming ADO and .NET version
changes. The feature is:
When a column in a row is changed via View A (or via the underlying
DataSet) View B is automatically affected if the change includes/excludes a
row ? as determined by the RowFilter property of View B.
Also could you direct us to information to help us understand how a View
keeps itself updated when changes are made to associated Datasets and Views.
Worst case Views reevaluate their contents, using RowFilter, each time they
are accessed.
 
Back
Top