TryParse Method (IEnumerable(XmlReader), IEnumerable(IEdmModel), IEdmModel, IEnumerable(EdmError))
WCF Data Services 5.0
Returns an IEdmModel for the given CSDL artifacts.
Namespace: Microsoft.Data.Edm.Csdl
Assembly: Microsoft.Data.Edm (in Microsoft.Data.Edm.dll)
public static bool TryParse( IEnumerable<XmlReader> readers, IEnumerable<IEdmModel> references, out IEdmModel model, out IEnumerable<EdmError> errors )
Parameters
- readers
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'XmlReader>)>)>
The collection of XmlReaders containing the CSDL artifacts.
- references
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'IEdmModel>)>)>
The models to be references by the created model.
- model
- Type: Microsoft.Data.Edm..::..IEdmModel%
The model generated by parsing.
- errors
- Type: System.Collections.Generic..::..IEnumerable<(Of <(<'EdmError>)>)>%
The errors reported while parsing.