123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- <?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="Хранилище TamagochiModel" 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="Animal">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Name" Type="varchar" MaxLength="50" />
- <Property Name="Id_type" Type="int" />
- <Property Name="Health" Type="int" />
- <Property Name="Happy" Type="int" />
- <Property Name="Satiety" Type="int" />
- <Property Name="Image" Type="varchar" MaxLength="50" />
- </EntityType>
- <EntityType Name="Happy">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Activity" Type="varchar" MaxLength="50" />
- <Property Name="CountHappy" Type="int" />
- </EntityType>
- <EntityType Name="Health">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Activity" Type="nvarchar" MaxLength="50" />
- <Property Name="CountHealth" Type="int" />
- </EntityType>
- <EntityType Name="Satiety">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Food" Type="varchar" MaxLength="50" />
- <Property Name="CountSatiety" Type="int" />
- </EntityType>
- <EntityType Name="Type">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="int" Nullable="false" />
- <Property Name="Type" Type="varchar" MaxLength="50" />
- </EntityType>
- <Association Name="FK_Animal_Type">
- <End Role="Type" Type="Self.Type" Multiplicity="0..1" />
- <End Role="Animal" Type="Self.Animal" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Type">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Animal">
- <PropertyRef Name="Id_type" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="Хранилище TamagochiModelContainer">
- <EntitySet Name="Animal" EntityType="Self.Animal" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Happy" EntityType="Self.Happy" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Health" EntityType="Self.Health" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Satiety" EntityType="Self.Satiety" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="Type" EntityType="Self.Type" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_Animal_Type" Association="Self.FK_Animal_Type">
- <End Role="Type" EntitySet="Type" />
- <End Role="Animal" EntitySet="Animal" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="TamagochiModel" 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="TamagochiEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="Animal" EntityType="TamagochiModel.Animal" />
- <EntitySet Name="Happy" EntityType="TamagochiModel.Happy" />
- <EntitySet Name="Health" EntityType="TamagochiModel.Health" />
- <EntitySet Name="Satiety" EntityType="TamagochiModel.Satiety" />
- <EntitySet Name="Type" EntityType="TamagochiModel.Type" />
- <AssociationSet Name="FK_Animal_Type" Association="TamagochiModel.FK_Animal_Type">
- <End Role="Type" EntitySet="Type" />
- <End Role="Animal" EntitySet="Animal" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="Animal">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="Id_type" Type="Int32" />
- <Property Name="Health" Type="Int32" />
- <Property Name="Happy" Type="Int32" />
- <Property Name="Satiety" Type="Int32" />
- <Property Name="Image" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Type" Relationship="TamagochiModel.FK_Animal_Type" FromRole="Animal" ToRole="Type" />
- </EntityType>
- <EntityType Name="Happy">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Activity" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="CountHappy" Type="Int32" />
- </EntityType>
- <EntityType Name="Health">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Activity" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
- <Property Name="CountHealth" Type="Int32" />
- </EntityType>
- <EntityType Name="Satiety">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Food" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="CountSatiety" Type="Int32" />
- </EntityType>
- <EntityType Name="Type">
- <Key>
- <PropertyRef Name="ID" />
- </Key>
- <Property Name="ID" Type="Int32" Nullable="false" />
- <Property Name="Type1" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="Animal" Relationship="TamagochiModel.FK_Animal_Type" FromRole="Type" ToRole="Animal" />
- </EntityType>
- <Association Name="FK_Animal_Type">
- <End Type="TamagochiModel.Type" Role="Type" Multiplicity="0..1" />
- <End Type="TamagochiModel.Animal" Role="Animal" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="Type">
- <PropertyRef Name="ID" />
- </Principal>
- <Dependent Role="Animal">
- <PropertyRef Name="Id_type" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- </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="Хранилище TamagochiModelContainer" CdmEntityContainer="TamagochiEntities">
- <EntitySetMapping Name="Animal">
- <EntityTypeMapping TypeName="TamagochiModel.Animal">
- <MappingFragment StoreEntitySet="Animal">
- <ScalarProperty Name="Image" ColumnName="Image" />
- <ScalarProperty Name="Satiety" ColumnName="Satiety" />
- <ScalarProperty Name="Happy" ColumnName="Happy" />
- <ScalarProperty Name="Health" ColumnName="Health" />
- <ScalarProperty Name="Id_type" ColumnName="Id_type" />
- <ScalarProperty Name="Name" ColumnName="Name" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Happy">
- <EntityTypeMapping TypeName="TamagochiModel.Happy">
- <MappingFragment StoreEntitySet="Happy">
- <ScalarProperty Name="CountHappy" ColumnName="CountHappy" />
- <ScalarProperty Name="Activity" ColumnName="Activity" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Health">
- <EntityTypeMapping TypeName="TamagochiModel.Health">
- <MappingFragment StoreEntitySet="Health">
- <ScalarProperty Name="CountHealth" ColumnName="CountHealth" />
- <ScalarProperty Name="Activity" ColumnName="Activity" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Satiety">
- <EntityTypeMapping TypeName="TamagochiModel.Satiety">
- <MappingFragment StoreEntitySet="Satiety">
- <ScalarProperty Name="CountSatiety" ColumnName="CountSatiety" />
- <ScalarProperty Name="Food" ColumnName="Food" />
- <ScalarProperty Name="ID" ColumnName="ID" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="Type">
- <EntityTypeMapping TypeName="TamagochiModel.Type">
- <MappingFragment StoreEntitySet="Type">
- <ScalarProperty Name="Type1" ColumnName="Type" />
- <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>
|