HRServiceContext.edmx 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <edmx:Edmx Version="2.0" xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx">
  3. <!-- EF Runtime content -->
  4. <edmx:Runtime>
  5. <!-- SSDL content -->
  6. <edmx:StorageModels>
  7. <Schema Namespace="HRServiceContext.Store" Alias="Self" Provider="System.Data.SqlClient" ProviderManifestToken="2008" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/02/edm/ssdl">
  8. <EntityContainer Name="HRServiceContextStoreContainer">
  9. <EntitySet Name="Comm_OrgInfo" EntityType="HRServiceContext.Store.Comm_OrgInfo" store:Type="Tables" Schema="dbo" />
  10. <EntitySet Name="Comm_Posts" EntityType="HRServiceContext.Store.Comm_Posts" store:Type="Tables" Schema="dbo" />
  11. <EntitySet Name="Comm_Users" EntityType="HRServiceContext.Store.Comm_Users" store:Type="Tables" Schema="dbo" />
  12. <AssociationSet Name="FK__Comm_Users__dpid__15502E78" Association="HRServiceContext.Store.FK__Comm_Users__dpid__15502E78">
  13. <End Role="Comm_OrgInfo" EntitySet="Comm_OrgInfo" />
  14. <End Role="Comm_Users" EntitySet="Comm_Users" />
  15. </AssociationSet>
  16. </EntityContainer>
  17. <EntityType Name="Comm_OrgInfo">
  18. <Key>
  19. <PropertyRef Name="dpid" />
  20. </Key>
  21. <Property Name="dpid" Type="nvarchar" Nullable="false" MaxLength="55" />
  22. <Property Name="parentdpid" Type="nvarchar" MaxLength="55" />
  23. <Property Name="dpcode" Type="nvarchar" MaxLength="155" />
  24. <Property Name="dplv" Type="int" />
  25. <Property Name="dpname" Type="nvarchar" MaxLength="55" />
  26. <Property Name="dpfullname" Type="nvarchar" MaxLength="155" />
  27. <Property Name="dpdesc" Type="nvarchar" MaxLength="55" />
  28. <Property Name="isshow" Type="bit" />
  29. <Property Name="status" Type="char" MaxLength="1" />
  30. <Property Name="orderNo" Type="nvarchar" MaxLength="155" />
  31. <Property Name="isTmpDP" Type="char" Nullable="false" MaxLength="1" />
  32. <Property Name="createdt" Type="datetime" />
  33. <Property Name="updatedt" Type="datetime" />
  34. <Property Name="AllowDist" Type="int" />
  35. <Property Name="OrderNum" Type="varchar" MaxLength="50" />
  36. </EntityType>
  37. <EntityType Name="Comm_Posts">
  38. <Key>
  39. <PropertyRef Name="postid" />
  40. </Key>
  41. <Property Name="postid" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
  42. <Property Name="dpid" Type="nvarchar" Nullable="false" MaxLength="55" />
  43. <Property Name="userid" Type="nvarchar" MaxLength="55" />
  44. <Property Name="pos" Type="nvarchar" MaxLength="55" />
  45. <Property Name="orderNo" Type="float" />
  46. <Property Name="IsTmpData" Type="bit" />
  47. </EntityType>
  48. <EntityType Name="Comm_Users">
  49. <Key>
  50. <PropertyRef Name="userid" />
  51. </Key>
  52. <Property Name="userid" Type="nvarchar" Nullable="false" MaxLength="55" />
  53. <Property Name="loginid" Type="nvarchar" MaxLength="55" />
  54. <Property Name="username" Type="nvarchar" MaxLength="55" />
  55. <Property Name="dpid" Type="nvarchar" MaxLength="55" />
  56. <Property Name="telephone" Type="nvarchar" MaxLength="55" />
  57. <Property Name="mobile" Type="nvarchar" MaxLength="55" />
  58. <Property Name="email" Type="nvarchar" MaxLength="55" />
  59. <Property Name="cardid" Type="nvarchar" MaxLength="55" />
  60. <Property Name="employeeclassid" Type="nvarchar" MaxLength="55" />
  61. <Property Name="jobtypeid" Type="nvarchar" MaxLength="55" />
  62. <Property Name="birthday" Type="datetime" />
  63. <Property Name="sex" Type="char" MaxLength="1" />
  64. <Property Name="orderNo" Type="nvarchar" MaxLength="55" />
  65. <Property Name="userrole" Type="nvarchar" MaxLength="55" />
  66. <Property Name="userligion" Type="nvarchar" MaxLength="55" />
  67. <Property Name="password" Type="nvarchar" MaxLength="55" />
  68. <Property Name="changepwddate" Type="datetime" />
  69. <Property Name="isshow" Type="bit" />
  70. <Property Name="status" Type="char" MaxLength="1" />
  71. <Property Name="createdt" Type="datetime" />
  72. <Property Name="updatedt" Type="datetime" />
  73. <Property Name="istmpuser" Type="bit" />
  74. <Property Name="SpecialLicensed" Type="bit" />
  75. </EntityType>
  76. <Association Name="FK__Comm_Users__dpid__15502E78">
  77. <End Role="Comm_OrgInfo" Type="HRServiceContext.Store.Comm_OrgInfo" Multiplicity="0..1" />
  78. <End Role="Comm_Users" Type="HRServiceContext.Store.Comm_Users" Multiplicity="*" />
  79. <ReferentialConstraint>
  80. <Principal Role="Comm_OrgInfo">
  81. <PropertyRef Name="dpid" />
  82. </Principal>
  83. <Dependent Role="Comm_Users">
  84. <PropertyRef Name="dpid" />
  85. </Dependent>
  86. </ReferentialConstraint>
  87. </Association>
  88. </Schema></edmx:StorageModels>
  89. <!-- CSDL content -->
  90. <edmx:ConceptualModels>
  91. <Schema xmlns="http://schemas.microsoft.com/ado/2008/09/edm" xmlns:cg="http://schemas.microsoft.com/ado/2006/04/codegeneration" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" Namespace="HRServiceContext" Alias="Self" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation">
  92. <EntityContainer Name="HRServiceContextContainer" annotation:LazyLoadingEnabled="true">
  93. <EntitySet Name="Comm_OrgInfo" EntityType="HRServiceContext.Comm_OrgInfo" />
  94. <EntitySet Name="Comm_Posts" EntityType="HRServiceContext.Comm_Posts" />
  95. <EntitySet Name="Comm_Users" EntityType="HRServiceContext.Comm_Users" />
  96. <AssociationSet Name="FK__Comm_Users__dpid__15502E78" Association="HRServiceContext.FK__Comm_Users__dpid__15502E78">
  97. <End Role="Comm_OrgInfo" EntitySet="Comm_OrgInfo" />
  98. <End Role="Comm_Users" EntitySet="Comm_Users" />
  99. </AssociationSet>
  100. </EntityContainer>
  101. <EntityType Name="Comm_OrgInfo">
  102. <Key>
  103. <PropertyRef Name="dpid" />
  104. </Key>
  105. <Property Type="String" Name="dpid" Nullable="false" MaxLength="55" FixedLength="false" Unicode="true" />
  106. <Property Type="String" Name="parentdpid" MaxLength="55" FixedLength="false" Unicode="true" />
  107. <Property Type="String" Name="dpcode" MaxLength="155" FixedLength="false" Unicode="true" />
  108. <Property Type="Int32" Name="dplv" />
  109. <Property Type="String" Name="dpname" MaxLength="55" FixedLength="false" Unicode="true" />
  110. <Property Type="String" Name="dpfullname" MaxLength="155" FixedLength="false" Unicode="true" />
  111. <Property Type="String" Name="dpdesc" MaxLength="55" FixedLength="false" Unicode="true" />
  112. <Property Type="Boolean" Name="isshow" />
  113. <Property Type="String" Name="status" MaxLength="1" FixedLength="true" Unicode="false" />
  114. <Property Type="String" Name="orderNo" MaxLength="155" FixedLength="false" Unicode="true" />
  115. <Property Type="String" Name="isTmpDP" Nullable="false" MaxLength="1" FixedLength="true" Unicode="false" />
  116. <Property Type="DateTime" Name="createdt" />
  117. <Property Type="DateTime" Name="updatedt" />
  118. <Property Type="Int32" Name="AllowDist" />
  119. <Property Type="String" Name="OrderNum" MaxLength="50" FixedLength="false" Unicode="false" />
  120. <NavigationProperty Name="Comm_Users" Relationship="HRServiceContext.FK__Comm_Users__dpid__15502E78" FromRole="Comm_OrgInfo" ToRole="Comm_Users" />
  121. </EntityType>
  122. <EntityType Name="Comm_Posts">
  123. <Key>
  124. <PropertyRef Name="postid" />
  125. </Key>
  126. <Property Type="Int32" Name="postid" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
  127. <Property Type="String" Name="dpid" Nullable="false" MaxLength="55" FixedLength="false" Unicode="true" />
  128. <Property Type="String" Name="userid" MaxLength="55" FixedLength="false" Unicode="true" />
  129. <Property Type="String" Name="pos" MaxLength="55" FixedLength="false" Unicode="true" />
  130. <Property Type="Double" Name="orderNo" />
  131. <Property Type="Boolean" Name="IsTmpData" />
  132. </EntityType>
  133. <EntityType Name="Comm_Users">
  134. <Key>
  135. <PropertyRef Name="userid" />
  136. </Key>
  137. <Property Type="String" Name="userid" Nullable="false" MaxLength="55" FixedLength="false" Unicode="true" />
  138. <Property Type="String" Name="loginid" MaxLength="55" FixedLength="false" Unicode="true" />
  139. <Property Type="String" Name="username" MaxLength="55" FixedLength="false" Unicode="true" />
  140. <Property Type="String" Name="dpid" MaxLength="55" FixedLength="false" Unicode="true" />
  141. <Property Type="String" Name="telephone" MaxLength="55" FixedLength="false" Unicode="true" />
  142. <Property Type="String" Name="mobile" MaxLength="55" FixedLength="false" Unicode="true" />
  143. <Property Type="String" Name="email" MaxLength="55" FixedLength="false" Unicode="true" />
  144. <Property Type="String" Name="cardid" MaxLength="55" FixedLength="false" Unicode="true" />
  145. <Property Type="String" Name="employeeclassid" MaxLength="55" FixedLength="false" Unicode="true" />
  146. <Property Type="String" Name="jobtypeid" MaxLength="55" FixedLength="false" Unicode="true" />
  147. <Property Type="DateTime" Name="birthday" />
  148. <Property Type="String" Name="sex" MaxLength="1" FixedLength="true" Unicode="false" />
  149. <Property Type="String" Name="orderNo" MaxLength="55" FixedLength="false" Unicode="true" />
  150. <Property Type="String" Name="userrole" MaxLength="55" FixedLength="false" Unicode="true" />
  151. <Property Type="String" Name="userligion" MaxLength="55" FixedLength="false" Unicode="true" />
  152. <Property Type="String" Name="password" MaxLength="55" FixedLength="false" Unicode="true" />
  153. <Property Type="DateTime" Name="changepwddate" />
  154. <Property Type="Boolean" Name="isshow" />
  155. <Property Type="String" Name="status" MaxLength="1" FixedLength="true" Unicode="false" />
  156. <Property Type="DateTime" Name="createdt" />
  157. <Property Type="DateTime" Name="updatedt" />
  158. <Property Type="Boolean" Name="istmpuser" />
  159. <Property Type="Boolean" Name="SpecialLicensed" />
  160. <NavigationProperty Name="Comm_OrgInfo" Relationship="HRServiceContext.FK__Comm_Users__dpid__15502E78" FromRole="Comm_Users" ToRole="Comm_OrgInfo" />
  161. </EntityType>
  162. <Association Name="FK__Comm_Users__dpid__15502E78">
  163. <End Type="HRServiceContext.Comm_OrgInfo" Role="Comm_OrgInfo" Multiplicity="0..1" />
  164. <End Type="HRServiceContext.Comm_Users" Role="Comm_Users" Multiplicity="*" />
  165. <ReferentialConstraint>
  166. <Principal Role="Comm_OrgInfo">
  167. <PropertyRef Name="dpid" />
  168. </Principal>
  169. <Dependent Role="Comm_Users">
  170. <PropertyRef Name="dpid" />
  171. </Dependent>
  172. </ReferentialConstraint>
  173. </Association>
  174. </Schema>
  175. </edmx:ConceptualModels>
  176. <!-- C-S mapping content -->
  177. <edmx:Mappings>
  178. <Mapping xmlns="http://schemas.microsoft.com/ado/2008/09/mapping/cs" Space="C-S">
  179. <Alias Key="Model" Value="HRServiceContext" />
  180. <Alias Key="Target" Value="HRServiceContext.Store" />
  181. <EntityContainerMapping CdmEntityContainer="HRServiceContextContainer" StorageEntityContainer="HRServiceContextStoreContainer">
  182. <EntitySetMapping Name="Comm_OrgInfo">
  183. <EntityTypeMapping TypeName="HRServiceContext.Comm_OrgInfo">
  184. <MappingFragment StoreEntitySet="Comm_OrgInfo">
  185. <ScalarProperty Name="OrderNum" ColumnName="OrderNum" />
  186. <ScalarProperty Name="AllowDist" ColumnName="AllowDist" />
  187. <ScalarProperty Name="updatedt" ColumnName="updatedt" />
  188. <ScalarProperty Name="createdt" ColumnName="createdt" />
  189. <ScalarProperty Name="isTmpDP" ColumnName="isTmpDP" />
  190. <ScalarProperty Name="orderNo" ColumnName="orderNo" />
  191. <ScalarProperty Name="status" ColumnName="status" />
  192. <ScalarProperty Name="isshow" ColumnName="isshow" />
  193. <ScalarProperty Name="dpdesc" ColumnName="dpdesc" />
  194. <ScalarProperty Name="dpfullname" ColumnName="dpfullname" />
  195. <ScalarProperty Name="dpname" ColumnName="dpname" />
  196. <ScalarProperty Name="dplv" ColumnName="dplv" />
  197. <ScalarProperty Name="dpcode" ColumnName="dpcode" />
  198. <ScalarProperty Name="parentdpid" ColumnName="parentdpid" />
  199. <ScalarProperty Name="dpid" ColumnName="dpid" />
  200. </MappingFragment>
  201. </EntityTypeMapping>
  202. </EntitySetMapping>
  203. <EntitySetMapping Name="Comm_Posts">
  204. <EntityTypeMapping TypeName="HRServiceContext.Comm_Posts">
  205. <MappingFragment StoreEntitySet="Comm_Posts">
  206. <ScalarProperty Name="IsTmpData" ColumnName="IsTmpData" />
  207. <ScalarProperty Name="orderNo" ColumnName="orderNo" />
  208. <ScalarProperty Name="pos" ColumnName="pos" />
  209. <ScalarProperty Name="userid" ColumnName="userid" />
  210. <ScalarProperty Name="dpid" ColumnName="dpid" />
  211. <ScalarProperty Name="postid" ColumnName="postid" />
  212. </MappingFragment>
  213. </EntityTypeMapping>
  214. </EntitySetMapping>
  215. <EntitySetMapping Name="Comm_Users">
  216. <EntityTypeMapping TypeName="HRServiceContext.Comm_Users">
  217. <MappingFragment StoreEntitySet="Comm_Users">
  218. <ScalarProperty Name="SpecialLicensed" ColumnName="SpecialLicensed" />
  219. <ScalarProperty Name="istmpuser" ColumnName="istmpuser" />
  220. <ScalarProperty Name="updatedt" ColumnName="updatedt" />
  221. <ScalarProperty Name="createdt" ColumnName="createdt" />
  222. <ScalarProperty Name="status" ColumnName="status" />
  223. <ScalarProperty Name="isshow" ColumnName="isshow" />
  224. <ScalarProperty Name="changepwddate" ColumnName="changepwddate" />
  225. <ScalarProperty Name="password" ColumnName="password" />
  226. <ScalarProperty Name="userligion" ColumnName="userligion" />
  227. <ScalarProperty Name="userrole" ColumnName="userrole" />
  228. <ScalarProperty Name="orderNo" ColumnName="orderNo" />
  229. <ScalarProperty Name="sex" ColumnName="sex" />
  230. <ScalarProperty Name="birthday" ColumnName="birthday" />
  231. <ScalarProperty Name="jobtypeid" ColumnName="jobtypeid" />
  232. <ScalarProperty Name="employeeclassid" ColumnName="employeeclassid" />
  233. <ScalarProperty Name="cardid" ColumnName="cardid" />
  234. <ScalarProperty Name="email" ColumnName="email" />
  235. <ScalarProperty Name="mobile" ColumnName="mobile" />
  236. <ScalarProperty Name="telephone" ColumnName="telephone" />
  237. <ScalarProperty Name="dpid" ColumnName="dpid" />
  238. <ScalarProperty Name="username" ColumnName="username" />
  239. <ScalarProperty Name="loginid" ColumnName="loginid" />
  240. <ScalarProperty Name="userid" ColumnName="userid" />
  241. </MappingFragment>
  242. </EntityTypeMapping>
  243. </EntitySetMapping>
  244. </EntityContainerMapping>
  245. </Mapping>
  246. </edmx:Mappings>
  247. </edmx:Runtime>
  248. <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
  249. <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2008/10/edmx">
  250. <edmx:Connection>
  251. <DesignerInfoPropertySet>
  252. <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
  253. </DesignerInfoPropertySet>
  254. </edmx:Connection>
  255. <edmx:Options>
  256. <DesignerInfoPropertySet>
  257. <DesignerProperty Name="ValidateOnBuild" Value="true" />
  258. <DesignerProperty Name="EnablePluralization" Value="False" />
  259. <DesignerProperty Name="IncludeForeignKeysInModel" Value="True" />
  260. <DesignerProperty Name="CodeGenerationStrategy" Value="无" />
  261. </DesignerInfoPropertySet>
  262. </edmx:Options>
  263. <!-- Diagram content (shape and connector positions) -->
  264. <edmx:Diagrams>
  265. <Diagram Name="HRServiceContext" >
  266. <EntityTypeShape EntityType="HRServiceContext.Comm_OrgInfo" Width="1.5" PointX="0.75" PointY="1.875" Height="3.9529630533854156" />
  267. <EntityTypeShape EntityType="HRServiceContext.Comm_Posts" Width="1.5" PointX="5.75" PointY="0.75" Height="2.1050219726562496" />
  268. <EntityTypeShape EntityType="HRServiceContext.Comm_Users" Width="1.5" PointX="3" PointY="1.125" Height="5.43131591796875" />
  269. <AssociationConnector Association="HRServiceContext.FK__Comm_Users__dpid__15502E78" >
  270. <ConnectorPoint PointX="2.25" PointY="3.8514815266927078" />
  271. <ConnectorPoint PointX="3" PointY="3.8514815266927078" />
  272. </AssociationConnector>
  273. </Diagram>
  274. </edmx:Diagrams>
  275. </edmx:Designer>
  276. </edmx:Edmx>