src/Simple.OData.Client.Core/ODataClient.cs
/// <summary>
/// Parses the OData service metadata string.
/// </summary>
/// <typeparam name="T">OData protocol specific metadata interface</typeparam>
/// <param name="metadataString">The metadata string.</param>
/// <returns>
/// The service metadata.
/// </returns>
Parses the OData service metadata string.
Parses the OData service metadata string .
public static T ParseMetadataString<T>(string metadataString)
	{
		var session = Session.FromMetadata(new Uri("http://localhost/" + metadataString.GetHashCode() + "$metadata"), metadataString);
		return (T)session.Adapter.Model;
	}
public static T ParseMetadataString < T > ( string metadataString ) { var session = Session . FromMetadata ( new Uri ( " " + metadataString . GetHashCode ( ) + " " ) , metadataString ) ; return ( T ) session . Adapter . Model ; }
Parses the OData service metadata string.
Parses the OData service metadata string .
The service metadata.
The service metadata .
metadataString
string
The metadata string.
The metadata string .
typeparam
OData protocol specific metadata interface
OData protocol specific metadata interface