MySql.Data.MySqlClient.MySqlProviderManifest.GetStoreSchemaDescription C# (CSharp) Method

GetStoreSchemaDescription() private method

private GetStoreSchemaDescription ( ) : XmlReader
return XmlReader
    private XmlReader GetStoreSchemaDescription()
    {
      double version = double.Parse(manifestToken, CultureInfo.InvariantCulture);

      if (version < 5.0) throw new NotSupportedException("Your version of MySQL is not currently supported");
      if (version < 5.1) return GetMappingResource("SchemaDefinition-5.0.ssdl");
      if (version < 5.5) return GetMappingResource("SchemaDefinition-5.1.ssdl");
      return GetMappingResource("SchemaDefinition-5.5.ssdl");
    }