Skip to content

Instantly share code, notes, and snippets.

@freakingawesome
Last active August 29, 2015 14:19
Show Gist options
  • Save freakingawesome/59d53f27cb5cd038d0f9 to your computer and use it in GitHub Desktop.
Save freakingawesome/59d53f27cb5cd038d0f9 to your computer and use it in GitHub Desktop.
/// <summary>
/// Obtain an interactive connection to a database inside redis using the default
/// database ID specified in the configuration.
/// </summary>
public IDatabase GetDefaultDatabase(object asyncState = null)
{
return GetDatabase(configuration.DefaultDatabase ?? 0, asyncState);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment