HaoYue.Personality/AkiragestuProject/Model1.edmx

181 lines
9.1 KiB
Plaintext
Raw Normal View History

2018-10-11 20:53:13 +08:00
<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
<!-- EF Runtime content -->
<edmx:Runtime>
<!-- SSDL content -->
<edmx:StorageModels>
<Schema Namespace="akiragetsuModel.Store" Provider="MySql.Data.MySqlClient" ProviderManifestToken="5.1" 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/02/edm/ssdl">
<EntityType Name="ak_impression">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Content" Type="text" />
<Property Name="CreateTime" Type="datetime" Precision="0" />
<Property Name="Deep" Type="double" />
</EntityType>
<EntityType Name="ak_mainperson">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="Mood" Type="double" />
<Property Name="Energy" Type="double" />
<Property Name="Hungry" Type="double" />
<Property Name="MentalityType" Type="int" />
</EntityType>
<EntityType Name="ak_petphrase">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" Nullable="false" />
<Property Name="Petphrase" Type="varchar" MaxLength="200" />
<Property Name="AppearNumber" Type="int" />
<Property Name="CreateTime" Type="datetime" Precision="0" />
<Property Name="Deep" Type="double" />
</EntityType>
<!--生成过程中发现错误:
警告 6002: 表/视图“akiragetsu.ak_qa”未定义主键。已推断出该键并将定义创建为只读的表/视图。-->
<EntityType Name="ak_qa">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="guid" Nullable="false" />
<Property Name="Q" Type="text" />
<Property Name="A" Type="text" />
<Property Name="CreateTime" Type="datetime" Precision="0" />
</EntityType>
<EntityContainer Name="akiragetsuModelStoreContainer">
<EntitySet Name="ak_impression" EntityType="Self.ak_impression" Schema="akiragetsu" store:Type="Tables" />
<EntitySet Name="ak_mainperson" EntityType="Self.ak_mainperson" Schema="akiragetsu" store:Type="Tables" />
<EntitySet Name="ak_petphrase" EntityType="Self.ak_petphrase" Schema="akiragetsu" store:Type="Tables" />
<EntitySet Name="ak_qa" EntityType="Self.ak_qa" store:Type="Tables" store:Schema="akiragetsu">
<DefiningQuery>SELECT
`ak_qa`.`ID`,
`ak_qa`.`Q`,
`ak_qa`.`A`,
`ak_qa`.`CreateTime`
FROM `ak_qa` AS `ak_qa`</DefiningQuery>
</EntitySet>
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="akiragetsuModel" Alias="Self" 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/2008/09/edm">
<EntityType Name="ak_impression">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Content" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" />
<Property Name="Deep" Type="Double" />
</EntityType>
<EntityType Name="ak_mainperson">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="Mood" Type="Double" />
<Property Name="Energy" Type="Double" />
<Property Name="Hungry" Type="Double" />
<Property Name="MentalityType" Type="Int32" />
</EntityType>
<EntityType Name="ak_petphrase">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" />
<Property Name="Petphrase" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
<Property Name="AppearNumber" Type="Int32" />
<Property Name="CreateTime" Type="DateTime" />
<Property Name="Deep" Type="Double" />
</EntityType>
<EntityType Name="ak_qa">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Guid" Nullable="false" />
<Property Name="Q" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="A" Type="String" MaxLength="65535" FixedLength="false" Unicode="false" />
<Property Name="CreateTime" Type="DateTime" />
</EntityType>
<EntityContainer Name="akiragetsuEntities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="ak_impression" EntityType="Self.ak_impression" />
<EntitySet Name="ak_mainperson" EntityType="Self.ak_mainperson" />
<EntitySet Name="ak_petphrase" EntityType="Self.ak_petphrase" />
<EntitySet Name="ak_qa" EntityType="Self.ak_qa" />
</EntityContainer>
</Schema>
</edmx:ConceptualModels>
<!-- C-S mapping content -->
<edmx:Mappings>
<Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs">
<EntityContainerMapping StorageEntityContainer="akiragetsuModelStoreContainer" CdmEntityContainer="akiragetsuEntities">
<EntitySetMapping Name="ak_impression">
<EntityTypeMapping TypeName="akiragetsuModel.ak_impression">
<MappingFragment StoreEntitySet="ak_impression">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Content" ColumnName="Content" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="Deep" ColumnName="Deep" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ak_mainperson">
<EntityTypeMapping TypeName="akiragetsuModel.ak_mainperson">
<MappingFragment StoreEntitySet="ak_mainperson">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Mood" ColumnName="Mood" />
<ScalarProperty Name="Energy" ColumnName="Energy" />
<ScalarProperty Name="Hungry" ColumnName="Hungry" />
<ScalarProperty Name="MentalityType" ColumnName="MentalityType" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ak_petphrase">
<EntityTypeMapping TypeName="akiragetsuModel.ak_petphrase">
<MappingFragment StoreEntitySet="ak_petphrase">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Petphrase" ColumnName="Petphrase" />
<ScalarProperty Name="AppearNumber" ColumnName="AppearNumber" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
<ScalarProperty Name="Deep" ColumnName="Deep" />
</MappingFragment>
</EntityTypeMapping>
</EntitySetMapping>
<EntitySetMapping Name="ak_qa">
<EntityTypeMapping TypeName="akiragetsuModel.ak_qa">
<MappingFragment StoreEntitySet="ak_qa">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="Q" ColumnName="Q" />
<ScalarProperty Name="A" ColumnName="A" />
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
</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/2008/10/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="true" />
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
</DesignerInfoPropertySet>
</Options>
<!-- Diagram content (shape and connector positions) -->
<Diagrams></Diagrams>
</Designer>
</edmx:Edmx>