郭睿 ce5010a344 完成框架升级 hai 1 mes
..
ISMS_BASE.Models 7ab5f7db11 基础框架搭建 hai 2 meses
ISMS_Data.Models 7ab5f7db11 基础框架搭建 hai 2 meses
ISMS_Yc.Models 7ab5f7db11 基础框架搭建 hai 2 meses
ReportServer.Models 7ab5f7db11 基础框架搭建 hai 2 meses
ReportServerTempDB.Models 7ab5f7db11 基础框架搭建 hai 2 meses
CodeFirstExistingDatabaseSample.csproj ce5010a344 完成框架升级 hai 1 mes
DbContextOptionsConfigurer.cs 7ab5f7db11 基础框架搭建 hai 2 meses
ISMSDbContextFactory.cs 7ab5f7db11 基础框架搭建 hai 2 meses
ISMS_BASEContext.cs 7ab5f7db11 基础框架搭建 hai 2 meses
ISMS_BASEEntityFrameworkCoreModule.cs 7ab5f7db11 基础框架搭建 hai 2 meses
ISMS_DataContext.cs 7ab5f7db11 基础框架搭建 hai 2 meses
ISMS_YcContext.cs 7ab5f7db11 基础框架搭建 hai 2 meses
Program.cs 7ab5f7db11 基础框架搭建 hai 2 meses
README.MD 7ab5f7db11 基础框架搭建 hai 2 meses
ReportServerContext.cs 7ab5f7db11 基础框架搭建 hai 2 meses
ReportServerTempDBContext.cs 7ab5f7db11 基础框架搭建 hai 2 meses

README.MD

对现有数据库使用 Code First https://learn.microsoft.com/zh-cn/ef/ef6/modeling/code-first/workflows/existing-database SQL Server 添加ADO.Net实体框架提供“项目的目标框架不包含实体框架运行时程序集” https://cloud.tencent.com/developer/ask/sof/106576813

命令: Scaffold-DbContext "Server=192.168.110.161;User ID=sa;Password=sa;Database=ReportServerTempDB;Trusted_Connection=False;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir ReportServerTempDB.Models Scaffold-DbContext "Server=192.168.110.161;User ID=sa;Password=sa;Database=ReportServer;Trusted_Connection=False;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir ReportServer.Models Scaffold-DbContext "Server=192.168.110.161;User ID=sa;Password=sa;Database=ISMS_Yc;Trusted_Connection=False;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir ISMS_Yc.Models Scaffold-DbContext "Server=192.168.110.161;User ID=sa;Password=sa;Database=ISMS_Data;Trusted_Connection=False;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir ISMS_Data.Models Scaffold-DbContext "Server=192.168.110.161;User ID=sa;Password=sa;Database=ISMS_BASE;Trusted_Connection=False;" Microsoft.EntityFrameworkCore.SqlServer -OutputDir ISMS_BASE.Models