531 lines
32 KiB
Plaintext
531 lines
32 KiB
Plaintext
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
|
||
|
|
<!-- EF Runtime content -->
|
||
|
|
<edmx:Runtime>
|
||
|
|
<!-- SSDL content -->
|
||
|
|
<edmx:StorageModels>
|
||
|
|
<Schema Namespace="Uts_InHaosModel.Store" Provider="MySql.Data.MySqlClient" ProviderManifestToken="5.5" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
|
||
|
|
<EntityType Name="TBL_Customer">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="CompanyID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="CompanyID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="CustomerAbbr" Type="varchar" MaxLength="64" Nullable="false" />
|
||
|
|
<Property Name="CustomerName" Type="varchar" MaxLength="64" Nullable="false" />
|
||
|
|
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_FlowCtr">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="ProjectID" Type="int" />
|
||
|
|
<Property Name="SUT_SN" Type="varchar" MaxLength="254" />
|
||
|
|
<Property Name="ProcessRecord" Type="varchar" MaxLength="254" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_Log">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="UserID" Type="int" />
|
||
|
|
<Property Name="DateTime" Type="datetime" Precision="0" />
|
||
|
|
<Property Name="Operation" Type="varchar" MaxLength="254" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_OrderInternal">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="OrderID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="InternalNo" Type="varchar" MaxLength="64" Nullable="false" />
|
||
|
|
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYield" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYieldTotal" Type="int" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_Orders">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="OrderID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="OrderID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="CompanyID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ProductID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="OrderNo" Type="varchar" MaxLength="64" Nullable="false" />
|
||
|
|
<Property Name="OrderCount" Type="int" Nullable="false" />
|
||
|
|
<Property Name="DeliveryTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
<Property Name="CostPrice" Type="float" Nullable="false" />
|
||
|
|
<Property Name="TransactPrice" Type="float" Nullable="false" />
|
||
|
|
<Property Name="OrderStatus" Type="int" Nullable="false" />
|
||
|
|
<Property Name="Sn_Start" Type="varchar" MaxLength="11" />
|
||
|
|
<Property Name="Sn_End" Type="varchar" MaxLength="11" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_ProductionLine">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="Name" Type="varchar" MaxLength="64" Nullable="false" />
|
||
|
|
<Property Name="Description" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="Remark" Type="varchar" MaxLength="255" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_ProductionPlan">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="OrderID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ProductionLineID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="OrderInternalID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="StationID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ProductionTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
<Property Name="ActualOutput" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYield" Type="int" Nullable="false" />
|
||
|
|
<Property Name="Remark" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="Sn_Start" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="Sn_End" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="ObjectiveYieldTotal" Type="int" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_Project">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ProjectID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ProjectID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="ProjectName" Type="varchar" MaxLength="64" Nullable="false" />
|
||
|
|
<Property Name="Description" Type="varchar" MaxLength="64" />
|
||
|
|
<Property Name="UserID" Type="int" />
|
||
|
|
<Property Name="CreateTime" Type="datetime" Precision="0" />
|
||
|
|
<Property Name="Remark" Type="varchar" MaxLength="254" />
|
||
|
|
<Property Name="PreviewImage" Type="blob" />
|
||
|
|
<Property Name="Price" Type="float" />
|
||
|
|
<Property Name="Currency" Type="varchar" MaxLength="10" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_SnList">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="OrderID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="OrderInternalID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ProductID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="BarCode" Type="varchar" MaxLength="255" Nullable="false" />
|
||
|
|
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
<Property Name="UseTime" Type="datetime" Precision="0" />
|
||
|
|
<Property Name="IsUse" Type="bool" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_SnRules">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="OrderID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="OrderInternalID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="ProductID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="StationIDs" Type="varchar" MaxLength="255" Nullable="false" />
|
||
|
|
<Property Name="Sn_Prefix" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="Sn_Start" Type="varchar" MaxLength="11" Nullable="false" />
|
||
|
|
<Property Name="Sn_End" Type="varchar" MaxLength="11" Nullable="false" />
|
||
|
|
<Property Name="CreateTime" Type="datetime" Precision="0" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_StationList">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="StationID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="StationID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="ProjectID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="StationName" Type="varchar" MaxLength="255" Nullable="false" />
|
||
|
|
<Property Name="StationType" Type="varchar" MaxLength="255" Nullable="false" />
|
||
|
|
<Property Name="ArtworkOrder" Type="int" Nullable="false" />
|
||
|
|
<Property Name="StationDesc" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="LastUpdateDate" Type="datetime" Precision="0" />
|
||
|
|
<Property Name="LogTableName" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="BinPackage" Type="blob" />
|
||
|
|
<Property Name="BinPackageMd5" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="PreviewImage" Type="blob" />
|
||
|
|
<Property Name="Remark" Type="varchar" MaxLength="255" />
|
||
|
|
<Property Name="PacketName" Type="varchar" MaxLength="255" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_SyncList">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
|
|
<Property Name="CurrentDate" Type="datetime" Precision="0" />
|
||
|
|
<Property Name="TableName" Type="varchar" MaxLength="254" Nullable="false" />
|
||
|
|
<Property Name="RevisionID" Type="int" Nullable="false" />
|
||
|
|
<Property Name="SyncType" Type="varchar" MaxLength="254" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityContainer Name="Uts_InHaosModelStoreContainer">
|
||
|
|
<EntitySet Name="TBL_Customer" EntityType="Self.TBL_Customer" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_FlowCtr" EntityType="Self.TBL_FlowCtr" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_Log" EntityType="Self.TBL_Log" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_OrderInternal" EntityType="Self.TBL_OrderInternal" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_Orders" EntityType="Self.TBL_Orders" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_ProductionLine" EntityType="Self.TBL_ProductionLine" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_ProductionPlan" EntityType="Self.TBL_ProductionPlan" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_Project" EntityType="Self.TBL_Project" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_SnList" EntityType="Self.TBL_SnList" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_SnRules" EntityType="Self.TBL_SnRules" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_StationList" EntityType="Self.TBL_StationList" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
<EntitySet Name="TBL_SyncList" EntityType="Self.TBL_SyncList" Schema="uts_inhaos" store:Type="Tables" />
|
||
|
|
</EntityContainer>
|
||
|
|
</Schema></edmx:StorageModels>
|
||
|
|
<!-- CSDL content -->
|
||
|
|
<edmx:ConceptualModels>
|
||
|
|
<Schema Namespace="Uts_InHaosModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
|
||
|
|
<EntityContainer Name="Uts_InHaosEntities" annotation:LazyLoadingEnabled="true">
|
||
|
|
<EntitySet Name="TBL_Customer" EntityType="Uts_InHaosModel.TBL_Customer" />
|
||
|
|
<EntitySet Name="TBL_FlowCtr" EntityType="Uts_InHaosModel.TBL_FlowCtr" />
|
||
|
|
<EntitySet Name="TBL_Log" EntityType="Uts_InHaosModel.TBL_Log" />
|
||
|
|
<EntitySet Name="TBL_ProductionLine" EntityType="Uts_InHaosModel.TBL_ProductionLine" />
|
||
|
|
<EntitySet Name="TBL_Project" EntityType="Uts_InHaosModel.TBL_Project" />
|
||
|
|
<EntitySet Name="TBL_SyncList" EntityType="Uts_InHaosModel.TBL_SyncList" />
|
||
|
|
<EntitySet Name="TBL_StationList" EntityType="Uts_InHaosModel.TBL_StationList" />
|
||
|
|
<EntitySet Name="TBL_Orders" EntityType="Uts_InHaosModel.TBL_Orders" />
|
||
|
|
<EntitySet Name="TBL_ProductionPlan" EntityType="Uts_InHaosModel.TBL_ProductionPlan" />
|
||
|
|
<EntitySet Name="TBL_SnRules" EntityType="Uts_InHaosModel.TBL_SnRules" />
|
||
|
|
<EntitySet Name="TBL_OrderInternal" EntityType="Uts_InHaosModel.TBL_OrderInternal" />
|
||
|
|
<EntitySet Name="TBL_SnList" EntityType="Uts_InHaosModel.TBL_SnList" />
|
||
|
|
</EntityContainer>
|
||
|
|
<EntityType Name="TBL_Customer">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="CompanyID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="CompanyID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="CustomerAbbr" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="CustomerName" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_FlowCtr">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="ProjectID" Type="Int32" />
|
||
|
|
<Property Name="SUT_SN" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="ProcessRecord" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_Log">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="UserID" Type="Int32" />
|
||
|
|
<Property Name="DateTime" Type="DateTime" />
|
||
|
|
<Property Name="Operation" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_ProductionLine">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="Name" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Description" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_Project">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ProjectID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ProjectID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="ProjectName" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Description" Type="String" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="UserID" Type="Int32" />
|
||
|
|
<Property Name="CreateTime" Type="DateTime" />
|
||
|
|
<Property Name="Remark" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="PreviewImage" Type="Binary" MaxLength="Max" FixedLength="false" />
|
||
|
|
<Property Name="Price" Type="Single" />
|
||
|
|
<Property Name="Currency" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_SyncList">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="CurrentDate" Type="DateTime" />
|
||
|
|
<Property Name="TableName" Type="String" Nullable="false" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="RevisionID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="SyncType" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_StationList">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="StationID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="StationID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="ProjectID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="StationName" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="StationType" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="ArtworkOrder" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="StationDesc" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="LastUpdateDate" Type="DateTime" />
|
||
|
|
<Property Name="LogTableName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="BinPackage" Type="Binary" MaxLength="Max" FixedLength="false" />
|
||
|
|
<Property Name="BinPackageMd5" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="PreviewImage" Type="Binary" MaxLength="Max" FixedLength="false" />
|
||
|
|
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="PacketName" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_Orders">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="OrderID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="OrderID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="CompanyID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ProductID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="OrderNo" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="OrderCount" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="DeliveryTime" Type="DateTime" Nullable="false" />
|
||
|
|
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
|
||
|
|
<Property Name="CostPrice" Type="Single" Nullable="false" />
|
||
|
|
<Property Name="TransactPrice" Type="Single" Nullable="false" />
|
||
|
|
<Property Name="OrderStatus" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="Sn_Start" Type="String" MaxLength="11" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Sn_End" Type="String" MaxLength="11" FixedLength="false" Unicode="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_ProductionPlan">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="OrderID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ProductionLineID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ProductionTime" Type="DateTime" Nullable="false" />
|
||
|
|
<Property Name="ActualOutput" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYield" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="Remark" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Sn_Start" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Sn_End" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="OrderInternalID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYieldTotal" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="StationID" Type="Int32" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_SnRules">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="OrderID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="OrderInternalID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ProductID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="StationIDs" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Sn_Prefix" Type="String" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Sn_Start" Type="String" Nullable="false" MaxLength="11" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="Sn_End" Type="String" Nullable="false" MaxLength="11" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_OrderInternal">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="OrderID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="InternalNo" Type="String" Nullable="false" MaxLength="64" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYield" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ObjectiveYieldTotal" Type="Int32" Nullable="false" />
|
||
|
|
</EntityType>
|
||
|
|
<EntityType Name="TBL_SnList">
|
||
|
|
<Key>
|
||
|
|
<PropertyRef Name="ID" />
|
||
|
|
</Key>
|
||
|
|
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
|
|
<Property Name="OrderID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="OrderInternalID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="ProductID" Type="Int32" Nullable="false" />
|
||
|
|
<Property Name="BarCode" Type="String" Nullable="false" MaxLength="255" FixedLength="false" Unicode="false" />
|
||
|
|
<Property Name="CreateTime" Type="DateTime" Nullable="false" />
|
||
|
|
<Property Name="IsUse" Type="Boolean" Nullable="false" />
|
||
|
|
<Property Name="UseTime" Type="DateTime" />
|
||
|
|
</EntityType>
|
||
|
|
</Schema>
|
||
|
|
</edmx:ConceptualModels>
|
||
|
|
<!-- C-S mapping content -->
|
||
|
|
<edmx:Mappings>
|
||
|
|
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
|
||
|
|
<EntityContainerMapping StorageEntityContainer="Uts_InHaosModelStoreContainer" CdmEntityContainer="Uts_InHaosEntities">
|
||
|
|
<EntitySetMapping Name="TBL_Customer">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Customer">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_Customer">
|
||
|
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
|
|
<ScalarProperty Name="CustomerName" ColumnName="CustomerName" />
|
||
|
|
<ScalarProperty Name="CustomerAbbr" ColumnName="CustomerAbbr" />
|
||
|
|
<ScalarProperty Name="CompanyID" ColumnName="CompanyID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_FlowCtr">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_FlowCtr">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_FlowCtr">
|
||
|
|
<ScalarProperty Name="ProcessRecord" ColumnName="ProcessRecord" />
|
||
|
|
<ScalarProperty Name="SUT_SN" ColumnName="SUT_SN" />
|
||
|
|
<ScalarProperty Name="ProjectID" ColumnName="ProjectID" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_Log">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Log">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_Log">
|
||
|
|
<ScalarProperty Name="Operation" ColumnName="Operation" />
|
||
|
|
<ScalarProperty Name="DateTime" ColumnName="DateTime" />
|
||
|
|
<ScalarProperty Name="UserID" ColumnName="UserID" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_ProductionLine">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_ProductionLine">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_ProductionLine">
|
||
|
|
<ScalarProperty Name="Remark" ColumnName="Remark" />
|
||
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
||
|
|
<ScalarProperty Name="Name" ColumnName="Name" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_Project">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Project">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_Project">
|
||
|
|
<ScalarProperty Name="Currency" ColumnName="Currency" />
|
||
|
|
<ScalarProperty Name="Price" ColumnName="Price" />
|
||
|
|
<ScalarProperty Name="PreviewImage" ColumnName="PreviewImage" />
|
||
|
|
<ScalarProperty Name="Remark" ColumnName="Remark" />
|
||
|
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
|
|
<ScalarProperty Name="UserID" ColumnName="UserID" />
|
||
|
|
<ScalarProperty Name="Description" ColumnName="Description" />
|
||
|
|
<ScalarProperty Name="ProjectName" ColumnName="ProjectName" />
|
||
|
|
<ScalarProperty Name="ProjectID" ColumnName="ProjectID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_SyncList">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_SyncList">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_SyncList">
|
||
|
|
<ScalarProperty Name="SyncType" ColumnName="SyncType" />
|
||
|
|
<ScalarProperty Name="RevisionID" ColumnName="RevisionID" />
|
||
|
|
<ScalarProperty Name="TableName" ColumnName="TableName" />
|
||
|
|
<ScalarProperty Name="CurrentDate" ColumnName="CurrentDate" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_StationList">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_StationList">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_StationList">
|
||
|
|
<ScalarProperty Name="PacketName" ColumnName="PacketName" />
|
||
|
|
<ScalarProperty Name="Remark" ColumnName="Remark" />
|
||
|
|
<ScalarProperty Name="PreviewImage" ColumnName="PreviewImage" />
|
||
|
|
<ScalarProperty Name="BinPackageMd5" ColumnName="BinPackageMd5" />
|
||
|
|
<ScalarProperty Name="BinPackage" ColumnName="BinPackage" />
|
||
|
|
<ScalarProperty Name="LogTableName" ColumnName="LogTableName" />
|
||
|
|
<ScalarProperty Name="LastUpdateDate" ColumnName="LastUpdateDate" />
|
||
|
|
<ScalarProperty Name="StationDesc" ColumnName="StationDesc" />
|
||
|
|
<ScalarProperty Name="ArtworkOrder" ColumnName="ArtworkOrder" />
|
||
|
|
<ScalarProperty Name="StationType" ColumnName="StationType" />
|
||
|
|
<ScalarProperty Name="StationName" ColumnName="StationName" />
|
||
|
|
<ScalarProperty Name="ProjectID" ColumnName="ProjectID" />
|
||
|
|
<ScalarProperty Name="StationID" ColumnName="StationID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_Orders">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_Orders">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_Orders">
|
||
|
|
<ScalarProperty Name="Sn_End" ColumnName="Sn_End" />
|
||
|
|
<ScalarProperty Name="Sn_Start" ColumnName="Sn_Start" />
|
||
|
|
<ScalarProperty Name="OrderStatus" ColumnName="OrderStatus" />
|
||
|
|
<ScalarProperty Name="TransactPrice" ColumnName="TransactPrice" />
|
||
|
|
<ScalarProperty Name="CostPrice" ColumnName="CostPrice" />
|
||
|
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
|
|
<ScalarProperty Name="DeliveryTime" ColumnName="DeliveryTime" />
|
||
|
|
<ScalarProperty Name="OrderCount" ColumnName="OrderCount" />
|
||
|
|
<ScalarProperty Name="OrderNo" ColumnName="OrderNo" />
|
||
|
|
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
|
||
|
|
<ScalarProperty Name="CompanyID" ColumnName="CompanyID" />
|
||
|
|
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_ProductionPlan">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_ProductionPlan">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_ProductionPlan">
|
||
|
|
<ScalarProperty Name="StationID" ColumnName="StationID" />
|
||
|
|
<ScalarProperty Name="ObjectiveYieldTotal" ColumnName="ObjectiveYieldTotal" />
|
||
|
|
<ScalarProperty Name="OrderInternalID" ColumnName="OrderInternalID" />
|
||
|
|
<ScalarProperty Name="Sn_End" ColumnName="Sn_End" />
|
||
|
|
<ScalarProperty Name="Sn_Start" ColumnName="Sn_Start" />
|
||
|
|
<ScalarProperty Name="Remark" ColumnName="Remark" />
|
||
|
|
<ScalarProperty Name="ObjectiveYield" ColumnName="ObjectiveYield" />
|
||
|
|
<ScalarProperty Name="ActualOutput" ColumnName="ActualOutput" />
|
||
|
|
<ScalarProperty Name="ProductionTime" ColumnName="ProductionTime" />
|
||
|
|
<ScalarProperty Name="ProductionLineID" ColumnName="ProductionLineID" />
|
||
|
|
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_SnRules">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_SnRules">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_SnRules">
|
||
|
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
|
|
<ScalarProperty Name="Sn_End" ColumnName="Sn_End" />
|
||
|
|
<ScalarProperty Name="Sn_Start" ColumnName="Sn_Start" />
|
||
|
|
<ScalarProperty Name="Sn_Prefix" ColumnName="Sn_Prefix" />
|
||
|
|
<ScalarProperty Name="StationIDs" ColumnName="StationIDs" />
|
||
|
|
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
|
||
|
|
<ScalarProperty Name="OrderInternalID" ColumnName="OrderInternalID" />
|
||
|
|
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_OrderInternal">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_OrderInternal">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_OrderInternal">
|
||
|
|
<ScalarProperty Name="ObjectiveYieldTotal" ColumnName="ObjectiveYieldTotal" />
|
||
|
|
<ScalarProperty Name="ObjectiveYield" ColumnName="ObjectiveYield" />
|
||
|
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
|
|
<ScalarProperty Name="InternalNo" ColumnName="InternalNo" />
|
||
|
|
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
<EntitySetMapping Name="TBL_SnList">
|
||
|
|
<EntityTypeMapping TypeName="Uts_InHaosModel.TBL_SnList">
|
||
|
|
<MappingFragment StoreEntitySet="TBL_SnList">
|
||
|
|
<ScalarProperty Name="UseTime" ColumnName="UseTime" />
|
||
|
|
<ScalarProperty Name="IsUse" ColumnName="IsUse" />
|
||
|
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
|
|
<ScalarProperty Name="BarCode" ColumnName="BarCode" />
|
||
|
|
<ScalarProperty Name="ProductID" ColumnName="ProductID" />
|
||
|
|
<ScalarProperty Name="OrderInternalID" ColumnName="OrderInternalID" />
|
||
|
|
<ScalarProperty Name="OrderID" ColumnName="OrderID" />
|
||
|
|
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
|
|
</MappingFragment>
|
||
|
|
</EntityTypeMapping>
|
||
|
|
</EntitySetMapping>
|
||
|
|
</EntityContainerMapping>
|
||
|
|
</Mapping>
|
||
|
|
</edmx:Mappings>
|
||
|
|
</edmx:Runtime>
|
||
|
|
<!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
|
||
|
|
<Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
|
||
|
|
<Connection>
|
||
|
|
<DesignerInfoPropertySet>
|
||
|
|
<DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
|
||
|
|
</DesignerInfoPropertySet>
|
||
|
|
</Connection>
|
||
|
|
<Options>
|
||
|
|
<DesignerInfoPropertySet>
|
||
|
|
<DesignerProperty Name="ValidateOnBuild" Value="true" />
|
||
|
|
<DesignerProperty Name="EnablePluralization" Value="false" />
|
||
|
|
<DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
|
||
|
|
<DesignerProperty Name="UseLegacyProvider" Value="false" />
|
||
|
|
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
|
||
|
|
</DesignerInfoPropertySet>
|
||
|
|
</Options>
|
||
|
|
<!-- Diagram content (shape and connector positions) -->
|
||
|
|
<Diagrams></Diagrams>
|
||
|
|
</Designer>
|
||
|
|
</edmx:Edmx>
|