Skip to content

Commit

Permalink
Minor change to MsSqlEventStore.Store() fixes pjvds#51
Browse files Browse the repository at this point in the history
  • Loading branch information
jasondentler committed Mar 1, 2011
1 parent 03fa173 commit 8419bd9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,9 @@ public CommittedEventStream ReadFrom(Guid id, long minVersion, long maxVersion)

public void Store(UncommittedEventStream eventStream)
{
if (!eventStream.Any())
return;

using (var connection = new SqlConnection(_connectionString))
{
connection.Open();
Expand Down

0 comments on commit 8419bd9

Please sign in to comment.