Changes between Version 9 and Version 10 of maestro/MaestroAPI/2.1ApiChanges
- Timestamp:
- 05/05/10 01:38:15 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
maestro/MaestroAPI/2.1ApiChanges
v9 v10 37 37 38 38 !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 42 Example (C#): 43 {{{ 44 FeatureSetReader reader = ...; 45 foreach(FeatureSetRow row in reader) 46 { 47 //Do something with the row 48 ... 49 } 50 }}} 39 51 40 52 From a consuming client's perspective, nothing needs to change. ServerConnectionI and its ilk still return FeatureSetReader.