You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using Microsoft.EntityFrameworkCore;
-
- namespace Sample.Kafka.SqlServer
- {
- public class AppDbContext : DbContext
- {
-
- protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
- {
- //optionsBuilder.UseSqlServer("Server=192.168.2.206;Initial Catalog=Sample.Kafka.SqlServer;User Id=cmswuliu;Password=h7xY81agBn*Veiu3;MultipleActiveResultSets=True");
- optionsBuilder.UseSqlServer("Server=192.168.2.206;Initial Catalog=TestCap;User Id=cmswuliu;Password=h7xY81agBn*Veiu3;MultipleActiveResultSets=True");
- }
- }
- }
|