[성현모] CPMeta경로 변경, 테이블 이름 수정, 스캐폴드

This commit is contained in:
SHM
2025-10-30 12:24:37 +09:00
parent 24a2eed617
commit bb44f2af79
14 changed files with 20 additions and 21 deletions

View File

@ -11,11 +11,13 @@ public partial class CPMetaContext : DbContext
{
}
public virtual DbSet<tWbmsMetum> tWbmsMeta { get; set; }
public virtual DbSet<tWbm> tWbms { get; set; }
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<tWbmsMetum>(entity =>
modelBuilder.UseCollation("SQL_Latin1_General_CP1_CI_AS");
modelBuilder.Entity<tWbm>(entity =>
{
entity.HasKey(e => e.cProductID).HasName("PK_cProductKey");

View File

@ -3,7 +3,7 @@ using System.Collections.Generic;
namespace SystemX.Core.DB;
public partial class tWbmsMetum
public partial class tWbm
{
public string cProductID { get; set; } = null!;