Skip to content

Commit 673649c

Browse files
committed
feat:更新说明
1 parent 3509de6 commit 673649c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EFCore.KingbaseES/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class BlogContext : DbContext
2121
public DbSet<Blog> Blogs { get; set; }
2222

2323
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
24-
=> optionsBuilder.UseKdbndp(@"Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase");
24+
=> optionsBuilder.UseKdbndp(@"host={host};port={port};database={database};username={username};password={password};");
2525
}
2626

2727
public class Blog

0 commit comments

Comments
 (0)