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

GetDbInformation() protected method

protected GetDbInformation ( string informationType ) : XmlReader
informationType string
return XmlReader
    protected override XmlReader GetDbInformation(string informationType)
    {
      if (informationType == DbProviderManifest.StoreSchemaDefinition)
      {
        return GetStoreSchemaDescription();
      }

      if (informationType == DbProviderManifest.StoreSchemaMapping)
      {
        return GetStoreSchemaMapping();
      }

      throw new ProviderIncompatibleException(String.Format("The provider returned null for the informationType '{0}'.", informationType));
    }