Changes between Version 9 and Version 10 of maestro/MaestroAPI/2.1ApiChanges


Ignore:
Timestamp:
05/05/10 01:38:15 (15 years ago)
Author:
jng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • maestro/MaestroAPI/2.1ApiChanges

    v9 v10  
    3737
    3838!FeatureSetReader also implements the ADO.net IDataReader interface and !FeatureSetRow implements the ADO.net IDataRecord interface, so now these classes can be used wherever an IDataReader or IDataRecord are used.
     39
     40!FeatureSetReader also implements the IEnumerable<IDataRecord> interface meaning you can now iterate using the foreach language keyword.
     41
     42Example (C#):
     43{{{
     44FeatureSetReader reader = ...;
     45foreach(FeatureSetRow row in reader)
     46{
     47    //Do something with the row
     48    ...
     49}
     50}}}
    3951
    4052From a consuming client's perspective, nothing needs to change. ServerConnectionI and its ilk still return FeatureSetReader.