Преглед изворни кода

update configuration

add supported new database store provider description
master
Savorboard пре 7 година
committed by GitHub
родитељ
комит
83f221546a
1 измењених фајлова са 6 додато и 1 уклоњено
  1. +6
    -1
      README.md

+ 6
- 1
README.md Прегледај датотеку

@@ -44,10 +44,13 @@ If your Message Queue is using RabbitMQ, you can:
PM> Install-Package DotNetCore.CAP.RabbitMQ PM> Install-Package DotNetCore.CAP.RabbitMQ
``` ```


CAP provides EntityFramework as default database store extension (The MySQL version is under development)
CAP supported SqlServer, MySql, PostgreSql as message store extension


``` ```
//Select a database provider you are using
PM> Install-Package DotNetCore.CAP.SqlServer PM> Install-Package DotNetCore.CAP.SqlServer
PM> Install-Package DotNetCore.CAP.MySql
PM> Install-Package DotNetCore.CAP.PostgreSql
``` ```


### Configuration ### Configuration
@@ -69,6 +72,8 @@ public void ConfigureServices(IServiceCollection services)
// If you are using Dapper,you need to add the config: // If you are using Dapper,you need to add the config:
x.UseSqlServer("Your ConnectionStrings"); x.UseSqlServer("Your ConnectionStrings");
//x.UseMySql("Your ConnectionStrings");
//x.UsePostgreSql("Your ConnectionStrings");


// If your Message Queue is using RabbitMQ you need to add the config: // If your Message Queue is using RabbitMQ you need to add the config:
x.UseRabbitMQ("localhost"); x.UseRabbitMQ("localhost");


Loading…
Откажи
Сачувај