Skip to content

Instantly share code, notes, and snippets.

@bm4cs
Created September 20, 2012 13:22
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 bm4cs/3755869 to your computer and use it in GitHub Desktop.
Save bm4cs/3755869 to your computer and use it in GitHub Desktop.
BlogStreamInsightAustin02
public void OnNext(PointEvent<TEvent> e)
{
if (e.EventKind == EventKind.Cti)
{
return;
}
var entity = e.Payload;
try
{
_sqlConnection.Open();
_sqlConnection.Insert(entity);
}
finally
{
_sqlConnection.Close();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment