123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- <?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="Model.Store" Provider="System.Data.SqlClient" ProviderManifestToken="2012" Alias="Self" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
- <EntityType Name="T_SqlManager">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="my_string" Type="varchar" MaxLength="50" Nullable="false" />
- <Property Name="my_int" Type="int" Nullable="false" />
- <Property Name="text" Type="bigint" Nullable="false" />
- </EntityType>
- <EntityType Name="T_Text">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
- <Property Name="text" Type="varchar" MaxLength="50" Nullable="false" />
- </EntityType>
- <Association Name="FK_T_SqlManager_T_Text">
- <End Role="T_Text" Type="Self.T_Text" Multiplicity="1" />
- <End Role="T_SqlManager" Type="Self.T_SqlManager" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="T_Text">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="T_SqlManager">
- <PropertyRef Name="text" />
- </Dependent>
- </ReferentialConstraint>
- </Association>
- <EntityContainer Name="ModelStoreContainer">
- <EntitySet Name="T_SqlManager" EntityType="Self.T_SqlManager" Schema="dbo" store:Type="Tables" />
- <EntitySet Name="T_Text" EntityType="Self.T_Text" Schema="dbo" store:Type="Tables" />
- <AssociationSet Name="FK_T_SqlManager_T_Text" Association="Self.FK_T_SqlManager_T_Text">
- <End Role="T_Text" EntitySet="T_Text" />
- <End Role="T_SqlManager" EntitySet="T_SqlManager" />
- </AssociationSet>
- </EntityContainer>
- </Schema></edmx:StorageModels>
- <!-- CSDL content -->
- <edmx:ConceptualModels>
- <Schema Namespace="Model" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
- <EntityContainer Name="SqlServerManagerEntities" annotation:LazyLoadingEnabled="true">
- <EntitySet Name="T_SqlManager" EntityType="Model.T_SqlManager" />
- <EntitySet Name="T_Text" EntityType="Model.T_Text" />
- <AssociationSet Name="FK_T_SqlManager_T_Text" Association="Model.FK_T_SqlManager_T_Text">
- <End Role="T_Text" EntitySet="T_Text" />
- <End Role="T_SqlManager" EntitySet="T_SqlManager" />
- </AssociationSet>
- </EntityContainer>
- <EntityType Name="T_SqlManager">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="my_string" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
- <Property Name="my_int" Type="Int32" Nullable="false" />
- <Property Name="text" Type="Int64" Nullable="false" />
- <NavigationProperty Name="T_Text" Relationship="Model.FK_T_SqlManager_T_Text" FromRole="T_SqlManager" ToRole="T_Text" />
- </EntityType>
- <EntityType Name="T_Text">
- <Key>
- <PropertyRef Name="id" />
- </Key>
- <Property Name="id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
- <Property Name="text" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
- <NavigationProperty Name="T_SqlManager" Relationship="Model.FK_T_SqlManager_T_Text" FromRole="T_Text" ToRole="T_SqlManager" />
- </EntityType>
- <Association Name="FK_T_SqlManager_T_Text">
- <End Type="Model.T_Text" Role="T_Text" Multiplicity="1" />
- <End Type="Model.T_SqlManager" Role="T_SqlManager" Multiplicity="*" />
- <ReferentialConstraint>
- <Principal Role="T_Text">
- <PropertyRef Name="id" />
- </Principal>
- <Dependent Role="T_SqlManager">
- <PropertyRef Name="text" />
- </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="ModelStoreContainer" CdmEntityContainer="SqlServerManagerEntities">
- <EntitySetMapping Name="T_SqlManager">
- <EntityTypeMapping TypeName="Model.T_SqlManager">
- <MappingFragment StoreEntitySet="T_SqlManager">
- <ScalarProperty Name="text" ColumnName="text" />
- <ScalarProperty Name="my_int" ColumnName="my_int" />
- <ScalarProperty Name="my_string" ColumnName="my_string" />
- <ScalarProperty Name="id" ColumnName="id" />
- </MappingFragment>
- </EntityTypeMapping>
- </EntitySetMapping>
- <EntitySetMapping Name="T_Text">
- <EntityTypeMapping TypeName="Model.T_Text">
- <MappingFragment StoreEntitySet="T_Text">
- <ScalarProperty Name="text" ColumnName="text" />
- <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="None" />
- </DesignerInfoPropertySet>
- </Options>
- <!-- Diagram content (shape and connector positions) -->
- <Diagrams></Diagrams>
- </Designer>
- </edmx:Edmx>
|