Test/WpfApp1/UserDB.edmx
Никита Клочков 501497ecc8 first commit
2025-04-17 15:23:20 +03:00

94 lines
5.6 KiB
XML

<?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="Хранилище Nefedov307Model" 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="Client">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
<Property Name="FirstName" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="LastName" Type="nvarchar" MaxLength="50" Nullable="false" />
<Property Name="Patronymic" Type="nvarchar" MaxLength="50" />
<Property Name="Birthday" Type="date" />
<Property Name="RegistrationDate" Type="datetime" Nullable="false" />
<Property Name="Email" Type="nvarchar" MaxLength="255" />
<Property Name="Phone" Type="nvarchar" MaxLength="20" Nullable="false" />
<Property Name="GenderCode" Type="nchar" MaxLength="1" Nullable="false" />
<Property Name="PhotoPath" Type="nvarchar" MaxLength="1000" />
</EntityType>
<EntityContainer Name="Хранилище Nefedov307ModelContainer">
<EntitySet Name="Client" EntityType="Self.Client" Schema="dbo" store:Type="Tables" />
</EntityContainer>
</Schema>
</edmx:StorageModels>
<!-- CSDL content -->
<edmx:ConceptualModels>
<Schema Namespace="Nefedov307Model" 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="Client">
<Key>
<PropertyRef Name="ID" />
</Key>
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
<Property Name="FirstName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="LastName" Type="String" MaxLength="50" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="Patronymic" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
<Property Name="Birthday" Type="DateTime" Precision="0" />
<Property Name="RegistrationDate" Type="DateTime" Nullable="false" Precision="3" />
<Property Name="Email" Type="String" MaxLength="255" FixedLength="false" Unicode="true" />
<Property Name="Phone" Type="String" MaxLength="20" FixedLength="false" Unicode="true" Nullable="false" />
<Property Name="GenderCode" Type="String" MaxLength="1" FixedLength="true" Unicode="true" Nullable="false" />
<Property Name="PhotoPath" Type="String" MaxLength="1000" FixedLength="false" Unicode="true" />
</EntityType>
<EntityContainer Name="Nefedov307Entities" annotation:LazyLoadingEnabled="true">
<EntitySet Name="Client" EntityType="Self.Client" />
</EntityContainer>
</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="Хранилище Nefedov307ModelContainer" CdmEntityContainer="Nefedov307Entities">
<EntitySetMapping Name="Client">
<EntityTypeMapping TypeName="Nefedov307Model.Client">
<MappingFragment StoreEntitySet="Client">
<ScalarProperty Name="ID" ColumnName="ID" />
<ScalarProperty Name="FirstName" ColumnName="FirstName" />
<ScalarProperty Name="LastName" ColumnName="LastName" />
<ScalarProperty Name="Patronymic" ColumnName="Patronymic" />
<ScalarProperty Name="Birthday" ColumnName="Birthday" />
<ScalarProperty Name="RegistrationDate" ColumnName="RegistrationDate" />
<ScalarProperty Name="Email" ColumnName="Email" />
<ScalarProperty Name="Phone" ColumnName="Phone" />
<ScalarProperty Name="GenderCode" ColumnName="GenderCode" />
<ScalarProperty Name="PhotoPath" ColumnName="PhotoPath" />
</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>