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