[성현모] CPXV2 Init
This commit is contained in:
@ -0,0 +1,36 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
|
||||
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
|
||||
// 이러한 특성 값을 변경하세요.
|
||||
[assembly: AssemblyTitle("SystemX.XEFCore")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("SystemX.XEFCore")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2024")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
|
||||
// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
|
||||
// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
|
||||
[assembly: Guid("aba6745f-3019-4551-8df2-ee85b7c9d7ad")]
|
||||
|
||||
// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
|
||||
//
|
||||
// 주 버전
|
||||
// 부 버전
|
||||
// 빌드 번호
|
||||
// 수정 버전
|
||||
//
|
||||
// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호를
|
||||
// 기본값으로 할 수 있습니다.
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@ -0,0 +1,83 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2
|
||||
{
|
||||
public class CPXV2 : DbContext
|
||||
{
|
||||
public string SqlServerConnectionString { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlServer(SqlServerConnectionString);
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<HIST_TesterSummary>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<HIST_TestListFile>()
|
||||
.HasKey(k => new { k.TestListFileNo });
|
||||
|
||||
modelBuilder.Entity<HIST_TestListFileLatestStepVersion>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<HIST_TestListFileVariantList>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<PROD_Group>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<PROD_Release>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<PROD_Variant>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<STAT_Host>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<STAT_TestCode>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<STAT_User>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<STOR_TestListFile>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<VRFY_TestListFileRelease>()
|
||||
.HasKey(k => new { k.No });
|
||||
}
|
||||
|
||||
public DbSet<HIST_TesterSummary> HIST_TesterSummary { get; set; }
|
||||
|
||||
public DbSet<HIST_TestListFile> HIST_TestListFile { get; set; }
|
||||
|
||||
public DbSet<HIST_TestListFileLatestStepVersion> HIST_TestListFileLatestStepVersion { get; set; }
|
||||
|
||||
public DbSet<HIST_TestListFileVariantList> HIST_TestListFileVariantList { get; set; }
|
||||
|
||||
public DbSet<PROD_Group> PROD_Group { get; set; }
|
||||
|
||||
public DbSet<PROD_Release> PROD_Release { get; set; }
|
||||
|
||||
public DbSet<PROD_Variant> PROD_Variant { get; set; }
|
||||
|
||||
public DbSet<STAT_Host> STAT_Host { get; set; }
|
||||
|
||||
public DbSet<STAT_TestCode> STAT_TestCode { get; set; }
|
||||
|
||||
public DbSet<STAT_User> STAT_User { get; set; }
|
||||
|
||||
public DbSet<STOR_TestListFile> STOR_TestListFile { get; set; }
|
||||
|
||||
public DbSet<VRFY_TestListFileRelease> VRFY_TestListFileRelease { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class HIST_TestListFile
|
||||
{
|
||||
public int TestListFileNo { get; set; }
|
||||
public string Name { get; set; }
|
||||
public byte[] TestListData11 { get; set; }
|
||||
public byte[] TestListData12 { get; set; }
|
||||
public byte[] TestListData13 { get; set; }
|
||||
public byte[] TestListData14 { get; set; }
|
||||
public byte[] TestListData15 { get; set; }
|
||||
public byte[] TestListData16 { get; set; }
|
||||
public byte[] TestListData17 { get; set; }
|
||||
public byte[] TestListData18 { get; set; }
|
||||
public byte[] TestListData19 { get; set; }
|
||||
public byte[] TestListData110 { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class HIST_TestListFileLatestStepVersion
|
||||
{
|
||||
public long No { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public int LatestStepVersion { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class HIST_TestListFileVariantList
|
||||
{
|
||||
public long No { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public string VariantList { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class HIST_TesterSummary
|
||||
{
|
||||
public long No { get; set; }
|
||||
public string StationName { get; set; }
|
||||
public string TestType { get; set; }
|
||||
public string Version { get; set; }
|
||||
public string ProdCode { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public int TestListVariantNo { get; set; }
|
||||
public string TestListCntID { get; set; }
|
||||
public int StepVersion { get; set; }
|
||||
public string HostID { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string ProdNO_C { get; set; }
|
||||
public string ProdNo_P { get; set; }
|
||||
public string Testcode { get; set; }
|
||||
public string TestListFileName { get; set; }
|
||||
public string ProductID { get; set; }
|
||||
public string Result { get; set; }
|
||||
public string Duration { get; set; }
|
||||
public DateTime TestDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class PROD_Group
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string GroupName { get; set; }
|
||||
public string ModelName { get; set; }
|
||||
public string Comment { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class PROD_Release
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string ProdNo_C { get; set; }
|
||||
public int TestCodeNo { get; set; }
|
||||
public int VariantNo { get; set; }
|
||||
public string Config { get; set; }
|
||||
public DateTime RegDT { get; set; }
|
||||
public string RegUser { get; set; }
|
||||
public string RegUserComment { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class PROD_Variant
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string ProdNo_P { get; set; }
|
||||
public DateTime RegDT { get; set; }
|
||||
public string RegUser { get; set; }
|
||||
public DateTime UpdateDT { get; set; }
|
||||
public string UpdateUser { get; set; }
|
||||
public int GroupNo { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public string Description { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public int UseTLPosition { get; set; }
|
||||
public sbyte IsUse { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class STAT_Host
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string HostID { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string IP { get; set; }
|
||||
public string TestCode { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public DateTime UpdateDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class STAT_TestCode
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string TestCode { get; set; }
|
||||
public string Gate1 { get; set; }
|
||||
public string Gate2 { get; set; }
|
||||
public string Comment { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class STAT_User
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string UserID { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Password { get; set; }
|
||||
public string Dept { get; set; }
|
||||
public string Email { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public DateTime UpdateDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class STOR_TestListFile
|
||||
{
|
||||
public int No { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string TestType { get; set; }
|
||||
public string Version { get; set; }
|
||||
public string ProdCode { get; set; }
|
||||
public string FileName { get; set; }
|
||||
public DateTime RegDT { get; set; }
|
||||
public string RegUser { get; set; }
|
||||
public DateTime UpdateDT { get; set; }
|
||||
public string UpdateUser { get; set; }
|
||||
public string Comment { get; set; }
|
||||
public string Description { get; set; }
|
||||
public byte[] TestListData{ get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.XEFCore.SystemX.Net.XEFCore.DBContext.CPXV2.Tables
|
||||
{
|
||||
public class VRFY_TestListFileRelease
|
||||
{
|
||||
public long No { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public long StepID { get; set; }
|
||||
public string Variant { get; set; }
|
||||
public string Gate { get; set; }
|
||||
public sbyte Activate { get; set; }
|
||||
public int StepVersion { get; set; }
|
||||
public sbyte Enable { get; set; }
|
||||
public long Position { get; set; }
|
||||
public string StepDesc { get; set; }
|
||||
public string UseFunction { get; set; }
|
||||
public string MacroParm { get; set; }
|
||||
public string Parm { get; set; }
|
||||
public string SpecMin { get; set; }
|
||||
public string SpecMax { get; set; }
|
||||
public sbyte IsGlobal { get; set; }
|
||||
public string Dim { get; set; }
|
||||
public DateTime UpdateDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log.Tables;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log
|
||||
{
|
||||
public class CPXV2Log : DbContext
|
||||
{
|
||||
public string SqlServerConnectionString { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlServer(SqlServerConnectionString);
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<HIST_LatestAccessKey>()
|
||||
.HasKey(k => new { k.KeyValue });
|
||||
|
||||
modelBuilder.Entity<HIST_LogSummary>()
|
||||
.HasNoKey();
|
||||
|
||||
modelBuilder.Entity<HIST_TestResult>()
|
||||
.HasNoKey();
|
||||
}
|
||||
|
||||
public DbSet<HIST_LatestAccessKey> HIST_LatestAccessKey { get; set; }
|
||||
|
||||
public DbSet<HIST_LogSummary> HIST_LogSummary { get; set; }
|
||||
|
||||
public DbSet<HIST_TestResult> HIST_TestResult { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log
|
||||
{
|
||||
public class CPXV2LongTermLog : CPXV2Log
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log
|
||||
{
|
||||
public class CPXV2ShortTermLog : CPXV2Log
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log.Tables
|
||||
{
|
||||
public class HIST_LatestAccessKey
|
||||
{
|
||||
public long KeyValue { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log.Tables
|
||||
{
|
||||
public class HIST_LogSummary
|
||||
{
|
||||
public long No { get; set; }
|
||||
public long AccessStart { get; set; }
|
||||
public long AccessEnd { get; set; }
|
||||
public long? LogNo { get; set; }
|
||||
public int LogCount { get; set; }
|
||||
public string StationName { get; set; }
|
||||
public string TestType { get; set; }
|
||||
public string Version { get; set; }
|
||||
public string ProdCode { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public int TestListVariantNo { get; set; }
|
||||
public string TestListCntID { get; set; }
|
||||
public int StepVersion { get; set; }
|
||||
public string HostID { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string ProdNo_C { get; set; }
|
||||
public string ProdNo_P { get; set; }
|
||||
public string Testcode { get; set; }
|
||||
public string TestListFileName { get; set; }
|
||||
public string ProductID { get; set; }
|
||||
public string Result { get; set; }
|
||||
public string Duration { get; set; }
|
||||
public DateTime TestDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2Log.Tables
|
||||
{
|
||||
public class HIST_TestResult
|
||||
{
|
||||
public long No { get; set; }
|
||||
public long StepID { get; set; }
|
||||
public decimal MeasVal { get; set; }
|
||||
public string MeasValStr { get; set; }
|
||||
public string Message { get; set; }
|
||||
public string GlobalMin { get; set; }
|
||||
public string GlobalMAx { get; set; }
|
||||
public string Result { get; set; }
|
||||
public string SpentTime { get; set; }
|
||||
public DateTime DataDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,39 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Transactions;
|
||||
using SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson.Tables;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson
|
||||
{
|
||||
public class CPXV2LogJson : DbContext
|
||||
{
|
||||
public string SqlServerConnectionString { get; set; }
|
||||
|
||||
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||
{
|
||||
optionsBuilder.UseSqlServer(SqlServerConnectionString);
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
modelBuilder.Entity<HIST_LatestAccessKey>()
|
||||
.HasKey(k => new { k.KeyValue });
|
||||
|
||||
modelBuilder.Entity<HIST_LogSummary>()
|
||||
.HasKey(k => new { k.No });
|
||||
|
||||
modelBuilder.Entity<HIST_TestResult>()
|
||||
.HasKey(k => new { k.LogNo });
|
||||
}
|
||||
|
||||
public DbSet<HIST_LatestAccessKey> HIST_LatestAccessKey { get; set; }
|
||||
|
||||
public DbSet<HIST_LogSummary> HIST_LogSummary { get; set; }
|
||||
|
||||
public DbSet<HIST_TestResult> HIST_TestResult { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson
|
||||
{
|
||||
public class CPXV2LongTermLogJson : CPXV2LogJson
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson
|
||||
{
|
||||
public class CPXV2ShortTermLogJson : CPXV2LogJson
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson
|
||||
{
|
||||
public class CPXV2ShortTermLogJsonGzip : CPXV2LogJson
|
||||
{
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson.Tables
|
||||
{
|
||||
public class HIST_LatestAccessKey
|
||||
{
|
||||
public long KeyValue { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson.Tables
|
||||
{
|
||||
public class HIST_LogSummary
|
||||
{
|
||||
public long No { get; set; }
|
||||
public long? LogNo { get; set; }
|
||||
public int LogCount { get; set; }
|
||||
public string StationName { get; set; }
|
||||
public string TestType { get; set; }
|
||||
public string Version { get; set; }
|
||||
public string ProdCode { get; set; }
|
||||
public int TestListFileNo { get; set; }
|
||||
public int TestListVariantNo { get; set; }
|
||||
public string TestListCntID { get; set; }
|
||||
public int StepVersion { get; set; }
|
||||
public string HostID { get; set; }
|
||||
public string Section { get; set; }
|
||||
public string ProdNo_C { get; set; }
|
||||
public string ProdNo_P { get; set; }
|
||||
public string Testcode { get; set; }
|
||||
public string TestListFileName { get; set; }
|
||||
public string ProductID { get; set; }
|
||||
public string Result { get; set; }
|
||||
public string Duration { get; set; }
|
||||
public DateTime TestDT { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore.DBContext.CPXV2LogJson.Tables
|
||||
{
|
||||
public class HIST_TestResult
|
||||
{
|
||||
public long? LogNo { get; set; }
|
||||
public DateTime DataDT { get; set; }
|
||||
public string LogData { get; set; }
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Reflection;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore
|
||||
{
|
||||
public class XEFCore<T> where T : new()
|
||||
{
|
||||
public T Instance { get; }
|
||||
|
||||
public XEFCore()
|
||||
{
|
||||
Instance = new T();
|
||||
}
|
||||
|
||||
public void SetConnectionString(string connectionString)
|
||||
{
|
||||
Type t = typeof(T);
|
||||
t.GetProperty("SqlServerConnectionString", BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance).SetValue(Instance, connectionString);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Transactions;
|
||||
|
||||
namespace SystemX.Net.Platform.SystemX.Net.XEFCore
|
||||
{
|
||||
public static class XEFCoreTransaction
|
||||
{
|
||||
//with nolock
|
||||
public static TransactionScope CreateTransactionWithNolock()
|
||||
{
|
||||
return new TransactionScope(TransactionScopeOption.Required,
|
||||
new TransactionOptions()
|
||||
{
|
||||
IsolationLevel = IsolationLevel.ReadUncommitted
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
public static class XEFCoreUtil
|
||||
{
|
||||
public static DataTable ToDataTable<T>(this IEnumerable<T> items)
|
||||
{
|
||||
var tb = new DataTable(typeof(T).Name);
|
||||
|
||||
PropertyInfo[] props = typeof(T).GetProperties(BindingFlags.Public | BindingFlags.Instance);
|
||||
|
||||
foreach (var prop in props)
|
||||
{
|
||||
tb.Columns.Add(prop.Name, prop.PropertyType);
|
||||
}
|
||||
|
||||
foreach (var item in items)
|
||||
{
|
||||
var values = new object[props.Length];
|
||||
for (var i = 0; i < props.Length; i++)
|
||||
{
|
||||
values[i] = props[i].GetValue(item, null);
|
||||
}
|
||||
|
||||
tb.Rows.Add(values);
|
||||
}
|
||||
|
||||
return tb;
|
||||
}
|
||||
}
|
||||
|
||||
201
SystemX.Net.CP.Platform/SystemX.XEFCore/SystemX.XEFCore.csproj
Normal file
201
SystemX.Net.CP.Platform/SystemX.XEFCore/SystemX.XEFCore.csproj
Normal file
@ -0,0 +1,201 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{ABA6745F-3019-4551-8DF2-EE85B7C9D7AD}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>SystemX.XEFCore</RootNamespace>
|
||||
<AssemblyName>SystemX.XEFCore</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<Deterministic>true</Deterministic>
|
||||
<NuGetPackageImportStamp>
|
||||
</NuGetPackageImportStamp>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\..\Output.SystemX\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.1.1.1\lib\net461\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Bcl.HashCode, Version=1.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Bcl.HashCode.1.1.1\lib\net461\Microsoft.Bcl.HashCode.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Data.SqlClient, Version=1.13.20136.2, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Data.SqlClient.1.1.3\lib\net46\Microsoft.Data.SqlClient.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.EntityFrameworkCore, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.EntityFrameworkCore.3.1.32\lib\netstandard2.0\Microsoft.EntityFrameworkCore.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.EntityFrameworkCore.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.EntityFrameworkCore.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.EntityFrameworkCore.Relational, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.EntityFrameworkCore.Relational.3.1.32\lib\netstandard2.0\Microsoft.EntityFrameworkCore.Relational.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.EntityFrameworkCore.SqlServer, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.EntityFrameworkCore.SqlServer.3.1.32\lib\netstandard2.0\Microsoft.EntityFrameworkCore.SqlServer.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Caching.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Caching.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Caching.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Caching.Memory, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Caching.Memory.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Caching.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Configuration.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Configuration.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Configuration.Binder, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Configuration.Binder.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Configuration.Binder.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.DependencyInjection, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.3.1.32\lib\net461\Microsoft.Extensions.DependencyInjection.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Logging.Abstractions, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Logging.Abstractions.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Logging.Abstractions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Options, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Options.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Options.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Extensions.Primitives, Version=3.1.32.0, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Extensions.Primitives.3.1.32\lib\netstandard2.0\Microsoft.Extensions.Primitives.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.Identity.Client, Version=3.0.8.0, Culture=neutral, PublicKeyToken=0a613f4dd989e8ae, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Identity.Client.3.0.8\lib\net45\Microsoft.Identity.Client.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.JsonWebTokens, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.JsonWebTokens.5.5.0\lib\net461\Microsoft.IdentityModel.JsonWebTokens.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Logging, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Logging.5.5.0\lib\net461\Microsoft.IdentityModel.Logging.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Protocols, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Protocols.5.5.0\lib\net461\Microsoft.IdentityModel.Protocols.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Protocols.OpenIdConnect, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Protocols.OpenIdConnect.5.5.0\lib\net461\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.IdentityModel.Tokens, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.IdentityModel.Tokens.5.5.0\lib\net461\Microsoft.IdentityModel.Tokens.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Newtonsoft.Json.10.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Buffers, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Buffers.4.5.1\lib\net461\System.Buffers.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Collections.Immutable, Version=1.2.5.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Collections.Immutable.1.7.1\lib\net461\System.Collections.Immutable.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.Annotations, Version=4.2.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.ComponentModel.Annotations.4.7.0\lib\net461\System.ComponentModel.Annotations.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.ComponentModel.DataAnnotations" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Data.Common, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Data.Common.4.3.0\lib\net451\System.Data.Common.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Diagnostics.DiagnosticSource, Version=4.0.5.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Diagnostics.DiagnosticSource.4.7.1\lib\net46\System.Diagnostics.DiagnosticSource.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.IdentityModel" />
|
||||
<Reference Include="System.IdentityModel.Tokens.Jwt, Version=5.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.IdentityModel.Tokens.Jwt.5.5.0\lib\net461\System.IdentityModel.Tokens.Jwt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Memory.4.5.4\lib\net461\System.Memory.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Numerics" />
|
||||
<Reference Include="System.Numerics.Vectors, Version=4.1.4.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Numerics.Vectors.4.5.0\lib\net46\System.Numerics.Vectors.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.6.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.7.1\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System.Transactions" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2LogJson\CPXV2LogJson.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2LogJson\CPXV2LongTermLogJson.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2LogJson\CPXV2ShortTermLogJson.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2LogJson\Tables\HIST_LatestAccessKey.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2LogJson\Tables\HIST_LogSummary.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2LogJson\Tables\HIST_TestResult.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2Log\CPXV2Log.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2Log\CPXV2LongTermLog.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2Log\CPXV2ShortTermLog.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2Log\Tables\HIST_LatestAccessKey.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2Log\Tables\HIST_LogSummary.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2Log\Tables\HIST_TestResult.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\CPXV2.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\HIST_TesterSummary.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\HIST_TestListFile.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\HIST_TestListFileLatestStepVersion.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\HIST_TestListFileVariantList.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\PROD_Group.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\PROD_Release.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\PROD_Variant.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\STAT_Host.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\STAT_TestCode.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\STAT_User.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\STOR_TestListFile.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\DBContext\CPXV2\Tables\VRFY_TestListFileRelease.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\XEFCore.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\XEFCoreTransaction.cs" />
|
||||
<Compile Include="SystemX.Net.XEFCore\XEFCoreUtil.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="app.config" />
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\Microsoft.Data.SqlClient.SNI.1.1.0\build\net46\Microsoft.Data.SqlClient.SNI.targets" Condition="Exists('..\packages\Microsoft.Data.SqlClient.SNI.1.1.0\build\net46\Microsoft.Data.SqlClient.SNI.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
<ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText>
|
||||
</PropertyGroup>
|
||||
<Error Condition="!Exists('..\packages\Microsoft.Data.SqlClient.SNI.1.1.0\build\net46\Microsoft.Data.SqlClient.SNI.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Data.SqlClient.SNI.1.1.0\build\net46\Microsoft.Data.SqlClient.SNI.targets'))" />
|
||||
</Target>
|
||||
</Project>
|
||||
51
SystemX.Net.CP.Platform/SystemX.XEFCore/app.config
Normal file
51
SystemX.Net.CP.Platform/SystemX.XEFCore/app.config
Normal file
@ -0,0 +1,51 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.6.0" newVersion="4.0.6.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Primitives" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Configuration.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Caching.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Options" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.Logging.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.1.32.0" newVersion="3.1.32.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.ComponentModel.Annotations" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.1.0" newVersion="4.2.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
</configuration>
|
||||
40
SystemX.Net.CP.Platform/SystemX.XEFCore/packages.config
Normal file
40
SystemX.Net.CP.Platform/SystemX.XEFCore/packages.config
Normal file
@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="Microsoft.Bcl.AsyncInterfaces" version="1.1.1" targetFramework="net48" />
|
||||
<package id="Microsoft.Bcl.HashCode" version="1.1.1" targetFramework="net48" />
|
||||
<package id="Microsoft.Data.SqlClient" version="1.1.3" targetFramework="net48" />
|
||||
<package id="Microsoft.Data.SqlClient.SNI" version="1.1.0" targetFramework="net48" />
|
||||
<package id="Microsoft.EntityFrameworkCore" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.EntityFrameworkCore.Abstractions" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.EntityFrameworkCore.Analyzers" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.EntityFrameworkCore.Relational" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.EntityFrameworkCore.SqlServer" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Caching.Abstractions" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Caching.Memory" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration.Abstractions" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Configuration.Binder" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.DependencyInjection" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.DependencyInjection.Abstractions" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Logging" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Logging.Abstractions" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Options" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Extensions.Primitives" version="3.1.32" targetFramework="net48" />
|
||||
<package id="Microsoft.Identity.Client" version="3.0.8" targetFramework="net48" />
|
||||
<package id="Microsoft.IdentityModel.JsonWebTokens" version="5.5.0" targetFramework="net48" />
|
||||
<package id="Microsoft.IdentityModel.Logging" version="5.5.0" targetFramework="net48" />
|
||||
<package id="Microsoft.IdentityModel.Protocols" version="5.5.0" targetFramework="net48" />
|
||||
<package id="Microsoft.IdentityModel.Protocols.OpenIdConnect" version="5.5.0" targetFramework="net48" />
|
||||
<package id="Microsoft.IdentityModel.Tokens" version="5.5.0" targetFramework="net48" />
|
||||
<package id="Newtonsoft.Json" version="10.0.1" targetFramework="net48" />
|
||||
<package id="System.Buffers" version="4.5.1" targetFramework="net48" />
|
||||
<package id="System.Collections.Immutable" version="1.7.1" targetFramework="net48" />
|
||||
<package id="System.ComponentModel.Annotations" version="4.7.0" targetFramework="net48" />
|
||||
<package id="System.Data.Common" version="4.3.0" targetFramework="net48" />
|
||||
<package id="System.Diagnostics.DiagnosticSource" version="4.7.1" targetFramework="net48" />
|
||||
<package id="System.IdentityModel.Tokens.Jwt" version="5.5.0" targetFramework="net48" />
|
||||
<package id="System.Memory" version="4.5.4" targetFramework="net48" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" targetFramework="net48" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.7.1" targetFramework="net48" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.4" targetFramework="net48" />
|
||||
</packages>
|
||||
Reference in New Issue
Block a user