Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

SqlServerManager.edmx 6.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <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">
  8. <EntityType Name="T_SqlManager">
  9. <Key>
  10. <PropertyRef Name="id" />
  11. </Key>
  12. <Property Name="id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
  13. <Property Name="my_string" Type="varchar" MaxLength="50" Nullable="false" />
  14. <Property Name="my_int" Type="int" Nullable="false" />
  15. <Property Name="text" Type="bigint" Nullable="false" />
  16. </EntityType>
  17. <EntityType Name="T_Text">
  18. <Key>
  19. <PropertyRef Name="id" />
  20. </Key>
  21. <Property Name="id" Type="bigint" StoreGeneratedPattern="Identity" Nullable="false" />
  22. <Property Name="text" Type="varchar" MaxLength="50" Nullable="false" />
  23. </EntityType>
  24. <Association Name="FK_T_SqlManager_T_Text">
  25. <End Role="T_Text" Type="Self.T_Text" Multiplicity="1" />
  26. <End Role="T_SqlManager" Type="Self.T_SqlManager" Multiplicity="*" />
  27. <ReferentialConstraint>
  28. <Principal Role="T_Text">
  29. <PropertyRef Name="id" />
  30. </Principal>
  31. <Dependent Role="T_SqlManager">
  32. <PropertyRef Name="text" />
  33. </Dependent>
  34. </ReferentialConstraint>
  35. </Association>
  36. <EntityContainer Name="ModelStoreContainer">
  37. <EntitySet Name="T_SqlManager" EntityType="Self.T_SqlManager" Schema="dbo" store:Type="Tables" />
  38. <EntitySet Name="T_Text" EntityType="Self.T_Text" Schema="dbo" store:Type="Tables" />
  39. <AssociationSet Name="FK_T_SqlManager_T_Text" Association="Self.FK_T_SqlManager_T_Text">
  40. <End Role="T_Text" EntitySet="T_Text" />
  41. <End Role="T_SqlManager" EntitySet="T_SqlManager" />
  42. </AssociationSet>
  43. </EntityContainer>
  44. </Schema></edmx:StorageModels>
  45. <!-- CSDL content -->
  46. <edmx:ConceptualModels>
  47. <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">
  48. <EntityContainer Name="SqlServerManagerEntities" annotation:LazyLoadingEnabled="true">
  49. <EntitySet Name="T_SqlManager" EntityType="Model.T_SqlManager" />
  50. <EntitySet Name="T_Text" EntityType="Model.T_Text" />
  51. <AssociationSet Name="FK_T_SqlManager_T_Text" Association="Model.FK_T_SqlManager_T_Text">
  52. <End Role="T_Text" EntitySet="T_Text" />
  53. <End Role="T_SqlManager" EntitySet="T_SqlManager" />
  54. </AssociationSet>
  55. </EntityContainer>
  56. <EntityType Name="T_SqlManager">
  57. <Key>
  58. <PropertyRef Name="id" />
  59. </Key>
  60. <Property Name="id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  61. <Property Name="my_string" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
  62. <Property Name="my_int" Type="Int32" Nullable="false" />
  63. <Property Name="text" Type="Int64" Nullable="false" />
  64. <NavigationProperty Name="T_Text" Relationship="Model.FK_T_SqlManager_T_Text" FromRole="T_SqlManager" ToRole="T_Text" />
  65. </EntityType>
  66. <EntityType Name="T_Text">
  67. <Key>
  68. <PropertyRef Name="id" />
  69. </Key>
  70. <Property Name="id" Type="Int64" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  71. <Property Name="text" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
  72. <NavigationProperty Name="T_SqlManager" Relationship="Model.FK_T_SqlManager_T_Text" FromRole="T_Text" ToRole="T_SqlManager" />
  73. </EntityType>
  74. <Association Name="FK_T_SqlManager_T_Text">
  75. <End Type="Model.T_Text" Role="T_Text" Multiplicity="1" />
  76. <End Type="Model.T_SqlManager" Role="T_SqlManager" Multiplicity="*" />
  77. <ReferentialConstraint>
  78. <Principal Role="T_Text">
  79. <PropertyRef Name="id" />
  80. </Principal>
  81. <Dependent Role="T_SqlManager">
  82. <PropertyRef Name="text" />
  83. </Dependent>
  84. </ReferentialConstraint>
  85. </Association>
  86. </Schema>
  87. </edmx:ConceptualModels>
  88. <!-- C-S mapping content -->
  89. <edmx:Mappings>
  90. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  91. <EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="SqlServerManagerEntities">
  92. <EntitySetMapping Name="T_SqlManager">
  93. <EntityTypeMapping TypeName="Model.T_SqlManager">
  94. <MappingFragment StoreEntitySet="T_SqlManager">
  95. <ScalarProperty Name="text" ColumnName="text" />
  96. <ScalarProperty Name="my_int" ColumnName="my_int" />
  97. <ScalarProperty Name="my_string" ColumnName="my_string" />
  98. <ScalarProperty Name="id" ColumnName="id" />
  99. </MappingFragment>
  100. </EntityTypeMapping>
  101. </EntitySetMapping>
  102. <EntitySetMapping Name="T_Text">
  103. <EntityTypeMapping TypeName="Model.T_Text">
  104. <MappingFragment StoreEntitySet="T_Text">
  105. <ScalarProperty Name="text" ColumnName="text" />
  106. <ScalarProperty Name="id" ColumnName="id" />
  107. </MappingFragment>
  108. </EntityTypeMapping>
  109. </EntitySetMapping>
  110. </EntityContainerMapping>
  111. </Mapping>
  112. </edmx:Mappings>
  113. </edmx:Runtime>
  114. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  115. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  116. <Connection>
  117. <DesignerInfoPropertySet>
  118. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  119. </DesignerInfoPropertySet>
  120. </Connection>
  121. <Options>
  122. <DesignerInfoPropertySet>
  123. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  124. <DesignerProperty Name="EnablePluralization" Value="false" />
  125. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  126. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  127. <DesignerProperty Name="CodeGenerationStrategy" Value="None" />
  128. </DesignerInfoPropertySet>
  129. </Options>
  130. <!-- Diagram content (shape and connector positions) -->
  131. <Diagrams></Diagrams>
  132. </Designer>
  133. </edmx:Edmx>