You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

183 lines
11 KiB

<?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="TicketModel.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" 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="Product">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="nchar" MaxLength="30" Nullable="false" />
<Property Name="ProductName" Type="nchar" MaxLength="50" />
<Property Name="ProductType" Type="int" />
<Property Name="ProductClass" Type="int" />
<Property Name="Color" Type="int" />
<Property Name="ProductLot" Type="nchar" MaxLength="30" />
<Property Name="FullWeight" Type="float" />
<Property Name="ProductUnit" Type="int" />
<Property Name="SafetyStock" Type="float" />
<Property Name="Price" Type="float" />
<Property Name="CurrentStock" Type="float" />
<Property Name="Deduct" Type="float" />
<Property Name="RplDate" Type="datetime" />
<Property Name="UsedDate" Type="datetime" />
<Property Name="CuMonth" Type="nchar" MaxLength="2" />
<Property Name="LaStock" Type="float" />
<Property Name="ThStock" Type="float" />
<Property Name="ThUsed" Type="float" />
<Property Name="LampPosition" Type="int" />
<Property Name="TablePosition" Type="nchar" MaxLength="5" />
<Property Name="Area" Type="nchar" MaxLength="5" />
<Property Name="Concentration" Type="float" />
<Property Name="Batch_NO" Type="varchar" MaxLength="30" />
<Property Name="Pump" Type="int" />
<Property Name="SUPPLIER" Type="varchar" MaxLength="50" />
<Property Name="GRAVITY" Type="float" Nullable="false" />
</EntityType>
<EntityType Name="UserAccount">
<Key>
<PropertyRef Name="tmp_field" />
</Key>
<Property Name="tmp_field" Type="varchar" MaxLength="1" Nullable="false" />
<Property Name="UserCode" Type="varchar" MaxLength="50" />
<Property Name="PassWord" Type="varchar" MaxLength="50" />
<Property Name="JobTicket" Type="int" />
<Property Name="Report" Type="int" />
<Property Name="PathSetup" Type="int" />
<Property Name="UserSetup" Type="int" />
<Property Name="GROUP_CODE" Type="varchar" MaxLength="50" Nullable="false" />
</EntityType>
<EntityContainer Name="TicketModelStoreContainer">
<EntitySet Name="Product" EntityType="Self.Product" Schema="dbo" store:Type="Tables" />
<EntitySet Name="UserAccount" EntityType="Self.UserAccount" Schema="dbo" store:Type="Tables" />
</EntityContainer>
</Schema></edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="TicketModel" 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">
<EntityType Name="UserAccount">
<Key>
<PropertyRef Name="tmp_field" />
</Key>
<Property Name="tmp_field" Type="String" MaxLength="1" FixedLength="false" Unicode="false" Nullable="false" />
<Property Name="UserCode" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="PassWord" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="JobTicket" Type="Int32" />
<Property Name="Report" Type="Int32" />
<Property Name="PathSetup" Type="Int32" />
<Property Name="UserSetup" Type="Int32" />
<Property Name="GROUP_CODE" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
</EntityType>
<EntityContainer Name="TicketEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="UserAccount" EntityType="Self.UserAccount" />
<EntitySet Name="Product" EntityType="TicketModel.Product" />
</EntityContainer>
<EntityType Name="Product">
<Key>
<PropertyRef Name="ProductCode" />
</Key>
<Property Name="ProductCode" Type="String" Nullable="false" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="ProductName" Type="String" MaxLength="50" FixedLength="true" Unicode="true" />
<Property Name="ProductType" Type="Int32" />
<Property Name="ProductClass" Type="Int32" />
<Property Name="Color" Type="Int32" />
<Property Name="ProductLot" Type="String" MaxLength="30" FixedLength="true" Unicode="true" />
<Property Name="FullWeight" Type="Double" />
<Property Name="ProductUnit" Type="Int32" />
<Property Name="SafetyStock" Type="Double" />
<Property Name="Price" Type="Double" />
<Property Name="CurrentStock" Type="Double" />
<Property Name="Deduct" Type="Double" />
<Property Name="RplDate" Type="DateTime" Precision="3" />
<Property Name="UsedDate" Type="DateTime" Precision="3" />
<Property Name="CuMonth" Type="String" MaxLength="2" FixedLength="true" Unicode="true" />
<Property Name="LaStock" Type="Double" />
<Property Name="ThStock" Type="Double" />
<Property Name="ThUsed" Type="Double" />
<Property Name="LampPosition" Type="Int32" />
<Property Name="TablePosition" Type="String" MaxLength="5" FixedLength="true" Unicode="true" />
<Property Name="Area" Type="String" MaxLength="5" FixedLength="true" Unicode="true" />
<Property Name="Concentration" Type="Double" />
<Property Name="Batch_NO" Type="String" MaxLength="30" FixedLength="false" Unicode="false" />
<Property Name="Pump" Type="Int32" />
<Property Name="SUPPLIER" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
<Property Name="GRAVITY" Type="Double" Nullable="false" />
</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="TicketModelStoreContainer" CdmEntityContainer="TicketEntities">
<EntitySetMapping Name="UserAccount">
<EntityTypeMapping TypeName="TicketModel.UserAccount">
<MappingFragment StoreEntitySet="UserAccount">
<ScalarProperty Name="tmp_field" ColumnName="tmp_field" />
<ScalarProperty Name="UserCode" ColumnName="UserCode" />
<ScalarProperty Name="PassWord" ColumnName="PassWord" />
<ScalarProperty Name="JobTicket" ColumnName="JobTicket" />
<ScalarProperty Name="Report" ColumnName="Report" />
<ScalarProperty Name="PathSetup" ColumnName="PathSetup" />
<ScalarProperty Name="UserSetup" ColumnName="UserSetup" />
<ScalarProperty Name="GROUP_CODE" ColumnName="GROUP_CODE" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="Product">
<EntityTypeMapping TypeName="TicketModel.Product">
<MappingFragment StoreEntitySet="Product">
<ScalarProperty Name="GRAVITY" ColumnName="GRAVITY" />
<ScalarProperty Name="SUPPLIER" ColumnName="SUPPLIER" />
<ScalarProperty Name="Pump" ColumnName="Pump" />
<ScalarProperty Name="Batch_NO" ColumnName="Batch_NO" />
<ScalarProperty Name="Concentration" ColumnName="Concentration" />
<ScalarProperty Name="Area" ColumnName="Area" />
<ScalarProperty Name="TablePosition" ColumnName="TablePosition" />
<ScalarProperty Name="LampPosition" ColumnName="LampPosition" />
<ScalarProperty Name="ThUsed" ColumnName="ThUsed" />
<ScalarProperty Name="ThStock" ColumnName="ThStock" />
<ScalarProperty Name="LaStock" ColumnName="LaStock" />
<ScalarProperty Name="CuMonth" ColumnName="CuMonth" />
<ScalarProperty Name="UsedDate" ColumnName="UsedDate" />
<ScalarProperty Name="RplDate" ColumnName="RplDate" />
<ScalarProperty Name="Deduct" ColumnName="Deduct" />
<ScalarProperty Name="CurrentStock" ColumnName="CurrentStock" />
<ScalarProperty Name="Price" ColumnName="Price" />
<ScalarProperty Name="SafetyStock" ColumnName="SafetyStock" />
<ScalarProperty Name="ProductUnit" ColumnName="ProductUnit" />
<ScalarProperty Name="FullWeight" ColumnName="FullWeight" />
<ScalarProperty Name="ProductLot" ColumnName="ProductLot" />
<ScalarProperty Name="Color" ColumnName="Color" />
<ScalarProperty Name="ProductClass" ColumnName="ProductClass" />
<ScalarProperty Name="ProductType" ColumnName="ProductType" />
<ScalarProperty Name="ProductName" ColumnName="ProductName" />
<ScalarProperty Name="ProductCode" ColumnName="ProductCode" />
</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>