yantian yue
2023-12-29 4dff0422d36233abbdac5ebf628365b724a906b5
提交 | 用户 | 时间
e46d3b 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="Sam_DBModel.Store" 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">
8         <EntityType Name="Base_AppendProperty">
9           <Key>
10             <PropertyRef Name="Property_ID" />
11           </Key>
12           <Property Name="Property_ID" Type="varchar" MaxLength="50" Nullable="false" />
13           <Property Name="Property_Function" Type="varchar" MaxLength="50" />
14           <Property Name="Property_Control_ID" Type="varchar" MaxLength="50" />
15           <Property Name="Property_Name" Type="varchar" MaxLength="50" />
16           <Property Name="Property_Control_DataSource" Type="varchar(max)" />
17           <Property Name="Property_Control_Length" Type="int" Nullable="false" />
18           <Property Name="Property_Control_Style" Type="varchar" MaxLength="50" />
19           <Property Name="SortCode" Type="int" />
20           <Property Name="DeleteMark" Type="int" />
21           <Property Name="CreateDate" Type="date" />
22           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
23           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
24           <Property Name="ModifyDate" Type="datetime" />
25           <Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
26           <Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
27         </EntityType>
28         <EntityType Name="Base_AppendPropertyInstance">
29           <Key>
30             <PropertyRef Name="PropertyInstance_ID" />
31           </Key>
32           <Property Name="PropertyInstance_ID" Type="varchar" MaxLength="50" Nullable="false" />
33           <Property Name="Property_Control_ID" Type="varchar" MaxLength="50" />
34           <Property Name="PropertyInstance_Value" Type="varchar(max)" />
35           <Property Name="PropertyInstance_Key" Type="varchar" MaxLength="50" Nullable="false" />
36         </EntityType>
37         <EntityType Name="Base_Log">
38           <Key>
39             <PropertyRef Name="LogID" />
40           </Key>
41           <Property Name="LogID" Type="varchar" MaxLength="50" Nullable="false" />
42           <Property Name="Type" Type="varchar" MaxLength="50" />
43           <Property Name="LogMessage" Type="nvarchar" MaxLength="500" />
44           <Property Name="CreateTime" Type="datetime" />
45           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
46           <Property Name="CreateUserID" Type="varchar" MaxLength="50" />
47           <Property Name="LocalIP" Type="varchar" MaxLength="50" />
48           <Property Name="ClassName" Type="varchar" MaxLength="50" />
49         </EntityType>
50         <EntityType Name="Base_Organization">
51           <Key>
52             <PropertyRef Name="Organization_ID" />
53           </Key>
54           <Property Name="Organization_ID" Type="varchar" MaxLength="50" Nullable="false" />
55           <Property Name="Organization_Code" Type="varchar" MaxLength="20" />
56           <Property Name="Organization_Name" Type="varchar" MaxLength="50" />
57           <Property Name="Organization_InnerPhone" Type="varchar" MaxLength="20" />
58           <Property Name="Organization_OuterPhone" Type="varchar" MaxLength="20" />
59           <Property Name="Organization_Manager" Type="varchar" MaxLength="50" />
60           <Property Name="Organization_AssistantManager" Type="varchar" MaxLength="50" />
61           <Property Name="Organization_Fax" Type="varchar" MaxLength="20" />
62           <Property Name="Organization_Zipcode" Type="varchar" MaxLength="20" />
63           <Property Name="Organization_Address" Type="varchar" MaxLength="200" />
64           <Property Name="ParentId" Type="varchar" MaxLength="50" />
65           <Property Name="Organization_Remark" Type="varchar" MaxLength="200" />
66           <Property Name="SortCode" Type="int" />
67           <Property Name="DeleteMark" Type="int" />
68           <Property Name="CreateDate" Type="date" />
69           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
70           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
71           <Property Name="ModifyDate" Type="datetime" />
72           <Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
73           <Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
74         </EntityType>
75         <EntityType Name="Base_RoleRight">
76           <Key>
77             <PropertyRef Name="RoleRight_ID" />
78           </Key>
79           <Property Name="RoleRight_ID" Type="varchar" MaxLength="50" Nullable="false" />
80           <Property Name="Roles_ID" Type="varchar" MaxLength="50" />
81           <Property Name="Menu_Id" Type="varchar" MaxLength="50" />
82           <Property Name="CreateDate" Type="datetime" />
83           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
84           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
85         </EntityType>
86         <EntityType Name="Base_Roles">
87           <Key>
88             <PropertyRef Name="Roles_ID" />
89           </Key>
90           <Property Name="Roles_ID" Type="varchar" MaxLength="50" Nullable="false" />
91           <Property Name="ParentId" Type="varchar" MaxLength="50" />
92           <Property Name="Roles_Name" Type="varchar" MaxLength="50" />
93           <Property Name="Roles_Remark" Type="varchar" MaxLength="200" />
94           <Property Name="SortCode" Type="int" />
95           <Property Name="DeleteMark" Type="int" />
96           <Property Name="CreateDate" Type="datetime" />
97           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
98           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
99           <Property Name="ModifyDate" Type="datetime" />
100           <Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
101           <Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
102         </EntityType>
103         <EntityType Name="Base_StaffOrganize">
104           <Key>
105             <PropertyRef Name="StaffOrganize_Id" />
106           </Key>
107           <Property Name="StaffOrganize_Id" Type="varchar" MaxLength="50" Nullable="false" />
108           <Property Name="Organization_ID" Type="varchar" MaxLength="50" />
109           <Property Name="User_ID" Type="varchar" MaxLength="50" />
110           <Property Name="CreateDate" Type="datetime" />
111           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
112           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
113         </EntityType>
114         <EntityType Name="Base_SysMenu">
115           <Key>
116             <PropertyRef Name="Menu_Id" />
117           </Key>
118           <Property Name="Menu_Id" Type="varchar" MaxLength="50" Nullable="false" />
119           <Property Name="ParentId" Type="varchar" MaxLength="50" />
120           <Property Name="Menu_Name" Type="varchar" MaxLength="50" />
121           <Property Name="Menu_Tag" Type="varchar" MaxLength="50" />
122           <Property Name="Menu_Img" Type="int" />
123           <Property Name="SortCode" Type="int" />
124           <Property Name="CreateDate" Type="datetime" />
125           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
126           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
127           <Property Name="ModifyDate" Type="datetime" />
128           <Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
129           <Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
130           <Property Name="Menu_Type" Type="int" Nullable="false" />
131         </EntityType>
132         <EntityType Name="Base_UserInfo">
133           <Key>
134             <PropertyRef Name="User_ID" />
135           </Key>
136           <Property Name="User_ID" Type="varchar" MaxLength="50" Nullable="false" />
137           <Property Name="User_Code" Type="varchar" MaxLength="50" />
138           <Property Name="User_Account" Type="varchar" MaxLength="50" />
139           <Property Name="User_Pwd" Type="varchar" MaxLength="50" />
140           <Property Name="User_Name" Type="varchar" MaxLength="50" />
141           <Property Name="User_Sex" Type="varchar" MaxLength="10" />
142           <Property Name="Title" Type="varchar" MaxLength="50" />
143           <Property Name="Email" Type="varchar" MaxLength="20" />
144           <Property Name="Theme" Type="varchar" MaxLength="50" />
145           <Property Name="DeleteMark" Type="int" />
146           <Property Name="CreateDate" Type="date" />
147           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
148           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
149           <Property Name="ModifyDate" Type="date" />
150           <Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
151           <Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
152           <Property Name="User_Remark" Type="varchar(max)" />
153         </EntityType>
154         <EntityType Name="Base_UserRight">
155           <Key>
156             <PropertyRef Name="UserRight_ID" />
157           </Key>
158           <Property Name="UserRight_ID" Type="varchar" MaxLength="50" Nullable="false" />
159           <Property Name="User_ID" Type="varchar" MaxLength="50" />
160           <Property Name="Menu_Id" Type="varchar" MaxLength="50" />
161           <Property Name="CreateDate" Type="datetime" />
162           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
163           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
164         </EntityType>
165         <EntityType Name="Base_UserRole">
166           <Key>
167             <PropertyRef Name="UserRole_ID" />
168           </Key>
169           <Property Name="UserRole_ID" Type="varchar" MaxLength="50" Nullable="false" />
170           <Property Name="User_ID" Type="varchar" MaxLength="50" />
171           <Property Name="Roles_ID" Type="varchar" MaxLength="50" />
172           <Property Name="CreateDate" Type="datetime" />
173           <Property Name="CreateUserId" Type="varchar" MaxLength="50" />
174           <Property Name="CreateUserName" Type="varchar" MaxLength="50" />
175         </EntityType>
176         <EntityType Name="sysdiagrams">
177           <Key>
178             <PropertyRef Name="diagram_id" />
179           </Key>
180           <Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
181           <Property Name="principal_id" Type="int" Nullable="false" />
182           <Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
183           <Property Name="version" Type="int" />
184           <Property Name="definition" Type="varbinary(max)" />
185         </EntityType>
186         <Association Name="FK_Base_AppendPropertyInstance_Base_UserInfo">
187           <End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="1" />
188           <End Role="Base_AppendPropertyInstance" Type="Self.Base_AppendPropertyInstance" Multiplicity="*" />
189           <ReferentialConstraint>
190             <Principal Role="Base_UserInfo">
191               <PropertyRef Name="User_ID" />
192             </Principal>
193             <Dependent Role="Base_AppendPropertyInstance">
194               <PropertyRef Name="PropertyInstance_Key" />
195             </Dependent>
196           </ReferentialConstraint>
197         </Association>
198         <Association Name="FK_Base_RoleRight_Base_Roles">
199           <End Role="Base_Roles" Type="Self.Base_Roles" Multiplicity="0..1">
200             <OnDelete Action="Cascade" />
201           </End>
202           <End Role="Base_RoleRight" Type="Self.Base_RoleRight" Multiplicity="*" />
203           <ReferentialConstraint>
204             <Principal Role="Base_Roles">
205               <PropertyRef Name="Roles_ID" />
206             </Principal>
207             <Dependent Role="Base_RoleRight">
208               <PropertyRef Name="Roles_ID" />
209             </Dependent>
210           </ReferentialConstraint>
211         </Association>
212         <Association Name="FK_Base_StaffOrganize_Base_UserInfo">
213           <End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="0..1">
214             <OnDelete Action="Cascade" />
215           </End>
216           <End Role="Base_StaffOrganize" Type="Self.Base_StaffOrganize" Multiplicity="*" />
217           <ReferentialConstraint>
218             <Principal Role="Base_UserInfo">
219               <PropertyRef Name="User_ID" />
220             </Principal>
221             <Dependent Role="Base_StaffOrganize">
222               <PropertyRef Name="User_ID" />
223             </Dependent>
224           </ReferentialConstraint>
225         </Association>
226         <Association Name="FK_Base_UserRight_Base_UserInfo">
227           <End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="0..1">
228             <OnDelete Action="Cascade" />
229           </End>
230           <End Role="Base_UserRight" Type="Self.Base_UserRight" Multiplicity="*" />
231           <ReferentialConstraint>
232             <Principal Role="Base_UserInfo">
233               <PropertyRef Name="User_ID" />
234             </Principal>
235             <Dependent Role="Base_UserRight">
236               <PropertyRef Name="User_ID" />
237             </Dependent>
238           </ReferentialConstraint>
239         </Association>
240         <Association Name="FK_Base_UserRole_Base_UserInfo">
241           <End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="0..1" />
242           <End Role="Base_UserRole" Type="Self.Base_UserRole" Multiplicity="*" />
243           <ReferentialConstraint>
244             <Principal Role="Base_UserInfo">
245               <PropertyRef Name="User_ID" />
246             </Principal>
247             <Dependent Role="Base_UserRole">
248               <PropertyRef Name="User_ID" />
249             </Dependent>
250           </ReferentialConstraint>
251         </Association>
252         <EntityContainer Name="Sam_DBModelStoreContainer">
253           <EntitySet Name="Base_AppendProperty" EntityType="Self.Base_AppendProperty" Schema="dbo" store:Type="Tables" />
254           <EntitySet Name="Base_AppendPropertyInstance" EntityType="Self.Base_AppendPropertyInstance" Schema="dbo" store:Type="Tables" />
255           <EntitySet Name="Base_Log" EntityType="Self.Base_Log" Schema="dbo" store:Type="Tables" />
256           <EntitySet Name="Base_Organization" EntityType="Self.Base_Organization" Schema="dbo" store:Type="Tables" />
257           <EntitySet Name="Base_RoleRight" EntityType="Self.Base_RoleRight" Schema="dbo" store:Type="Tables" />
258           <EntitySet Name="Base_Roles" EntityType="Self.Base_Roles" Schema="dbo" store:Type="Tables" />
259           <EntitySet Name="Base_StaffOrganize" EntityType="Self.Base_StaffOrganize" Schema="dbo" store:Type="Tables" />
260           <EntitySet Name="Base_SysMenu" EntityType="Self.Base_SysMenu" Schema="dbo" store:Type="Tables" />
261           <EntitySet Name="Base_UserInfo" EntityType="Self.Base_UserInfo" Schema="dbo" store:Type="Tables" />
262           <EntitySet Name="Base_UserRight" EntityType="Self.Base_UserRight" Schema="dbo" store:Type="Tables" />
263           <EntitySet Name="Base_UserRole" EntityType="Self.Base_UserRole" Schema="dbo" store:Type="Tables" />
264           <EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
265           <AssociationSet Name="FK_Base_AppendPropertyInstance_Base_UserInfo" Association="Self.FK_Base_AppendPropertyInstance_Base_UserInfo">
266             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
267             <End Role="Base_AppendPropertyInstance" EntitySet="Base_AppendPropertyInstance" />
268           </AssociationSet>
269           <AssociationSet Name="FK_Base_RoleRight_Base_Roles" Association="Self.FK_Base_RoleRight_Base_Roles">
270             <End Role="Base_Roles" EntitySet="Base_Roles" />
271             <End Role="Base_RoleRight" EntitySet="Base_RoleRight" />
272           </AssociationSet>
273           <AssociationSet Name="FK_Base_StaffOrganize_Base_UserInfo" Association="Self.FK_Base_StaffOrganize_Base_UserInfo">
274             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
275             <End Role="Base_StaffOrganize" EntitySet="Base_StaffOrganize" />
276           </AssociationSet>
277           <AssociationSet Name="FK_Base_UserRight_Base_UserInfo" Association="Self.FK_Base_UserRight_Base_UserInfo">
278             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
279             <End Role="Base_UserRight" EntitySet="Base_UserRight" />
280           </AssociationSet>
281           <AssociationSet Name="FK_Base_UserRole_Base_UserInfo" Association="Self.FK_Base_UserRole_Base_UserInfo">
282             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
283             <End Role="Base_UserRole" EntitySet="Base_UserRole" />
284           </AssociationSet>
285         </EntityContainer>
286       </Schema></edmx:StorageModels>
287     <!-- CSDL content -->
288     <edmx:ConceptualModels>
289       <Schema Namespace="Sam_DBModel" 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">
290         <EntityType Name="Base_SysMenu">
291           <Key>
292             <PropertyRef Name="Menu_Id" />
293           </Key>
294           <Property Name="Menu_Id" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
295           <Property Name="ParentId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
296           <Property Name="Menu_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
297           <Property Name="Menu_Tag" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
298           <Property Name="Menu_Img" Type="Int32" />
299           <Property Name="SortCode" Type="Int32" />
300           <Property Name="CreateDate" Type="DateTime" Precision="3" />
301           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
302           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
303           <Property Name="ModifyDate" Type="DateTime" Precision="3" />
304           <Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
305           <Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
306           <Property Name="Menu_Type" Type="Int32" Nullable="false" />
307         </EntityType>
308         <EntityContainer Name="Sam_DBEntities" annotation:LazyLoadingEnabled="true">
309           <EntitySet Name="Base_SysMenu" EntityType="Self.Base_SysMenu" />
310           <EntitySet Name="Base_UserRight" EntityType="Sam_DBModel.Base_UserRight" />
311           <EntitySet Name="Base_Organization" EntityType="Sam_DBModel.Base_Organization" />
312           <EntitySet Name="sysdiagrams" EntityType="Sam_DBModel.sysdiagrams" />
313           <EntitySet Name="Base_StaffOrganize" EntityType="Sam_DBModel.Base_StaffOrganize" />
314           <EntitySet Name="Base_UserInfo" EntityType="Sam_DBModel.Base_UserInfo" />
315           <AssociationSet Name="FK_Base_StaffOrganize_Base_UserInfo" Association="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo">
316             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
317             <End Role="Base_StaffOrganize" EntitySet="Base_StaffOrganize" />
318           </AssociationSet>
319           <AssociationSet Name="FK_Base_UserRight_Base_UserInfo" Association="Sam_DBModel.FK_Base_UserRight_Base_UserInfo">
320             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
321             <End Role="Base_UserRight" EntitySet="Base_UserRight" />
322           </AssociationSet>
323           <EntitySet Name="Base_AppendPropertyInstance" EntityType="Sam_DBModel.Base_AppendPropertyInstance" />
324           <AssociationSet Name="FK_Base_AppendPropertyInstance_Base_UserInfo" Association="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo">
325             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
326             <End Role="Base_AppendPropertyInstance" EntitySet="Base_AppendPropertyInstance" />
327           </AssociationSet>
328           <EntitySet Name="Base_AppendProperty" EntityType="Sam_DBModel.Base_AppendProperty" />
329           <EntitySet Name="Base_RoleRight" EntityType="Sam_DBModel.Base_RoleRight" />
330           <EntitySet Name="Base_Roles" EntityType="Sam_DBModel.Base_Roles" />
331           <AssociationSet Name="FK_Base_RoleRight_Base_Roles" Association="Sam_DBModel.FK_Base_RoleRight_Base_Roles">
332             <End Role="Base_Roles" EntitySet="Base_Roles" />
333             <End Role="Base_RoleRight" EntitySet="Base_RoleRight" />
334           </AssociationSet>
335           <EntitySet Name="Base_UserRole" EntityType="Sam_DBModel.Base_UserRole" />
336           <AssociationSet Name="FK_Base_UserRole_Base_UserInfo" Association="Sam_DBModel.FK_Base_UserRole_Base_UserInfo">
337             <End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
338             <End Role="Base_UserRole" EntitySet="Base_UserRole" />
339           </AssociationSet>
340           <EntitySet Name="Base_Log" EntityType="Sam_DBModel.Base_Log" />
341           </EntityContainer>
342         <EntityType Name="Base_UserRight">
343           <Key>
344             <PropertyRef Name="UserRight_ID" />
345           </Key>
346           <Property Name="UserRight_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
347           <Property Name="Menu_Id" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
348           <Property Name="CreateDate" Type="DateTime" Precision="3" />
349           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
350           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
351           <NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_UserRight_Base_UserInfo" FromRole="Base_UserRight" ToRole="Base_UserInfo" />
352           </EntityType>
353         <EntityType Name="Base_Organization">
354           <Key>
355             <PropertyRef Name="Organization_ID" />
356           </Key>
357           <Property Name="Organization_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
358           <Property Name="Organization_Code" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
359           <Property Name="Organization_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
360           <Property Name="Organization_InnerPhone" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
361           <Property Name="Organization_OuterPhone" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
362           <Property Name="Organization_Manager" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
363           <Property Name="Organization_AssistantManager" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
364           <Property Name="Organization_Fax" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
365           <Property Name="Organization_Zipcode" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
366           <Property Name="Organization_Address" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
367           <Property Name="ParentId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
368           <Property Name="Organization_Remark" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
369           <Property Name="SortCode" Type="Int32" />
370           <Property Name="DeleteMark" Type="Int32" />
371           <Property Name="CreateDate" Type="DateTime" Precision="0" />
372           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
373           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
374           <Property Name="ModifyDate" Type="DateTime" Precision="3" />
375           <Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
376           <Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
377         </EntityType>
378         <EntityType Name="sysdiagrams">
379           <Key>
380             <PropertyRef Name="diagram_id" />
381           </Key>
382           <Property Name="name" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
383           <Property Name="principal_id" Type="Int32" Nullable="false" />
384           <Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
385           <Property Name="version" Type="Int32" />
386           <Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
387         </EntityType>
388         <EntityType Name="Base_StaffOrganize">
389           <Key>
390             <PropertyRef Name="StaffOrganize_Id" />
391           </Key>
392           <Property Name="StaffOrganize_Id" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
393           <Property Name="Organization_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
394           <Property Name="CreateDate" Type="DateTime" Precision="3" />
395           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
396           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
397           <NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo" FromRole="Base_StaffOrganize" ToRole="Base_UserInfo" />
398         </EntityType>
399         <EntityType Name="Base_UserInfo">
400           <Key>
401             <PropertyRef Name="User_ID" />
402           </Key>
403           <Property Name="User_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
404           <Property Name="User_Code" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
405           <Property Name="User_Account" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
406           <Property Name="User_Pwd" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
407           <Property Name="User_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
408           <Property Name="User_Sex" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
409           <Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
410           <Property Name="Email" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
411           <Property Name="Theme" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
412           <Property Name="DeleteMark" Type="Int32" />
413           <Property Name="CreateDate" Type="DateTime" Precision="0" />
414           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
415           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
416           <Property Name="ModifyDate" Type="DateTime" Precision="0" />
417           <Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
418           <Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
419           <Property Name="User_Remark" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
420           <NavigationProperty Name="Base_StaffOrganize" Relationship="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_StaffOrganize" />
421           <NavigationProperty Name="Base_UserRight" Relationship="Sam_DBModel.FK_Base_UserRight_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_UserRight" />
422           <NavigationProperty Name="Base_AppendPropertyInstance" Relationship="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_AppendPropertyInstance" />
423           <NavigationProperty Name="Base_UserRole" Relationship="Sam_DBModel.FK_Base_UserRole_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_UserRole" />
424         </EntityType>
425         <Association Name="FK_Base_StaffOrganize_Base_UserInfo">
426           <End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="0..1">
427             <OnDelete Action="Cascade" />
428           </End>
429           <End Type="Sam_DBModel.Base_StaffOrganize" Role="Base_StaffOrganize" Multiplicity="*" />
430         </Association>
431         <Association Name="FK_Base_UserRight_Base_UserInfo">
432           <End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="0..1">
433             <OnDelete Action="Cascade" />
434           </End>
435           <End Type="Sam_DBModel.Base_UserRight" Role="Base_UserRight" Multiplicity="*" />
436         </Association>
437         <EntityType Name="Base_AppendPropertyInstance">
438           <Key>
439             <PropertyRef Name="PropertyInstance_ID" />
440           </Key>
441           <Property Name="PropertyInstance_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
442           <Property Name="Property_Control_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
443           <Property Name="PropertyInstance_Value" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
444           <NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo" FromRole="Base_AppendPropertyInstance" ToRole="Base_UserInfo" />
445         </EntityType>
446         <Association Name="FK_Base_AppendPropertyInstance_Base_UserInfo">
447           <End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="1" />
448           <End Type="Sam_DBModel.Base_AppendPropertyInstance" Role="Base_AppendPropertyInstance" Multiplicity="*" />
449         </Association>
450         <EntityType Name="Base_AppendProperty">
451           <Key>
452             <PropertyRef Name="Property_ID" />
453           </Key>
454           <Property Name="Property_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
455           <Property Name="Property_Function" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
456           <Property Name="Property_Control_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
457           <Property Name="Property_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
458           <Property Name="Property_Control_DataSource" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
459           <Property Name="Property_Control_Length" Type="Int32" Nullable="false" />
460           <Property Name="Property_Control_Style" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
461           <Property Name="SortCode" Type="Int32" />
462           <Property Name="DeleteMark" Type="Int32" />
463           <Property Name="CreateDate" Type="DateTime" Precision="0" />
464           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
465           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
466           <Property Name="ModifyDate" Type="DateTime" Precision="3" />
467           <Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
468           <Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
469         </EntityType>
470         <EntityType Name="Base_RoleRight">
471           <Key>
472             <PropertyRef Name="RoleRight_ID" />
473           </Key>
474           <Property Name="RoleRight_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
475           <Property Name="Menu_Id" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
476           <Property Name="CreateDate" Type="DateTime" Precision="3" />
477           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
478           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
479           <NavigationProperty Name="Base_Roles" Relationship="Sam_DBModel.FK_Base_RoleRight_Base_Roles" FromRole="Base_RoleRight" ToRole="Base_Roles" />
480         </EntityType>
481         <EntityType Name="Base_Roles">
482           <Key>
483             <PropertyRef Name="Roles_ID" />
484           </Key>
485           <Property Name="Roles_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
486           <Property Name="ParentId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
487           <Property Name="Roles_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
488           <Property Name="Roles_Remark" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
489           <Property Name="SortCode" Type="Int32" />
490           <Property Name="DeleteMark" Type="Int32" />
491           <Property Name="CreateDate" Type="DateTime" Precision="3" />
492           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
493           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
494           <Property Name="ModifyDate" Type="DateTime" Precision="3" />
495           <Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
496           <Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
497           <NavigationProperty Name="Base_RoleRight" Relationship="Sam_DBModel.FK_Base_RoleRight_Base_Roles" FromRole="Base_Roles" ToRole="Base_RoleRight" />
498         </EntityType>
499         <Association Name="FK_Base_RoleRight_Base_Roles">
500           <End Type="Sam_DBModel.Base_Roles" Role="Base_Roles" Multiplicity="0..1">
501             <OnDelete Action="Cascade" />
502           </End>
503           <End Type="Sam_DBModel.Base_RoleRight" Role="Base_RoleRight" Multiplicity="*" />
504         </Association>
505         <EntityType Name="Base_UserRole">
506           <Key>
507             <PropertyRef Name="UserRole_ID" />
508           </Key>
509           <Property Name="UserRole_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
510           <Property Name="Roles_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
511           <Property Name="CreateDate" Type="DateTime" Precision="3" />
512           <Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
513           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
514           <NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_UserRole_Base_UserInfo" FromRole="Base_UserRole" ToRole="Base_UserInfo" />
515         </EntityType>
516         <Association Name="FK_Base_UserRole_Base_UserInfo">
517           <End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="0..1" />
518           <End Type="Sam_DBModel.Base_UserRole" Role="Base_UserRole" Multiplicity="*" />
519         </Association>
520         <EntityType Name="Base_Log">
521           <Key>
522             <PropertyRef Name="LogID" />
523           </Key>
524           <Property Name="LogID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
525           <Property Name="Type" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
526           <Property Name="LogMessage" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
527           <Property Name="CreateTime" Type="DateTime" Precision="3" />
528           <Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
529           <Property Name="CreateUserID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
530           <Property Name="LocalIP" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
531           <Property Name="ClassName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
532         </EntityType>
533         </Schema>
534     </edmx:ConceptualModels>
535     <!-- C-S mapping content -->
536     <edmx:Mappings>
537     <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
538   <EntityContainerMapping StorageEntityContainer="Sam_DBModelStoreContainer" CdmEntityContainer="Sam_DBEntities">
539     <EntitySetMapping Name="Base_SysMenu">
540       <EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_SysMenu)">
541         <MappingFragment StoreEntitySet="Base_SysMenu">
542           <ScalarProperty Name="Menu_Id" ColumnName="Menu_Id" />
543           <ScalarProperty Name="ParentId" ColumnName="ParentId" />
544           <ScalarProperty Name="Menu_Name" ColumnName="Menu_Name" />
545           <ScalarProperty Name="Menu_Tag" ColumnName="Menu_Tag" />
546           <ScalarProperty Name="Menu_Img" ColumnName="Menu_Img" />
547           <ScalarProperty Name="SortCode" ColumnName="SortCode" />
548           <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
549           <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
550           <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
551           <ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
552           <ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
553           <ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
554           <ScalarProperty Name="Menu_Type" ColumnName="Menu_Type" />
555         </MappingFragment>
556       </EntityTypeMapping>
557     </EntitySetMapping>
558     <EntitySetMapping Name="Base_UserRight">
559       <EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_UserRight)">
560         <MappingFragment StoreEntitySet="Base_UserRight">
561           <ScalarProperty Name="UserRight_ID" ColumnName="UserRight_ID" />
562           <ScalarProperty Name="Menu_Id" ColumnName="Menu_Id" />
563           <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
564           <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
565           <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
566         </MappingFragment>
567       </EntityTypeMapping>
568     </EntitySetMapping>
569     <EntitySetMapping Name="Base_Organization">
570       <EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_Organization)">
571         <MappingFragment StoreEntitySet="Base_Organization">
572           <ScalarProperty Name="Organization_ID" ColumnName="Organization_ID" />
573           <ScalarProperty Name="Organization_Code" ColumnName="Organization_Code" />
574           <ScalarProperty Name="Organization_Name" ColumnName="Organization_Name" />
575           <ScalarProperty Name="Organization_InnerPhone" ColumnName="Organization_InnerPhone" />
576           <ScalarProperty Name="Organization_OuterPhone" ColumnName="Organization_OuterPhone" />
577           <ScalarProperty Name="Organization_Manager" ColumnName="Organization_Manager" />
578           <ScalarProperty Name="Organization_AssistantManager" ColumnName="Organization_AssistantManager" />
579           <ScalarProperty Name="Organization_Fax" ColumnName="Organization_Fax" />
580           <ScalarProperty Name="Organization_Zipcode" ColumnName="Organization_Zipcode" />
581           <ScalarProperty Name="Organization_Address" ColumnName="Organization_Address" />
582           <ScalarProperty Name="ParentId" ColumnName="ParentId" />
583           <ScalarProperty Name="Organization_Remark" ColumnName="Organization_Remark" />
584           <ScalarProperty Name="SortCode" ColumnName="SortCode" />
585           <ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
586           <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
587           <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
588           <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
589           <ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
590           <ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
591           <ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
592         </MappingFragment>
593       </EntityTypeMapping>
594     </EntitySetMapping>
595     <EntitySetMapping Name="sysdiagrams">
596       <EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.sysdiagrams)">
597         <MappingFragment StoreEntitySet="sysdiagrams">
598           <ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
599           <ScalarProperty Name="name" ColumnName="name" />
600           <ScalarProperty Name="principal_id" ColumnName="principal_id" />
601           <ScalarProperty Name="version" ColumnName="version" />
602           <ScalarProperty Name="definition" ColumnName="definition" />
603         </MappingFragment>
604       </EntityTypeMapping>
605     </EntitySetMapping>
606     <EntitySetMapping Name="Base_StaffOrganize">
607       <EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_StaffOrganize)">
608         <MappingFragment StoreEntitySet="Base_StaffOrganize">
609           <ScalarProperty Name="StaffOrganize_Id" ColumnName="StaffOrganize_Id" />
610           <ScalarProperty Name="Organization_ID" ColumnName="Organization_ID" />
611           <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
612           <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
613           <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
614         </MappingFragment>
615       </EntityTypeMapping>
616     </EntitySetMapping>
617           <EntitySetMapping Name="Base_UserInfo">
618             <EntityTypeMapping TypeName="Sam_DBModel.Base_UserInfo">
619               <MappingFragment StoreEntitySet="Base_UserInfo">
620                 <ScalarProperty Name="User_Remark" ColumnName="User_Remark" />
621                 <ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
622                 <ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
623                 <ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
624                 <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
625                 <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
626                 <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
627                 <ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
628                 <ScalarProperty Name="Theme" ColumnName="Theme" />
629                 <ScalarProperty Name="Email" ColumnName="Email" />
630                 <ScalarProperty Name="Title" ColumnName="Title" />
631                 <ScalarProperty Name="User_Sex" ColumnName="User_Sex" />
632                 <ScalarProperty Name="User_Name" ColumnName="User_Name" />
633                 <ScalarProperty Name="User_Pwd" ColumnName="User_Pwd" />
634                 <ScalarProperty Name="User_Account" ColumnName="User_Account" />
635                 <ScalarProperty Name="User_Code" ColumnName="User_Code" />
636                 <ScalarProperty Name="User_ID" ColumnName="User_ID" />
637               </MappingFragment>
638             </EntityTypeMapping>
639           </EntitySetMapping>
640           <AssociationSetMapping Name="FK_Base_StaffOrganize_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo" StoreEntitySet="Base_StaffOrganize">
641             <EndProperty Name="Base_StaffOrganize">
642               <ScalarProperty Name="StaffOrganize_Id" ColumnName="StaffOrganize_Id" />
643             </EndProperty>
644             <EndProperty Name="Base_UserInfo">
645               <ScalarProperty Name="User_ID" ColumnName="User_ID" />
646             </EndProperty>
647             <Condition ColumnName="User_ID" IsNull="false" />
648           </AssociationSetMapping>
649           <AssociationSetMapping Name="FK_Base_UserRight_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_UserRight_Base_UserInfo" StoreEntitySet="Base_UserRight">
650             <EndProperty Name="Base_UserRight">
651               <ScalarProperty Name="UserRight_ID" ColumnName="UserRight_ID" />
652             </EndProperty>
653             <EndProperty Name="Base_UserInfo">
654               <ScalarProperty Name="User_ID" ColumnName="User_ID" />
655             </EndProperty>
656             <Condition ColumnName="User_ID" IsNull="false" />
657           </AssociationSetMapping>
658           <EntitySetMapping Name="Base_AppendPropertyInstance">
659             <EntityTypeMapping TypeName="Sam_DBModel.Base_AppendPropertyInstance">
660               <MappingFragment StoreEntitySet="Base_AppendPropertyInstance">
661                 <ScalarProperty Name="PropertyInstance_Value" ColumnName="PropertyInstance_Value" />
662                 <ScalarProperty Name="Property_Control_ID" ColumnName="Property_Control_ID" />
663                 <ScalarProperty Name="PropertyInstance_ID" ColumnName="PropertyInstance_ID" />
664               </MappingFragment>
665             </EntityTypeMapping>
666           </EntitySetMapping>
667           <AssociationSetMapping Name="FK_Base_AppendPropertyInstance_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo" StoreEntitySet="Base_AppendPropertyInstance">
668             <EndProperty Name="Base_AppendPropertyInstance">
669               <ScalarProperty Name="PropertyInstance_ID" ColumnName="PropertyInstance_ID" />
670             </EndProperty>
671             <EndProperty Name="Base_UserInfo">
672               <ScalarProperty Name="User_ID" ColumnName="PropertyInstance_Key" />
673             </EndProperty>
674           </AssociationSetMapping>
675           <EntitySetMapping Name="Base_AppendProperty">
676             <EntityTypeMapping TypeName="Sam_DBModel.Base_AppendProperty">
677               <MappingFragment StoreEntitySet="Base_AppendProperty">
678                 <ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
679                 <ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
680                 <ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
681                 <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
682                 <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
683                 <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
684                 <ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
685                 <ScalarProperty Name="SortCode" ColumnName="SortCode" />
686                 <ScalarProperty Name="Property_Control_Style" ColumnName="Property_Control_Style" />
687                 <ScalarProperty Name="Property_Control_Length" ColumnName="Property_Control_Length" />
688                 <ScalarProperty Name="Property_Control_DataSource" ColumnName="Property_Control_DataSource" />
689                 <ScalarProperty Name="Property_Name" ColumnName="Property_Name" />
690                 <ScalarProperty Name="Property_Control_ID" ColumnName="Property_Control_ID" />
691                 <ScalarProperty Name="Property_Function" ColumnName="Property_Function" />
692                 <ScalarProperty Name="Property_ID" ColumnName="Property_ID" />
693               </MappingFragment>
694             </EntityTypeMapping>
695           </EntitySetMapping>
696           <EntitySetMapping Name="Base_RoleRight">
697             <EntityTypeMapping TypeName="Sam_DBModel.Base_RoleRight">
698               <MappingFragment StoreEntitySet="Base_RoleRight">
699                 <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
700                 <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
701                 <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
702                 <ScalarProperty Name="Menu_Id" ColumnName="Menu_Id" />
703                 <ScalarProperty Name="RoleRight_ID" ColumnName="RoleRight_ID" />
704               </MappingFragment>
705             </EntityTypeMapping>
706           </EntitySetMapping>
707           <EntitySetMapping Name="Base_Roles">
708             <EntityTypeMapping TypeName="Sam_DBModel.Base_Roles">
709               <MappingFragment StoreEntitySet="Base_Roles">
710                 <ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
711                 <ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
712                 <ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
713                 <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
714                 <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
715                 <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
716                 <ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
717                 <ScalarProperty Name="SortCode" ColumnName="SortCode" />
718                 <ScalarProperty Name="Roles_Remark" ColumnName="Roles_Remark" />
719                 <ScalarProperty Name="Roles_Name" ColumnName="Roles_Name" />
720                 <ScalarProperty Name="ParentId" ColumnName="ParentId" />
721                 <ScalarProperty Name="Roles_ID" ColumnName="Roles_ID" />
722               </MappingFragment>
723             </EntityTypeMapping>
724           </EntitySetMapping>
725           <AssociationSetMapping Name="FK_Base_RoleRight_Base_Roles" TypeName="Sam_DBModel.FK_Base_RoleRight_Base_Roles" StoreEntitySet="Base_RoleRight">
726             <EndProperty Name="Base_RoleRight">
727               <ScalarProperty Name="RoleRight_ID" ColumnName="RoleRight_ID" />
728             </EndProperty>
729             <EndProperty Name="Base_Roles">
730               <ScalarProperty Name="Roles_ID" ColumnName="Roles_ID" />
731             </EndProperty>
732             <Condition ColumnName="Roles_ID" IsNull="false" />
733           </AssociationSetMapping>
734           <EntitySetMapping Name="Base_UserRole">
735             <EntityTypeMapping TypeName="Sam_DBModel.Base_UserRole">
736               <MappingFragment StoreEntitySet="Base_UserRole">
737                 <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
738                 <ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
739                 <ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
740                 <ScalarProperty Name="Roles_ID" ColumnName="Roles_ID" />
741                 <ScalarProperty Name="UserRole_ID" ColumnName="UserRole_ID" />
742               </MappingFragment>
743             </EntityTypeMapping>
744           </EntitySetMapping>
745           <AssociationSetMapping Name="FK_Base_UserRole_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_UserRole_Base_UserInfo" StoreEntitySet="Base_UserRole">
746             <EndProperty Name="Base_UserRole">
747               <ScalarProperty Name="UserRole_ID" ColumnName="UserRole_ID" />
748             </EndProperty>
749             <EndProperty Name="Base_UserInfo">
750               <ScalarProperty Name="User_ID" ColumnName="User_ID" />
751             </EndProperty>
752             <Condition ColumnName="User_ID" IsNull="false" />
753           </AssociationSetMapping>
754           <EntitySetMapping Name="Base_Log">
755             <EntityTypeMapping TypeName="Sam_DBModel.Base_Log">
756               <MappingFragment StoreEntitySet="Base_Log">
757                 <ScalarProperty Name="ClassName" ColumnName="ClassName" />
758                 <ScalarProperty Name="LocalIP" ColumnName="LocalIP" />
759                 <ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" />
760                 <ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
761                 <ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
762                 <ScalarProperty Name="LogMessage" ColumnName="LogMessage" />
763                 <ScalarProperty Name="Type" ColumnName="Type" />
764                 <ScalarProperty Name="LogID" ColumnName="LogID" />
765               </MappingFragment>
766             </EntityTypeMapping>
767           </EntitySetMapping>
768           </EntityContainerMapping>
769 </Mapping></edmx:Mappings>
770   </edmx:Runtime>
771   <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
772   <Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
773     <Connection>
774       <DesignerInfoPropertySet>
775         <DesignerProperty Name="MetadataArtifactProcessing" Value="EmbedInOutputAssembly" />
776       </DesignerInfoPropertySet>
777     </Connection>
778     <Options>
779       <DesignerInfoPropertySet>
780         <DesignerProperty Name="ValidateOnBuild" Value="true" />
781         <DesignerProperty Name="EnablePluralization" Value="false" />
782         <DesignerProperty Name="IncludeForeignKeysInModel" Value="False" />
783         <DesignerProperty Name="UseLegacyProvider" Value="False" />
784         <DesignerProperty Name="CodeGenerationStrategy" Value="无" />
785       </DesignerInfoPropertySet>
786     </Options>
787     <!-- Diagram content (shape and connector positions) -->
788     <Diagrams></Diagrams>
789   </Designer>
790 </edmx:Edmx>