private static void SetupConnections() { ClusterHelper.Initialize(new ClientConfiguration { Servers = new List <Uri> { new Uri("couchbase://localhost") } }); _bucket = ClusterHelper.GetBucket("sqltocb"); var db = new SqlConnection("data source=(local);initial catalog=sqltocb;integrated security=True;"); _context = new SqlToCbContext(db); }
public ShoppingCartMigrator(IBucket bucket, SqlToCbContext context) { _bucket = bucket; _context = context; }
public SocialMediaMigrator(IBucket bucket, SqlToCbContext context) { _bucket = bucket; _context = context; }