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.

UserEntities.edmx 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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_Users">
  9. <Key>
  10. <PropertyRef Name="id" />
  11. </Key>
  12. <Property Name="id" Type="bigint" Nullable="false" />
  13. <Property Name="username" Type="nvarchar" MaxLength="50" Nullable="false" />
  14. <Property Name="password" Type="varchar" MaxLength="120" Nullable="false" />
  15. <Property Name="salt" Type="varchar" MaxLength="10" Nullable="false" />
  16. <Property Name="role" Type="int" Nullable="false" />
  17. <Property Name="firstname" Type="nvarchar" MaxLength="50" />
  18. <Property Name="lastname" Type="nvarchar" MaxLength="50" />
  19. <Property Name="profile_id" Type="bigint" />
  20. </EntityType>
  21. <EntityContainer Name="ModelStoreContainer">
  22. <EntitySet Name="T_Users" EntityType="Self.T_Users" Schema="dbo" store:Type="Tables" />
  23. </EntityContainer>
  24. </Schema></edmx:StorageModels>
  25. <!-- CSDL content -->
  26. <edmx:ConceptualModels>
  27. <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">
  28. <EntityContainer Name="UserEntities" annotation:LazyLoadingEnabled="true" >
  29. <EntitySet Name="T_Users" EntityType="Model.T_Users" />
  30. </EntityContainer>
  31. <EntityType Name="T_Users">
  32. <Key>
  33. <PropertyRef Name="id" />
  34. </Key>
  35. <Property Name="id" Type="Int64" Nullable="false" />
  36. <Property Name="username" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
  37. <Property Name="password" Type="String" Nullable="false" MaxLength="120" FixedLength="false" Unicode="false" />
  38. <Property Name="salt" Type="String" Nullable="false" MaxLength="10" FixedLength="false" Unicode="false" />
  39. <Property Name="role" Type="Int32" Nullable="false" />
  40. <Property Name="firstname" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  41. <Property Name="lastname" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
  42. <Property Name="profile_id" Type="Int64" />
  43. </EntityType>
  44. </Schema>
  45. </edmx:ConceptualModels>
  46. <!-- C-S mapping content -->
  47. <edmx:Mappings>
  48. <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
  49. <EntityContainerMapping StorageEntityContainer="ModelStoreContainer" CdmEntityContainer="UserEntities" >
  50. <EntitySetMapping Name="T_Users">
  51. <EntityTypeMapping TypeName="Model.T_Users">
  52. <MappingFragment StoreEntitySet="T_Users">
  53. <ScalarProperty Name="profile_id" ColumnName="profile_id" />
  54. <ScalarProperty Name="lastname" ColumnName="lastname" />
  55. <ScalarProperty Name="firstname" ColumnName="firstname" />
  56. <ScalarProperty Name="role" ColumnName="role" />
  57. <ScalarProperty Name="salt" ColumnName="salt" />
  58. <ScalarProperty Name="password" ColumnName="password" />
  59. <ScalarProperty Name="username" ColumnName="username" />
  60. <ScalarProperty Name="id" ColumnName="id" />
  61. </MappingFragment>
  62. </EntityTypeMapping>
  63. </EntitySetMapping>
  64. </EntityContainerMapping>
  65. </Mapping>
  66. </edmx:Mappings>
  67. </edmx:Runtime>
  68. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  69. <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
  70. <Connection>
  71. <DesignerInfoPropertySet>
  72. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  73. </DesignerInfoPropertySet>
  74. </Connection>
  75. <Options>
  76. <DesignerInfoPropertySet>
  77. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  78. <DesignerProperty Name="EnablePluralization" Value="false" />
  79. <DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
  80. <DesignerProperty Name="UseLegacyProvider" Value="false" />
  81. <DesignerProperty Name="CodeGenerationStrategy" Value="None" />
  82. </DesignerInfoPropertySet>
  83. </Options>
  84. <!-- Diagram content (shape and connector positions) -->
  85. <Diagrams></Diagrams>
  86. </Designer>
  87. </edmx:Edmx>