[성현모] CPMeta 기능 구현 완료
This commit is contained in:
@ -21,10 +21,13 @@ public partial class CPMetaContext : DbContext
|
||||
{
|
||||
entity.HasKey(e => e.cProductID).HasName("PK_cProductKey");
|
||||
|
||||
entity.HasIndex(e => e.cMacAddress, "UQ_cMacAddress").IsUnique();
|
||||
entity.HasIndex(e => e.cMacAddress1, "UQ_cMacAddress1").IsUnique();
|
||||
|
||||
entity.HasIndex(e => e.cMacAddress2, "UQ_cMacAddress2").IsUnique();
|
||||
|
||||
entity.Property(e => e.cProductID).HasMaxLength(50);
|
||||
entity.Property(e => e.cMacAddress).HasMaxLength(50);
|
||||
entity.Property(e => e.cMacAddress1).HasMaxLength(50);
|
||||
entity.Property(e => e.cMacAddress2).HasMaxLength(50);
|
||||
entity.Property(e => e.cProductNo).HasMaxLength(50);
|
||||
entity.Property(e => e.cSpareValue).HasMaxLength(200);
|
||||
entity.Property(e => e.cType).HasMaxLength(20);
|
||||
|
||||
Reference in New Issue
Block a user