<?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="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">
|
<EntityType Name="Base_AppendProperty">
|
<Key>
|
<PropertyRef Name="Property_ID" />
|
</Key>
|
<Property Name="Property_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="Property_Function" Type="varchar" MaxLength="50" />
|
<Property Name="Property_Control_ID" Type="varchar" MaxLength="50" />
|
<Property Name="Property_Name" Type="varchar" MaxLength="50" />
|
<Property Name="Property_Control_DataSource" Type="varchar(max)" />
|
<Property Name="Property_Control_Length" Type="int" Nullable="false" />
|
<Property Name="Property_Control_Style" Type="varchar" MaxLength="50" />
|
<Property Name="SortCode" Type="int" />
|
<Property Name="DeleteMark" Type="int" />
|
<Property Name="CreateDate" Type="date" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyDate" Type="datetime" />
|
<Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_AppendPropertyInstance">
|
<Key>
|
<PropertyRef Name="PropertyInstance_ID" />
|
</Key>
|
<Property Name="PropertyInstance_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="Property_Control_ID" Type="varchar" MaxLength="50" />
|
<Property Name="PropertyInstance_Value" Type="varchar(max)" />
|
<Property Name="PropertyInstance_Key" Type="varchar" MaxLength="50" Nullable="false" />
|
</EntityType>
|
<EntityType Name="Base_Log">
|
<Key>
|
<PropertyRef Name="LogID" />
|
</Key>
|
<Property Name="LogID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="Type" Type="varchar" MaxLength="50" />
|
<Property Name="LogMessage" Type="nvarchar" MaxLength="500" />
|
<Property Name="CreateTime" Type="datetime" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserID" Type="varchar" MaxLength="50" />
|
<Property Name="LocalIP" Type="varchar" MaxLength="50" />
|
<Property Name="ClassName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_Organization">
|
<Key>
|
<PropertyRef Name="Organization_ID" />
|
</Key>
|
<Property Name="Organization_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="Organization_Code" Type="varchar" MaxLength="20" />
|
<Property Name="Organization_Name" Type="varchar" MaxLength="50" />
|
<Property Name="Organization_InnerPhone" Type="varchar" MaxLength="20" />
|
<Property Name="Organization_OuterPhone" Type="varchar" MaxLength="20" />
|
<Property Name="Organization_Manager" Type="varchar" MaxLength="50" />
|
<Property Name="Organization_AssistantManager" Type="varchar" MaxLength="50" />
|
<Property Name="Organization_Fax" Type="varchar" MaxLength="20" />
|
<Property Name="Organization_Zipcode" Type="varchar" MaxLength="20" />
|
<Property Name="Organization_Address" Type="varchar" MaxLength="200" />
|
<Property Name="ParentId" Type="varchar" MaxLength="50" />
|
<Property Name="Organization_Remark" Type="varchar" MaxLength="200" />
|
<Property Name="SortCode" Type="int" />
|
<Property Name="DeleteMark" Type="int" />
|
<Property Name="CreateDate" Type="date" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyDate" Type="datetime" />
|
<Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_RoleRight">
|
<Key>
|
<PropertyRef Name="RoleRight_ID" />
|
</Key>
|
<Property Name="RoleRight_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="Roles_ID" Type="varchar" MaxLength="50" />
|
<Property Name="Menu_Id" Type="varchar" MaxLength="50" />
|
<Property Name="CreateDate" Type="datetime" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_Roles">
|
<Key>
|
<PropertyRef Name="Roles_ID" />
|
</Key>
|
<Property Name="Roles_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="ParentId" Type="varchar" MaxLength="50" />
|
<Property Name="Roles_Name" Type="varchar" MaxLength="50" />
|
<Property Name="Roles_Remark" Type="varchar" MaxLength="200" />
|
<Property Name="SortCode" Type="int" />
|
<Property Name="DeleteMark" Type="int" />
|
<Property Name="CreateDate" Type="datetime" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyDate" Type="datetime" />
|
<Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_StaffOrganize">
|
<Key>
|
<PropertyRef Name="StaffOrganize_Id" />
|
</Key>
|
<Property Name="StaffOrganize_Id" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="Organization_ID" Type="varchar" MaxLength="50" />
|
<Property Name="User_ID" Type="varchar" MaxLength="50" />
|
<Property Name="CreateDate" Type="datetime" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_SysMenu">
|
<Key>
|
<PropertyRef Name="Menu_Id" />
|
</Key>
|
<Property Name="Menu_Id" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="ParentId" Type="varchar" MaxLength="50" />
|
<Property Name="Menu_Name" Type="varchar" MaxLength="50" />
|
<Property Name="Menu_Tag" Type="varchar" MaxLength="50" />
|
<Property Name="Menu_Img" Type="int" />
|
<Property Name="SortCode" Type="int" />
|
<Property Name="CreateDate" Type="datetime" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyDate" Type="datetime" />
|
<Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
|
<Property Name="Menu_Type" Type="int" Nullable="false" />
|
</EntityType>
|
<EntityType Name="Base_UserInfo">
|
<Key>
|
<PropertyRef Name="User_ID" />
|
</Key>
|
<Property Name="User_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="User_Code" Type="varchar" MaxLength="50" />
|
<Property Name="User_Account" Type="varchar" MaxLength="50" />
|
<Property Name="User_Pwd" Type="varchar" MaxLength="50" />
|
<Property Name="User_Name" Type="varchar" MaxLength="50" />
|
<Property Name="User_Sex" Type="varchar" MaxLength="10" />
|
<Property Name="Title" Type="varchar" MaxLength="50" />
|
<Property Name="Email" Type="varchar" MaxLength="20" />
|
<Property Name="Theme" Type="varchar" MaxLength="50" />
|
<Property Name="DeleteMark" Type="int" />
|
<Property Name="CreateDate" Type="date" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyDate" Type="date" />
|
<Property Name="ModifyUserId" Type="varchar" MaxLength="50" />
|
<Property Name="ModifyUserName" Type="varchar" MaxLength="50" />
|
<Property Name="User_Remark" Type="varchar(max)" />
|
</EntityType>
|
<EntityType Name="Base_UserRight">
|
<Key>
|
<PropertyRef Name="UserRight_ID" />
|
</Key>
|
<Property Name="UserRight_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="User_ID" Type="varchar" MaxLength="50" />
|
<Property Name="Menu_Id" Type="varchar" MaxLength="50" />
|
<Property Name="CreateDate" Type="datetime" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="Base_UserRole">
|
<Key>
|
<PropertyRef Name="UserRole_ID" />
|
</Key>
|
<Property Name="UserRole_ID" Type="varchar" MaxLength="50" Nullable="false" />
|
<Property Name="User_ID" Type="varchar" MaxLength="50" />
|
<Property Name="Roles_ID" Type="varchar" MaxLength="50" />
|
<Property Name="CreateDate" Type="datetime" />
|
<Property Name="CreateUserId" Type="varchar" MaxLength="50" />
|
<Property Name="CreateUserName" Type="varchar" MaxLength="50" />
|
</EntityType>
|
<EntityType Name="sysdiagrams">
|
<Key>
|
<PropertyRef Name="diagram_id" />
|
</Key>
|
<Property Name="name" Type="nvarchar" MaxLength="128" Nullable="false" />
|
<Property Name="principal_id" Type="int" Nullable="false" />
|
<Property Name="diagram_id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
<Property Name="version" Type="int" />
|
<Property Name="definition" Type="varbinary(max)" />
|
</EntityType>
|
<Association Name="FK_Base_AppendPropertyInstance_Base_UserInfo">
|
<End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="1" />
|
<End Role="Base_AppendPropertyInstance" Type="Self.Base_AppendPropertyInstance" Multiplicity="*" />
|
<ReferentialConstraint>
|
<Principal Role="Base_UserInfo">
|
<PropertyRef Name="User_ID" />
|
</Principal>
|
<Dependent Role="Base_AppendPropertyInstance">
|
<PropertyRef Name="PropertyInstance_Key" />
|
</Dependent>
|
</ReferentialConstraint>
|
</Association>
|
<Association Name="FK_Base_RoleRight_Base_Roles">
|
<End Role="Base_Roles" Type="Self.Base_Roles" Multiplicity="0..1">
|
<OnDelete Action="Cascade" />
|
</End>
|
<End Role="Base_RoleRight" Type="Self.Base_RoleRight" Multiplicity="*" />
|
<ReferentialConstraint>
|
<Principal Role="Base_Roles">
|
<PropertyRef Name="Roles_ID" />
|
</Principal>
|
<Dependent Role="Base_RoleRight">
|
<PropertyRef Name="Roles_ID" />
|
</Dependent>
|
</ReferentialConstraint>
|
</Association>
|
<Association Name="FK_Base_StaffOrganize_Base_UserInfo">
|
<End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="0..1">
|
<OnDelete Action="Cascade" />
|
</End>
|
<End Role="Base_StaffOrganize" Type="Self.Base_StaffOrganize" Multiplicity="*" />
|
<ReferentialConstraint>
|
<Principal Role="Base_UserInfo">
|
<PropertyRef Name="User_ID" />
|
</Principal>
|
<Dependent Role="Base_StaffOrganize">
|
<PropertyRef Name="User_ID" />
|
</Dependent>
|
</ReferentialConstraint>
|
</Association>
|
<Association Name="FK_Base_UserRight_Base_UserInfo">
|
<End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="0..1">
|
<OnDelete Action="Cascade" />
|
</End>
|
<End Role="Base_UserRight" Type="Self.Base_UserRight" Multiplicity="*" />
|
<ReferentialConstraint>
|
<Principal Role="Base_UserInfo">
|
<PropertyRef Name="User_ID" />
|
</Principal>
|
<Dependent Role="Base_UserRight">
|
<PropertyRef Name="User_ID" />
|
</Dependent>
|
</ReferentialConstraint>
|
</Association>
|
<Association Name="FK_Base_UserRole_Base_UserInfo">
|
<End Role="Base_UserInfo" Type="Self.Base_UserInfo" Multiplicity="0..1" />
|
<End Role="Base_UserRole" Type="Self.Base_UserRole" Multiplicity="*" />
|
<ReferentialConstraint>
|
<Principal Role="Base_UserInfo">
|
<PropertyRef Name="User_ID" />
|
</Principal>
|
<Dependent Role="Base_UserRole">
|
<PropertyRef Name="User_ID" />
|
</Dependent>
|
</ReferentialConstraint>
|
</Association>
|
<EntityContainer Name="Sam_DBModelStoreContainer">
|
<EntitySet Name="Base_AppendProperty" EntityType="Self.Base_AppendProperty" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_AppendPropertyInstance" EntityType="Self.Base_AppendPropertyInstance" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_Log" EntityType="Self.Base_Log" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_Organization" EntityType="Self.Base_Organization" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_RoleRight" EntityType="Self.Base_RoleRight" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_Roles" EntityType="Self.Base_Roles" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_StaffOrganize" EntityType="Self.Base_StaffOrganize" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_SysMenu" EntityType="Self.Base_SysMenu" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_UserInfo" EntityType="Self.Base_UserInfo" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_UserRight" EntityType="Self.Base_UserRight" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="Base_UserRole" EntityType="Self.Base_UserRole" Schema="dbo" store:Type="Tables" />
|
<EntitySet Name="sysdiagrams" EntityType="Self.sysdiagrams" Schema="dbo" store:Type="Tables" />
|
<AssociationSet Name="FK_Base_AppendPropertyInstance_Base_UserInfo" Association="Self.FK_Base_AppendPropertyInstance_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_AppendPropertyInstance" EntitySet="Base_AppendPropertyInstance" />
|
</AssociationSet>
|
<AssociationSet Name="FK_Base_RoleRight_Base_Roles" Association="Self.FK_Base_RoleRight_Base_Roles">
|
<End Role="Base_Roles" EntitySet="Base_Roles" />
|
<End Role="Base_RoleRight" EntitySet="Base_RoleRight" />
|
</AssociationSet>
|
<AssociationSet Name="FK_Base_StaffOrganize_Base_UserInfo" Association="Self.FK_Base_StaffOrganize_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_StaffOrganize" EntitySet="Base_StaffOrganize" />
|
</AssociationSet>
|
<AssociationSet Name="FK_Base_UserRight_Base_UserInfo" Association="Self.FK_Base_UserRight_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_UserRight" EntitySet="Base_UserRight" />
|
</AssociationSet>
|
<AssociationSet Name="FK_Base_UserRole_Base_UserInfo" Association="Self.FK_Base_UserRole_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_UserRole" EntitySet="Base_UserRole" />
|
</AssociationSet>
|
</EntityContainer>
|
</Schema></edmx:StorageModels>
|
<!-- CSDL content -->
|
<edmx:ConceptualModels>
|
<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">
|
<EntityType Name="Base_SysMenu">
|
<Key>
|
<PropertyRef Name="Menu_Id" />
|
</Key>
|
<Property Name="Menu_Id" Type="String" MaxLength="50" FixedLength="false" Unicode="false" Nullable="false" />
|
<Property Name="ParentId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Menu_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Menu_Tag" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Menu_Img" Type="Int32" />
|
<Property Name="SortCode" Type="Int32" />
|
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyDate" Type="DateTime" Precision="3" />
|
<Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Menu_Type" Type="Int32" Nullable="false" />
|
</EntityType>
|
<EntityContainer Name="Sam_DBEntities" annotation:LazyLoadingEnabled="true">
|
<EntitySet Name="Base_SysMenu" EntityType="Self.Base_SysMenu" />
|
<EntitySet Name="Base_UserRight" EntityType="Sam_DBModel.Base_UserRight" />
|
<EntitySet Name="Base_Organization" EntityType="Sam_DBModel.Base_Organization" />
|
<EntitySet Name="sysdiagrams" EntityType="Sam_DBModel.sysdiagrams" />
|
<EntitySet Name="Base_StaffOrganize" EntityType="Sam_DBModel.Base_StaffOrganize" />
|
<EntitySet Name="Base_UserInfo" EntityType="Sam_DBModel.Base_UserInfo" />
|
<AssociationSet Name="FK_Base_StaffOrganize_Base_UserInfo" Association="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_StaffOrganize" EntitySet="Base_StaffOrganize" />
|
</AssociationSet>
|
<AssociationSet Name="FK_Base_UserRight_Base_UserInfo" Association="Sam_DBModel.FK_Base_UserRight_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_UserRight" EntitySet="Base_UserRight" />
|
</AssociationSet>
|
<EntitySet Name="Base_AppendPropertyInstance" EntityType="Sam_DBModel.Base_AppendPropertyInstance" />
|
<AssociationSet Name="FK_Base_AppendPropertyInstance_Base_UserInfo" Association="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_AppendPropertyInstance" EntitySet="Base_AppendPropertyInstance" />
|
</AssociationSet>
|
<EntitySet Name="Base_AppendProperty" EntityType="Sam_DBModel.Base_AppendProperty" />
|
<EntitySet Name="Base_RoleRight" EntityType="Sam_DBModel.Base_RoleRight" />
|
<EntitySet Name="Base_Roles" EntityType="Sam_DBModel.Base_Roles" />
|
<AssociationSet Name="FK_Base_RoleRight_Base_Roles" Association="Sam_DBModel.FK_Base_RoleRight_Base_Roles">
|
<End Role="Base_Roles" EntitySet="Base_Roles" />
|
<End Role="Base_RoleRight" EntitySet="Base_RoleRight" />
|
</AssociationSet>
|
<EntitySet Name="Base_UserRole" EntityType="Sam_DBModel.Base_UserRole" />
|
<AssociationSet Name="FK_Base_UserRole_Base_UserInfo" Association="Sam_DBModel.FK_Base_UserRole_Base_UserInfo">
|
<End Role="Base_UserInfo" EntitySet="Base_UserInfo" />
|
<End Role="Base_UserRole" EntitySet="Base_UserRole" />
|
</AssociationSet>
|
<EntitySet Name="Base_Log" EntityType="Sam_DBModel.Base_Log" />
|
</EntityContainer>
|
<EntityType Name="Base_UserRight">
|
<Key>
|
<PropertyRef Name="UserRight_ID" />
|
</Key>
|
<Property Name="UserRight_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Menu_Id" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_UserRight_Base_UserInfo" FromRole="Base_UserRight" ToRole="Base_UserInfo" />
|
</EntityType>
|
<EntityType Name="Base_Organization">
|
<Key>
|
<PropertyRef Name="Organization_ID" />
|
</Key>
|
<Property Name="Organization_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Code" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_InnerPhone" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_OuterPhone" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Manager" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_AssistantManager" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Fax" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Zipcode" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Address" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
|
<Property Name="ParentId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_Remark" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
|
<Property Name="SortCode" Type="Int32" />
|
<Property Name="DeleteMark" Type="Int32" />
|
<Property Name="CreateDate" Type="DateTime" Precision="0" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyDate" Type="DateTime" Precision="3" />
|
<Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
</EntityType>
|
<EntityType Name="sysdiagrams">
|
<Key>
|
<PropertyRef Name="diagram_id" />
|
</Key>
|
<Property Name="name" Type="String" Nullable="false" MaxLength="128" FixedLength="false" Unicode="true" />
|
<Property Name="principal_id" Type="Int32" Nullable="false" />
|
<Property Name="diagram_id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
<Property Name="version" Type="Int32" />
|
<Property Name="definition" Type="Binary" MaxLength="Max" FixedLength="false" />
|
</EntityType>
|
<EntityType Name="Base_StaffOrganize">
|
<Key>
|
<PropertyRef Name="StaffOrganize_Id" />
|
</Key>
|
<Property Name="StaffOrganize_Id" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Organization_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo" FromRole="Base_StaffOrganize" ToRole="Base_UserInfo" />
|
</EntityType>
|
<EntityType Name="Base_UserInfo">
|
<Key>
|
<PropertyRef Name="User_ID" />
|
</Key>
|
<Property Name="User_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="User_Code" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="User_Account" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="User_Pwd" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="User_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="User_Sex" Type="String" MaxLength="10" FixedLength="false" Unicode="false" />
|
<Property Name="Title" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Email" Type="String" MaxLength="20" FixedLength="false" Unicode="false" />
|
<Property Name="Theme" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="DeleteMark" Type="Int32" />
|
<Property Name="CreateDate" Type="DateTime" Precision="0" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyDate" Type="DateTime" Precision="0" />
|
<Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="User_Remark" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_StaffOrganize" Relationship="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_StaffOrganize" />
|
<NavigationProperty Name="Base_UserRight" Relationship="Sam_DBModel.FK_Base_UserRight_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_UserRight" />
|
<NavigationProperty Name="Base_AppendPropertyInstance" Relationship="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_AppendPropertyInstance" />
|
<NavigationProperty Name="Base_UserRole" Relationship="Sam_DBModel.FK_Base_UserRole_Base_UserInfo" FromRole="Base_UserInfo" ToRole="Base_UserRole" />
|
</EntityType>
|
<Association Name="FK_Base_StaffOrganize_Base_UserInfo">
|
<End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="0..1">
|
<OnDelete Action="Cascade" />
|
</End>
|
<End Type="Sam_DBModel.Base_StaffOrganize" Role="Base_StaffOrganize" Multiplicity="*" />
|
</Association>
|
<Association Name="FK_Base_UserRight_Base_UserInfo">
|
<End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="0..1">
|
<OnDelete Action="Cascade" />
|
</End>
|
<End Type="Sam_DBModel.Base_UserRight" Role="Base_UserRight" Multiplicity="*" />
|
</Association>
|
<EntityType Name="Base_AppendPropertyInstance">
|
<Key>
|
<PropertyRef Name="PropertyInstance_ID" />
|
</Key>
|
<Property Name="PropertyInstance_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Property_Control_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="PropertyInstance_Value" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo" FromRole="Base_AppendPropertyInstance" ToRole="Base_UserInfo" />
|
</EntityType>
|
<Association Name="FK_Base_AppendPropertyInstance_Base_UserInfo">
|
<End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="1" />
|
<End Type="Sam_DBModel.Base_AppendPropertyInstance" Role="Base_AppendPropertyInstance" Multiplicity="*" />
|
</Association>
|
<EntityType Name="Base_AppendProperty">
|
<Key>
|
<PropertyRef Name="Property_ID" />
|
</Key>
|
<Property Name="Property_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Property_Function" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Property_Control_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Property_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Property_Control_DataSource" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
<Property Name="Property_Control_Length" Type="Int32" Nullable="false" />
|
<Property Name="Property_Control_Style" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="SortCode" Type="Int32" />
|
<Property Name="DeleteMark" Type="Int32" />
|
<Property Name="CreateDate" Type="DateTime" Precision="0" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyDate" Type="DateTime" Precision="3" />
|
<Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
</EntityType>
|
<EntityType Name="Base_RoleRight">
|
<Key>
|
<PropertyRef Name="RoleRight_ID" />
|
</Key>
|
<Property Name="RoleRight_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Menu_Id" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_Roles" Relationship="Sam_DBModel.FK_Base_RoleRight_Base_Roles" FromRole="Base_RoleRight" ToRole="Base_Roles" />
|
</EntityType>
|
<EntityType Name="Base_Roles">
|
<Key>
|
<PropertyRef Name="Roles_ID" />
|
</Key>
|
<Property Name="Roles_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ParentId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Roles_Name" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Roles_Remark" Type="String" MaxLength="200" FixedLength="false" Unicode="false" />
|
<Property Name="SortCode" Type="Int32" />
|
<Property Name="DeleteMark" Type="Int32" />
|
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyDate" Type="DateTime" Precision="3" />
|
<Property Name="ModifyUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ModifyUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_RoleRight" Relationship="Sam_DBModel.FK_Base_RoleRight_Base_Roles" FromRole="Base_Roles" ToRole="Base_RoleRight" />
|
</EntityType>
|
<Association Name="FK_Base_RoleRight_Base_Roles">
|
<End Type="Sam_DBModel.Base_Roles" Role="Base_Roles" Multiplicity="0..1">
|
<OnDelete Action="Cascade" />
|
</End>
|
<End Type="Sam_DBModel.Base_RoleRight" Role="Base_RoleRight" Multiplicity="*" />
|
</Association>
|
<EntityType Name="Base_UserRole">
|
<Key>
|
<PropertyRef Name="UserRole_ID" />
|
</Key>
|
<Property Name="UserRole_ID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Roles_ID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserId" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<NavigationProperty Name="Base_UserInfo" Relationship="Sam_DBModel.FK_Base_UserRole_Base_UserInfo" FromRole="Base_UserRole" ToRole="Base_UserInfo" />
|
</EntityType>
|
<Association Name="FK_Base_UserRole_Base_UserInfo">
|
<End Type="Sam_DBModel.Base_UserInfo" Role="Base_UserInfo" Multiplicity="0..1" />
|
<End Type="Sam_DBModel.Base_UserRole" Role="Base_UserRole" Multiplicity="*" />
|
</Association>
|
<EntityType Name="Base_Log">
|
<Key>
|
<PropertyRef Name="LogID" />
|
</Key>
|
<Property Name="LogID" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="Type" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="LogMessage" Type="String" MaxLength="500" FixedLength="false" Unicode="true" />
|
<Property Name="CreateTime" Type="DateTime" Precision="3" />
|
<Property Name="CreateUserName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="CreateUserID" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="LocalIP" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
<Property Name="ClassName" Type="String" MaxLength="50" FixedLength="false" Unicode="false" />
|
</EntityType>
|
</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="Sam_DBModelStoreContainer" CdmEntityContainer="Sam_DBEntities">
|
<EntitySetMapping Name="Base_SysMenu">
|
<EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_SysMenu)">
|
<MappingFragment StoreEntitySet="Base_SysMenu">
|
<ScalarProperty Name="Menu_Id" ColumnName="Menu_Id" />
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
<ScalarProperty Name="Menu_Name" ColumnName="Menu_Name" />
|
<ScalarProperty Name="Menu_Tag" ColumnName="Menu_Tag" />
|
<ScalarProperty Name="Menu_Img" ColumnName="Menu_Img" />
|
<ScalarProperty Name="SortCode" ColumnName="SortCode" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
|
<ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
|
<ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
|
<ScalarProperty Name="Menu_Type" ColumnName="Menu_Type" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="Base_UserRight">
|
<EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_UserRight)">
|
<MappingFragment StoreEntitySet="Base_UserRight">
|
<ScalarProperty Name="UserRight_ID" ColumnName="UserRight_ID" />
|
<ScalarProperty Name="Menu_Id" ColumnName="Menu_Id" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="Base_Organization">
|
<EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_Organization)">
|
<MappingFragment StoreEntitySet="Base_Organization">
|
<ScalarProperty Name="Organization_ID" ColumnName="Organization_ID" />
|
<ScalarProperty Name="Organization_Code" ColumnName="Organization_Code" />
|
<ScalarProperty Name="Organization_Name" ColumnName="Organization_Name" />
|
<ScalarProperty Name="Organization_InnerPhone" ColumnName="Organization_InnerPhone" />
|
<ScalarProperty Name="Organization_OuterPhone" ColumnName="Organization_OuterPhone" />
|
<ScalarProperty Name="Organization_Manager" ColumnName="Organization_Manager" />
|
<ScalarProperty Name="Organization_AssistantManager" ColumnName="Organization_AssistantManager" />
|
<ScalarProperty Name="Organization_Fax" ColumnName="Organization_Fax" />
|
<ScalarProperty Name="Organization_Zipcode" ColumnName="Organization_Zipcode" />
|
<ScalarProperty Name="Organization_Address" ColumnName="Organization_Address" />
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
<ScalarProperty Name="Organization_Remark" ColumnName="Organization_Remark" />
|
<ScalarProperty Name="SortCode" ColumnName="SortCode" />
|
<ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
|
<ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
|
<ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="sysdiagrams">
|
<EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.sysdiagrams)">
|
<MappingFragment StoreEntitySet="sysdiagrams">
|
<ScalarProperty Name="diagram_id" ColumnName="diagram_id" />
|
<ScalarProperty Name="name" ColumnName="name" />
|
<ScalarProperty Name="principal_id" ColumnName="principal_id" />
|
<ScalarProperty Name="version" ColumnName="version" />
|
<ScalarProperty Name="definition" ColumnName="definition" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="Base_StaffOrganize">
|
<EntityTypeMapping TypeName="IsTypeOf(Sam_DBModel.Base_StaffOrganize)">
|
<MappingFragment StoreEntitySet="Base_StaffOrganize">
|
<ScalarProperty Name="StaffOrganize_Id" ColumnName="StaffOrganize_Id" />
|
<ScalarProperty Name="Organization_ID" ColumnName="Organization_ID" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="Base_UserInfo">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_UserInfo">
|
<MappingFragment StoreEntitySet="Base_UserInfo">
|
<ScalarProperty Name="User_Remark" ColumnName="User_Remark" />
|
<ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
|
<ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
|
<ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
|
<ScalarProperty Name="Theme" ColumnName="Theme" />
|
<ScalarProperty Name="Email" ColumnName="Email" />
|
<ScalarProperty Name="Title" ColumnName="Title" />
|
<ScalarProperty Name="User_Sex" ColumnName="User_Sex" />
|
<ScalarProperty Name="User_Name" ColumnName="User_Name" />
|
<ScalarProperty Name="User_Pwd" ColumnName="User_Pwd" />
|
<ScalarProperty Name="User_Account" ColumnName="User_Account" />
|
<ScalarProperty Name="User_Code" ColumnName="User_Code" />
|
<ScalarProperty Name="User_ID" ColumnName="User_ID" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<AssociationSetMapping Name="FK_Base_StaffOrganize_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_StaffOrganize_Base_UserInfo" StoreEntitySet="Base_StaffOrganize">
|
<EndProperty Name="Base_StaffOrganize">
|
<ScalarProperty Name="StaffOrganize_Id" ColumnName="StaffOrganize_Id" />
|
</EndProperty>
|
<EndProperty Name="Base_UserInfo">
|
<ScalarProperty Name="User_ID" ColumnName="User_ID" />
|
</EndProperty>
|
<Condition ColumnName="User_ID" IsNull="false" />
|
</AssociationSetMapping>
|
<AssociationSetMapping Name="FK_Base_UserRight_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_UserRight_Base_UserInfo" StoreEntitySet="Base_UserRight">
|
<EndProperty Name="Base_UserRight">
|
<ScalarProperty Name="UserRight_ID" ColumnName="UserRight_ID" />
|
</EndProperty>
|
<EndProperty Name="Base_UserInfo">
|
<ScalarProperty Name="User_ID" ColumnName="User_ID" />
|
</EndProperty>
|
<Condition ColumnName="User_ID" IsNull="false" />
|
</AssociationSetMapping>
|
<EntitySetMapping Name="Base_AppendPropertyInstance">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_AppendPropertyInstance">
|
<MappingFragment StoreEntitySet="Base_AppendPropertyInstance">
|
<ScalarProperty Name="PropertyInstance_Value" ColumnName="PropertyInstance_Value" />
|
<ScalarProperty Name="Property_Control_ID" ColumnName="Property_Control_ID" />
|
<ScalarProperty Name="PropertyInstance_ID" ColumnName="PropertyInstance_ID" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<AssociationSetMapping Name="FK_Base_AppendPropertyInstance_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_AppendPropertyInstance_Base_UserInfo" StoreEntitySet="Base_AppendPropertyInstance">
|
<EndProperty Name="Base_AppendPropertyInstance">
|
<ScalarProperty Name="PropertyInstance_ID" ColumnName="PropertyInstance_ID" />
|
</EndProperty>
|
<EndProperty Name="Base_UserInfo">
|
<ScalarProperty Name="User_ID" ColumnName="PropertyInstance_Key" />
|
</EndProperty>
|
</AssociationSetMapping>
|
<EntitySetMapping Name="Base_AppendProperty">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_AppendProperty">
|
<MappingFragment StoreEntitySet="Base_AppendProperty">
|
<ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
|
<ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
|
<ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
|
<ScalarProperty Name="SortCode" ColumnName="SortCode" />
|
<ScalarProperty Name="Property_Control_Style" ColumnName="Property_Control_Style" />
|
<ScalarProperty Name="Property_Control_Length" ColumnName="Property_Control_Length" />
|
<ScalarProperty Name="Property_Control_DataSource" ColumnName="Property_Control_DataSource" />
|
<ScalarProperty Name="Property_Name" ColumnName="Property_Name" />
|
<ScalarProperty Name="Property_Control_ID" ColumnName="Property_Control_ID" />
|
<ScalarProperty Name="Property_Function" ColumnName="Property_Function" />
|
<ScalarProperty Name="Property_ID" ColumnName="Property_ID" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="Base_RoleRight">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_RoleRight">
|
<MappingFragment StoreEntitySet="Base_RoleRight">
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="Menu_Id" ColumnName="Menu_Id" />
|
<ScalarProperty Name="RoleRight_ID" ColumnName="RoleRight_ID" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<EntitySetMapping Name="Base_Roles">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_Roles">
|
<MappingFragment StoreEntitySet="Base_Roles">
|
<ScalarProperty Name="ModifyUserName" ColumnName="ModifyUserName" />
|
<ScalarProperty Name="ModifyUserId" ColumnName="ModifyUserId" />
|
<ScalarProperty Name="ModifyDate" ColumnName="ModifyDate" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="DeleteMark" ColumnName="DeleteMark" />
|
<ScalarProperty Name="SortCode" ColumnName="SortCode" />
|
<ScalarProperty Name="Roles_Remark" ColumnName="Roles_Remark" />
|
<ScalarProperty Name="Roles_Name" ColumnName="Roles_Name" />
|
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
<ScalarProperty Name="Roles_ID" ColumnName="Roles_ID" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<AssociationSetMapping Name="FK_Base_RoleRight_Base_Roles" TypeName="Sam_DBModel.FK_Base_RoleRight_Base_Roles" StoreEntitySet="Base_RoleRight">
|
<EndProperty Name="Base_RoleRight">
|
<ScalarProperty Name="RoleRight_ID" ColumnName="RoleRight_ID" />
|
</EndProperty>
|
<EndProperty Name="Base_Roles">
|
<ScalarProperty Name="Roles_ID" ColumnName="Roles_ID" />
|
</EndProperty>
|
<Condition ColumnName="Roles_ID" IsNull="false" />
|
</AssociationSetMapping>
|
<EntitySetMapping Name="Base_UserRole">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_UserRole">
|
<MappingFragment StoreEntitySet="Base_UserRole">
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="CreateUserId" ColumnName="CreateUserId" />
|
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
<ScalarProperty Name="Roles_ID" ColumnName="Roles_ID" />
|
<ScalarProperty Name="UserRole_ID" ColumnName="UserRole_ID" />
|
</MappingFragment>
|
</EntityTypeMapping>
|
</EntitySetMapping>
|
<AssociationSetMapping Name="FK_Base_UserRole_Base_UserInfo" TypeName="Sam_DBModel.FK_Base_UserRole_Base_UserInfo" StoreEntitySet="Base_UserRole">
|
<EndProperty Name="Base_UserRole">
|
<ScalarProperty Name="UserRole_ID" ColumnName="UserRole_ID" />
|
</EndProperty>
|
<EndProperty Name="Base_UserInfo">
|
<ScalarProperty Name="User_ID" ColumnName="User_ID" />
|
</EndProperty>
|
<Condition ColumnName="User_ID" IsNull="false" />
|
</AssociationSetMapping>
|
<EntitySetMapping Name="Base_Log">
|
<EntityTypeMapping TypeName="Sam_DBModel.Base_Log">
|
<MappingFragment StoreEntitySet="Base_Log">
|
<ScalarProperty Name="ClassName" ColumnName="ClassName" />
|
<ScalarProperty Name="LocalIP" ColumnName="LocalIP" />
|
<ScalarProperty Name="CreateUserID" ColumnName="CreateUserID" />
|
<ScalarProperty Name="CreateUserName" ColumnName="CreateUserName" />
|
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
<ScalarProperty Name="LogMessage" ColumnName="LogMessage" />
|
<ScalarProperty Name="Type" ColumnName="Type" />
|
<ScalarProperty Name="LogID" ColumnName="LogID" />
|
</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="False" />
|
<DesignerProperty Name="UseLegacyProvider" Value="False" />
|
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
|
</DesignerInfoPropertySet>
|
</Options>
|
<!-- Diagram content (shape and connector positions) -->
|
<Diagrams></Diagrams>
|
</Designer>
|
</edmx:Edmx>
|