Ejemplo n.º 1
0
 public static void UseSqlServerAsOneWayClient(this StandardConfigurer <ITransport> configurer, string connectionString, bool enlistInAmbientTransaction = false)
 {
     configurer.UseSqlServerAsOneWayClient(new SqlServerTransportOptions(connectionString, enlistInAmbientTransaction))
     .AsOneWayClient();
 }
Ejemplo n.º 2
0
 public static void UseSqlServerAsOneWayClient(this StandardConfigurer <ITransport> configurer, Func <Task <IDbConnection> > connectionFactory)
 {
     configurer.UseSqlServerAsOneWayClient(new SqlServerTransportOptions(connectionFactory));
 }