Skip to content

Instantly share code, notes, and snippets.

@fffej
Created April 19, 2013 09:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fffej/5419140 to your computer and use it in GitHub Desktop.
Save fffej/5419140 to your computer and use it in GitHub Desktop.
private LiveDatabase RefreshLiveDatabase(LiveDatabase source, int whichDatabase)
{
source.Cleanup();
var original = whichDatabase == 1 ? m_DB1Original : m_DB2Original;
return original.ToLive();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment