Permalink
Browse files

Issue #122 - Specify dialect.

  • Loading branch information...
1 parent 6fb3fb3 commit 83672d0beb2503d12c010f630e68c885c2ed6ad6 @damianh damianh committed Oct 5, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 doc/EventStore.Example/MainProgram.cs
@@ -1,3 +1,5 @@
+using EventStore.Persistence.SqlPersistence.SqlDialects;
+
namespace EventStore.Example
{
using System;
@@ -33,7 +35,9 @@ private static IStoreEvents WireupEventStore()
{
return Wireup.Init()
.LogToOutputWindow()
+ .UsingInMemoryPersistence()
.UsingSqlPersistence("EventStore") // Connection string is in app.config
+ .WithDialect(new MsSqlDialect())
.EnlistInAmbientTransaction() // two-phase commit
.InitializeStorageEngine()
.TrackPerformanceInstance("example")

0 comments on commit 83672d0

Please sign in to comment.