Skip to content

Commit 248bbca

Browse files
committed
feat:更新说明
1 parent 85d6166 commit 248bbca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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.UseNpgsql(@"Host=myserver;Username=mylogin;Password=mypass;Database=mydatabase");
24+
=> optionsBuilder.UseGaussDB(@"host={host};port={port};username={username};password={password};database={database}");
2525
}
2626

2727
public class Blog

0 commit comments

Comments
 (0)