Skip to content

Commit

Permalink
adding some conditional compilation around a sample does not compile …
Browse files Browse the repository at this point in the history
…against netstandard < 2
  • Loading branch information
jeremydmiller committed Nov 14, 2017
1 parent 28a8c18 commit 5bd4b03
Show file tree
Hide file tree
Showing 2 changed files with 357 additions and 355 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public ability_to_use_an_existing_connection_and_transaction(ITestOutputHelper o
theStore.BulkInsertDocuments(targets);
}

#if NET46
// SAMPLE: passing-in-existing-connections-and-transactions
public void samples(IDocumentStore store, NpgsqlConnection connection, NpgsqlTransaction transaction)
{
Expand Down Expand Up @@ -59,7 +60,8 @@ public void samples(IDocumentStore store, NpgsqlConnection connection, NpgsqlTra
});
}
}
// ENDSAMPLE
// ENDSAMPLE
#endif


#if NET46 || NETCOREAPP2_0
Expand Down
Loading

0 comments on commit 5bd4b03

Please sign in to comment.