在程式區塊中呼叫optionsBuilder 的UseSqlServer 方法定義資料庫來源,如下: protected override void OnConfiguring(DbContextOptionsBuilder ...
確定! 回上一頁