Vital Core Extraction – Deep Dive Analysis
Executive Summary
This document provides a comprehensive technical analysis for extracting the Vital Core from the legacy EITWEP.Model project. The goal is to create a .NET Standard 2.1 portable layer that can be consumed by both the legacy .NET Framework 4.8 monolith and future .NET 10 Modern API.
[!CAUTION] Risk Level: HIGH – This is the most tightly coupled component in the architecture. Incorrect extraction will break 10+ dependent projects.
1. Current State Analysis
1.1 Project Metrics
| Metric | Value | Risk |
|---|---|---|
| Total Files | 3,400+ | 🔴 Massive scope |
| EntityClasses | 840 | 🔴 Auto-generated, don't touch |
| EntityPartials | 369 | 🟡 Custom logic, high coupling |
| EntityLists | 178 | 🟡 Legacy query patterns |
| Business Files | 1,985 | 🔴 Bloated, mixed concerns |
| Target Framework | .NET 4.8 | 🔴 Legacy |
| Entity Framework | 6.4.4 | 🟢 Compatible with .NET Standard 2.1 |