|
|
@@ -26,7 +26,7 @@ namespace Sample.RabbitMQ.MySql |
|
|
|
} |
|
|
|
public class AppDbContext : DbContext |
|
|
|
{ |
|
|
|
public const string ConnectionString = "Server=192.168.2.120;Database=captest;UserId=root;Password=123123;"; |
|
|
|
public const string ConnectionString = "Server=localhost;Database=testcap;UserId=root;Password=123123;"; |
|
|
|
|
|
|
|
public DbSet<Person> Persons { get; set; } |
|
|
|
|
|
|
|