905 lines
52 KiB
XML
905 lines
52 KiB
XML
<?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="AuthorityDBModel.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="__MigrationHistory">
|
||
<Key>
|
||
<PropertyRef Name="MigrationId" />
|
||
<PropertyRef Name="ContextKey" />
|
||
</Key>
|
||
<Property Name="MigrationId" Type="nvarchar" MaxLength="150" Nullable="false" />
|
||
<Property Name="ContextKey" Type="nvarchar" MaxLength="300" Nullable="false" />
|
||
<Property Name="Model" Type="varbinary(max)" Nullable="false" />
|
||
<Property Name="ProductVersion" Type="nvarchar" MaxLength="32" Nullable="false" />
|
||
</EntityType>
|
||
<EntityType Name="AppAutho">
|
||
<Key>
|
||
<PropertyRef Name="AppId" />
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Key>
|
||
<Property Name="AppId" Type="int" Nullable="false" />
|
||
<Property Name="AuthorityId" Type="int" Nullable="false" />
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
<Property Name="CreatedBy" Type="nvarchar(max)" />
|
||
</EntityType>
|
||
<EntityType Name="Authority">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="AuthorityName" Type="nvarchar(max)" Nullable="false" />
|
||
<Property Name="Desc" Type="nvarchar(max)" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
<Property Name="CreatedBy" Type="nvarchar(max)" />
|
||
<Property Name="IsValid" Type="int" />
|
||
<Property Name="AuthoStatusTypeId" Type="nvarchar(max)" />
|
||
</EntityType>
|
||
<EntityType Name="AuthoStatusType">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Name" Type="nvarchar(max)" Nullable="false" />
|
||
<Property Name="Desc" Type="nvarchar(max)" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
<Property Name="CreatedBy" Type="nvarchar(max)" />
|
||
</EntityType>
|
||
<EntityType Name="DbLog">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Content" Type="nvarchar(max)" />
|
||
<Property Name="Uid" Type="nvarchar(max)" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
<Property Name="Type" Type="int" Nullable="false" />
|
||
<Property Name="Ip" Type="nvarchar" MaxLength="50" />
|
||
<Property Name="Client" Type="nvarchar(max)" />
|
||
<Property Name="location" Type="nvarchar" MaxLength="150" />
|
||
</EntityType>
|
||
<EntityType Name="Hosts">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="HotelID" Type="int" Nullable="false" />
|
||
<Property Name="RoomNumber" Type="nvarchar(max)" />
|
||
<Property Name="Status" Type="int" Nullable="false" />
|
||
<Property Name="Desc" Type="nvarchar(max)" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
<Property Name="RoomStatusID" Type="int" />
|
||
</EntityType>
|
||
<EntityType Name="HotelGroups">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
|
||
<Property Name="Name" Type="nvarchar(max)" />
|
||
<Property Name="ParentId" Type="int" Nullable="false" />
|
||
<Property Name="Desc" Type="nvarchar(max)" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
</EntityType>
|
||
<EntityType Name="Hotels">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" Nullable="false" />
|
||
<Property Name="Name" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||
<Property Name="Desc" Type="nvarchar" MaxLength="50" />
|
||
<Property Name="GroupId" Type="int" Nullable="false" />
|
||
<Property Name="Code" Type="nvarchar" MaxLength="50" />
|
||
<Property Name="Status" Type="int" Nullable="false" />
|
||
<Property Name="IsApprove" Type="int" Nullable="false" />
|
||
<Property Name="CreateTime" Type="datetime" Nullable="false" />
|
||
</EntityType>
|
||
<EntityType Name="OrgAuthority">
|
||
<Key>
|
||
<PropertyRef Name="OrgId" />
|
||
<PropertyRef Name="AuthorityId" />
|
||
<PropertyRef Name="HotelId" />
|
||
</Key>
|
||
<Property Name="OrgId" Type="int" Nullable="false" />
|
||
<Property Name="AuthorityId" Type="int" Nullable="false" />
|
||
<Property Name="HotelId" Type="int" Nullable="false" />
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="AuthotypeId" Type="int" Nullable="false" />
|
||
<Property Name="CreateTime" Type="datetime" />
|
||
<Property Name="CreatedBy" Type="nvarchar(max)" />
|
||
</EntityType>
|
||
<EntityType Name="TBL_Multilingual">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Language" Type="nvarchar" MaxLength="254" />
|
||
<Property Name="ApplicationID" Type="nvarchar" MaxLength="254" />
|
||
<Property Name="Version" Type="int" />
|
||
</EntityType>
|
||
<!--生成过程中发现错误:
|
||
警告 6002: 表/视图“AuthorityDB.dbo.TBL_MultilingualApps”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
||
<EntityType Name="TBL_MultilingualApps">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Application" Type="nvarchar" MaxLength="254" />
|
||
<Property Name="Remark" Type="nvarchar" MaxLength="254" />
|
||
</EntityType>
|
||
<!--生成过程中发现错误:
|
||
警告 6002: 表/视图“AuthorityDB.dbo.TBL_MultilingualData”未定义主键。已推断出该键,并将定义创建为只读的表/视图。-->
|
||
<EntityType Name="TBL_MultilingualData">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="中文" Type="nvarchar" MaxLength="254" />
|
||
<Property Name="English" Type="nvarchar" MaxLength="254" />
|
||
<Property Name="ApplicationID" Type="nvarchar" MaxLength="254" />
|
||
</EntityType>
|
||
<EntityType Name="TBL_RCU_InfraredPacket">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Type" Type="varchar" MaxLength="254" />
|
||
<Property Name="Brand" Type="varchar" MaxLength="254" />
|
||
<Property Name="Model" Type="varchar" MaxLength="254" />
|
||
<Property Name="Version" Type="varchar" MaxLength="254" />
|
||
<Property Name="CreateDate" Type="datetime" />
|
||
<Property Name="PacketName" Type="varchar" MaxLength="254" />
|
||
<Property Name="PacketData" Type="image" />
|
||
<Property Name="PacketMD5" Type="varchar" MaxLength="254" />
|
||
<Property Name="Remark" Type="text" />
|
||
<Property Name="OldPacket" Type="bit" />
|
||
</EntityType>
|
||
<EntityType Name="UserAuthoes">
|
||
<Key>
|
||
<PropertyRef Name="UserId" />
|
||
<PropertyRef Name="AuthorityId" />
|
||
<PropertyRef Name="HotelId" />
|
||
</Key>
|
||
<Property Name="UserId" Type="int" Nullable="false" />
|
||
<Property Name="AuthorityId" Type="int" Nullable="false" />
|
||
<Property Name="HotelId" Type="int" Nullable="false" />
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="AuthotypeId" Type="int" Nullable="false" />
|
||
<Property Name="CreateTime" Type="nvarchar(max)" />
|
||
<Property Name="CreatedBy" Type="nvarchar(max)" />
|
||
</EntityType>
|
||
<EntityType Name="UserInfo">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Uid" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||
<Property Name="Pwd" Type="nvarchar" MaxLength="50" Nullable="false" />
|
||
<Property Name="PwdSee" Type="nvarchar(max)" />
|
||
<Property Name="HeadImg" Type="nvarchar(max)" Nullable="false" />
|
||
<Property Name="Sex" Type="int" Nullable="false" />
|
||
<Property Name="Age" Type="int" />
|
||
<Property Name="IsValid" Type="int" />
|
||
<Property Name="Desc" Type="nvarchar(max)" />
|
||
<Property Name="CreateTime" Type="datetime" />
|
||
<Property Name="CreatedBy" Type="nvarchar(max)" />
|
||
<Property Name="HotelID" Type="int" />
|
||
<Property Name="HotelGroupID" Type="int" />
|
||
<Property Name="IsImport" Type="int" Nullable="false" />
|
||
<Property Name="Company" Type="int" />
|
||
<Property Name="OldId" Type="int" />
|
||
<Property Name="EndTime" Type="datetime" />
|
||
<Property Name="Autho" Type="int" Nullable="false" />
|
||
</EntityType>
|
||
<EntityType Name="UserLog">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||
<Property Name="Name" Type="nvarchar" MaxLength="254" />
|
||
</EntityType>
|
||
<Association Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="AppAutho" Type="Self.AppAutho" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="Authority">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="AppAutho">
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="Authority">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="OrgAuthority">
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="AuthoStatusType">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="OrgAuthority">
|
||
<PropertyRef Name="AuthotypeId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="Authority">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="UserAuthoes">
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="AuthoStatusType">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="UserAuthoes">
|
||
<PropertyRef Name="AuthotypeId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
|
||
<End Role="UserInfo" Type="Self.UserInfo" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="UserInfo">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="UserAuthoes">
|
||
<PropertyRef Name="UserId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<EntityContainer Name="AuthorityDBModelStoreContainer">
|
||
<EntitySet Name="__MigrationHistory" EntityType="Self.__MigrationHistory" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="AppAutho" EntityType="Self.AppAutho" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="Authority" EntityType="Self.Authority" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="AuthoStatusType" EntityType="Self.AuthoStatusType" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="DbLog" EntityType="Self.DbLog" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="Hosts" EntityType="Self.Hosts" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="HotelGroups" EntityType="Self.HotelGroups" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="Hotels" EntityType="Self.Hotels" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="OrgAuthority" EntityType="Self.OrgAuthority" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="TBL_Multilingual" EntityType="Self.TBL_Multilingual" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="TBL_RCU_InfraredPacket" EntityType="Self.TBL_RCU_InfraredPacket" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="UserAuthoes" EntityType="Self.UserAuthoes" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="UserInfo" EntityType="Self.UserInfo" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="UserLog" EntityType="Self.UserLog" Schema="dbo" store:Type="Tables" />
|
||
<EntitySet Name="TBL_MultilingualApps" EntityType="Self.TBL_MultilingualApps" store:Type="Tables" store:Schema="dbo">
|
||
<DefiningQuery>SELECT
|
||
[TBL_MultilingualApps].[ID] AS [ID],
|
||
[TBL_MultilingualApps].[Application] AS [Application],
|
||
[TBL_MultilingualApps].[Remark] AS [Remark]
|
||
FROM [dbo].[TBL_MultilingualApps] AS [TBL_MultilingualApps]</DefiningQuery>
|
||
</EntitySet>
|
||
<EntitySet Name="TBL_MultilingualData" EntityType="Self.TBL_MultilingualData" store:Type="Tables" store:Schema="dbo">
|
||
<DefiningQuery>SELECT
|
||
[TBL_MultilingualData].[ID] AS [ID],
|
||
[TBL_MultilingualData].[中文] AS [中文],
|
||
[TBL_MultilingualData].[English] AS [English],
|
||
[TBL_MultilingualData].[ApplicationID] AS [ApplicationID]
|
||
FROM [dbo].[TBL_MultilingualData] AS [TBL_MultilingualData]</DefiningQuery>
|
||
</EntitySet>
|
||
<AssociationSet Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId" Association="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" EntitySet="Authority" />
|
||
<End Role="AppAutho" EntitySet="AppAutho" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" Association="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" EntitySet="Authority" />
|
||
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
|
||
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" Association="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" EntitySet="Authority" />
|
||
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
|
||
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId" Association="Self.FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
|
||
<End Role="UserInfo" EntitySet="UserInfo" />
|
||
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
|
||
</AssociationSet>
|
||
</EntityContainer>
|
||
</Schema></edmx:StorageModels>
|
||
<!-- CSDL content -->
|
||
<edmx:ConceptualModels>
|
||
<Schema Namespace="AuthorityDBModel" Alias="Self" annotation:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:customannotation="http://schemas.microsoft.com/ado/2013/11/edm/customannotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
|
||
<EntityType Name="C__MigrationHistory">
|
||
<Key>
|
||
<PropertyRef Name="MigrationId" />
|
||
<PropertyRef Name="ContextKey" />
|
||
</Key>
|
||
<Property Name="MigrationId" Type="String" MaxLength="150" FixedLength="false" Unicode="true" Nullable="false" />
|
||
<Property Name="ContextKey" Type="String" MaxLength="300" FixedLength="false" Unicode="true" Nullable="false" />
|
||
<Property Name="Model" Type="Binary" MaxLength="Max" FixedLength="false" Nullable="false" />
|
||
<Property Name="ProductVersion" Type="String" MaxLength="32" FixedLength="false" Unicode="true" Nullable="false" />
|
||
</EntityType>
|
||
<EntityType Name="AppAutho">
|
||
<Key>
|
||
<PropertyRef Name="AppId" />
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Key>
|
||
<Property Name="AppId" Type="Int32" Nullable="false" />
|
||
<Property Name="AuthorityId" Type="Int32" Nullable="false" />
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<NavigationProperty Name="Authority" Relationship="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId" FromRole="AppAutho" ToRole="Authority" />
|
||
</EntityType>
|
||
<EntityType Name="Authority">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="AuthorityName" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
|
||
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="IsValid" Type="Int32" />
|
||
<NavigationProperty Name="AppAutho" Relationship="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId" FromRole="Authority" ToRole="AppAutho" />
|
||
<NavigationProperty Name="OrgAuthority" Relationship="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" FromRole="Authority" ToRole="OrgAuthority" />
|
||
<NavigationProperty Name="UserAuthoes" Relationship="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" FromRole="Authority" ToRole="UserAuthoes" />
|
||
<Property Name="AuthoStatusTypeId" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
</EntityType>
|
||
<EntityType Name="AuthoStatusType">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" Nullable="false" />
|
||
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<NavigationProperty Name="OrgAuthority" Relationship="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" FromRole="AuthoStatusType" ToRole="OrgAuthority" />
|
||
<NavigationProperty Name="UserAuthoes" Relationship="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" FromRole="AuthoStatusType" ToRole="UserAuthoes" />
|
||
</EntityType>
|
||
<EntityType Name="DbLog">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Content" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="Uid" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
<Property Name="Type" Type="Int32" Nullable="false" />
|
||
<Property Name="Ip" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
||
<Property Name="Client" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="location" Type="String" MaxLength="150" FixedLength="false" Unicode="true" />
|
||
</EntityType>
|
||
<EntityType Name="Hosts">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="HotelID" Type="Int32" Nullable="false" />
|
||
<Property Name="RoomNumber" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="Status" Type="Int32" Nullable="false" />
|
||
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
<Property Name="RoomStatusID" Type="Int32" />
|
||
</EntityType>
|
||
<EntityType Name="HotelGroups">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Name" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="ParentId" Type="Int32" Nullable="false" />
|
||
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
</EntityType>
|
||
<EntityType Name="OrgAuthority">
|
||
<Key>
|
||
<PropertyRef Name="OrgId" />
|
||
<PropertyRef Name="AuthorityId" />
|
||
<PropertyRef Name="HotelId" />
|
||
</Key>
|
||
<Property Name="OrgId" Type="Int32" Nullable="false" />
|
||
<Property Name="AuthorityId" Type="Int32" Nullable="false" />
|
||
<Property Name="HotelId" Type="Int32" Nullable="false" />
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="AuthotypeId" Type="Int32" Nullable="false" />
|
||
<Property Name="CreateTime" Type="DateTime" Precision="3" />
|
||
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<NavigationProperty Name="Authority" Relationship="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" FromRole="OrgAuthority" ToRole="Authority" />
|
||
<NavigationProperty Name="AuthoStatusType" Relationship="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" FromRole="OrgAuthority" ToRole="AuthoStatusType" />
|
||
</EntityType>
|
||
<EntityType Name="TBL_Multilingual">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Language" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
<Property Name="ApplicationID" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
<Property Name="Version" Type="Int32" />
|
||
</EntityType>
|
||
<EntityType Name="TBL_RCU_InfraredPacket">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Type" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
<Property Name="Brand" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
<Property Name="Model" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
<Property Name="Version" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
<Property Name="CreateDate" Type="DateTime" Precision="3" />
|
||
<Property Name="PacketName" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
<Property Name="PacketData" Type="Binary" MaxLength="Max" FixedLength="false" />
|
||
<Property Name="PacketMD5" Type="String" MaxLength="254" FixedLength="false" Unicode="false" />
|
||
<Property Name="Remark" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
||
<Property Name="OldPacket" Type="Boolean" />
|
||
</EntityType>
|
||
<EntityType Name="UserAuthoes">
|
||
<Key>
|
||
<PropertyRef Name="UserId" />
|
||
<PropertyRef Name="AuthorityId" />
|
||
<PropertyRef Name="HotelId" />
|
||
</Key>
|
||
<Property Name="UserId" Type="Int32" Nullable="false" />
|
||
<Property Name="AuthorityId" Type="Int32" Nullable="false" />
|
||
<Property Name="HotelId" Type="Int32" Nullable="false" />
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="AuthotypeId" Type="Int32" Nullable="false" />
|
||
<Property Name="CreateTime" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<NavigationProperty Name="Authority" Relationship="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" FromRole="UserAuthoes" ToRole="Authority" />
|
||
<NavigationProperty Name="AuthoStatusType" Relationship="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" FromRole="UserAuthoes" ToRole="AuthoStatusType" />
|
||
<NavigationProperty Name="UserInfo" Relationship="AuthorityDBModel.FK_dbo_UserAuthoes_dbo_UserInfo_UserId" FromRole="UserAuthoes" ToRole="UserInfo" />
|
||
</EntityType>
|
||
<EntityType Name="UserLog">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Name" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
</EntityType>
|
||
<EntityType Name="TBL_MultilingualApps">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Application" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
<Property Name="Remark" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
</EntityType>
|
||
<EntityType Name="TBL_MultilingualData">
|
||
<Key>
|
||
<PropertyRef Name="ID" />
|
||
</Key>
|
||
<Property Name="ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="中文" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
<Property Name="English" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
<Property Name="ApplicationID" Type="String" MaxLength="254" FixedLength="false" Unicode="true" />
|
||
</EntityType>
|
||
<Association Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="AppAutho" Type="Self.AppAutho" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="Authority">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="AppAutho">
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="Authority">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="OrgAuthority">
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" Type="Self.Authority" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="Authority">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="UserAuthoes">
|
||
<PropertyRef Name="AuthorityId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="OrgAuthority" Type="Self.OrgAuthority" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="AuthoStatusType">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="OrgAuthority">
|
||
<PropertyRef Name="AuthotypeId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<Association Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" Type="Self.AuthoStatusType" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Role="UserAuthoes" Type="Self.UserAuthoes" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="AuthoStatusType">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="UserAuthoes">
|
||
<PropertyRef Name="AuthotypeId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
<EntityContainer Name="AuthorityDBEntitiesShow" annotation:LazyLoadingEnabled="true">
|
||
<EntitySet Name="C__MigrationHistory" EntityType="Self.C__MigrationHistory" />
|
||
<EntitySet Name="AppAutho" EntityType="Self.AppAutho" />
|
||
<EntitySet Name="Authority" EntityType="Self.Authority" />
|
||
<EntitySet Name="AuthoStatusType" EntityType="Self.AuthoStatusType" />
|
||
<EntitySet Name="DbLog" EntityType="Self.DbLog" />
|
||
<EntitySet Name="Hosts" EntityType="Self.Hosts" />
|
||
<EntitySet Name="HotelGroups" EntityType="Self.HotelGroups" />
|
||
<EntitySet Name="OrgAuthority" EntityType="Self.OrgAuthority" />
|
||
<EntitySet Name="TBL_Multilingual" EntityType="Self.TBL_Multilingual" />
|
||
<EntitySet Name="TBL_RCU_InfraredPacket" EntityType="Self.TBL_RCU_InfraredPacket" />
|
||
<EntitySet Name="UserAuthoes" EntityType="Self.UserAuthoes" />
|
||
<EntitySet Name="UserLog" EntityType="Self.UserLog" />
|
||
<EntitySet Name="TBL_MultilingualApps" EntityType="Self.TBL_MultilingualApps" />
|
||
<EntitySet Name="TBL_MultilingualData" EntityType="Self.TBL_MultilingualData" />
|
||
<AssociationSet Name="FK_dbo_AppAutho_dbo_Authority_AuthorityId" Association="Self.FK_dbo_AppAutho_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" EntitySet="Authority" />
|
||
<End Role="AppAutho" EntitySet="AppAutho" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_Authority_AuthorityId" Association="Self.FK_dbo_OrgAuthority_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" EntitySet="Authority" />
|
||
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_Authority_AuthorityId" Association="Self.FK_dbo_UserAuthoes_dbo_Authority_AuthorityId">
|
||
<End Role="Authority" EntitySet="Authority" />
|
||
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_OrgAuthority_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
|
||
<End Role="OrgAuthority" EntitySet="OrgAuthority" />
|
||
</AssociationSet>
|
||
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId" Association="Self.FK_dbo_UserAuthoes_dbo_AuthoStatusType_AuthotypeId">
|
||
<End Role="AuthoStatusType" EntitySet="AuthoStatusType" />
|
||
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
|
||
</AssociationSet>
|
||
<EntitySet Name="Hotels" EntityType="AuthorityDBModel.Hotels" />
|
||
<EntitySet Name="UserInfo" EntityType="AuthorityDBModel.UserInfo" />
|
||
<AssociationSet Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId" Association="AuthorityDBModel.FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
|
||
<End Role="UserInfo" EntitySet="UserInfo" />
|
||
<End Role="UserAuthoes" EntitySet="UserAuthoes" />
|
||
</AssociationSet>
|
||
</EntityContainer>
|
||
<EntityType Name="Hotels">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" />
|
||
<Property Name="Name" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||
<Property Name="Desc" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
||
<Property Name="GroupId" Type="Int32" Nullable="false" />
|
||
<Property Name="Code" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
||
<Property Name="Status" Type="Int32" Nullable="false" />
|
||
<Property Name="IsApprove" Type="Int32" Nullable="false" />
|
||
<Property Name="CreateTime" Type="DateTime" Nullable="false" Precision="3" />
|
||
</EntityType>
|
||
<EntityType Name="UserInfo">
|
||
<Key>
|
||
<PropertyRef Name="Id" />
|
||
</Key>
|
||
<Property Name="Id" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||
<Property Name="Uid" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||
<Property Name="Pwd" Type="String" Nullable="false" MaxLength="50" FixedLength="false" Unicode="true" />
|
||
<Property Name="PwdSee" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="HeadImg" Type="String" Nullable="false" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="Sex" Type="Int32" Nullable="false" />
|
||
<Property Name="Age" Type="Int32" />
|
||
<Property Name="IsValid" Type="Int32" />
|
||
<Property Name="Desc" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="CreateTime" Type="DateTime" Precision="3" />
|
||
<Property Name="CreatedBy" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||
<Property Name="HotelID" Type="Int32" />
|
||
<Property Name="HotelGroupID" Type="Int32" />
|
||
<Property Name="IsImport" Type="Int32" Nullable="false" />
|
||
<Property Name="Company" Type="Int32" />
|
||
<Property Name="OldId" Type="Int32" />
|
||
<Property Name="EndTime" Type="DateTime" Precision="3" />
|
||
<Property Name="Autho" Type="Int32" Nullable="false" />
|
||
<NavigationProperty Name="UserAuthoes" Relationship="AuthorityDBModel.FK_dbo_UserAuthoes_dbo_UserInfo_UserId" FromRole="UserInfo" ToRole="UserAuthoes" />
|
||
</EntityType>
|
||
<Association Name="FK_dbo_UserAuthoes_dbo_UserInfo_UserId">
|
||
<End Type="AuthorityDBModel.UserInfo" Role="UserInfo" Multiplicity="1">
|
||
<OnDelete Action="Cascade" />
|
||
</End>
|
||
<End Type="AuthorityDBModel.UserAuthoes" Role="UserAuthoes" Multiplicity="*" />
|
||
<ReferentialConstraint>
|
||
<Principal Role="UserInfo">
|
||
<PropertyRef Name="Id" />
|
||
</Principal>
|
||
<Dependent Role="UserAuthoes">
|
||
<PropertyRef Name="UserId" />
|
||
</Dependent>
|
||
</ReferentialConstraint>
|
||
</Association>
|
||
</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="AuthorityDBModelStoreContainer" CdmEntityContainer="AuthorityDBEntitiesShow">
|
||
<EntitySetMapping Name="C__MigrationHistory">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.C__MigrationHistory">
|
||
<MappingFragment StoreEntitySet="__MigrationHistory">
|
||
<ScalarProperty Name="MigrationId" ColumnName="MigrationId" />
|
||
<ScalarProperty Name="ContextKey" ColumnName="ContextKey" />
|
||
<ScalarProperty Name="Model" ColumnName="Model" />
|
||
<ScalarProperty Name="ProductVersion" ColumnName="ProductVersion" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="AppAutho">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.AppAutho">
|
||
<MappingFragment StoreEntitySet="AppAutho">
|
||
<ScalarProperty Name="AppId" ColumnName="AppId" />
|
||
<ScalarProperty Name="AuthorityId" ColumnName="AuthorityId" />
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="Authority">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.Authority">
|
||
<MappingFragment StoreEntitySet="Authority">
|
||
<ScalarProperty Name="AuthoStatusTypeId" ColumnName="AuthoStatusTypeId" />
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="AuthorityName" ColumnName="AuthorityName" />
|
||
<ScalarProperty Name="Desc" ColumnName="Desc" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
||
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="AuthoStatusType">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.AuthoStatusType">
|
||
<MappingFragment StoreEntitySet="AuthoStatusType">
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="Name" ColumnName="Name" />
|
||
<ScalarProperty Name="Desc" ColumnName="Desc" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="DbLog">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.DbLog">
|
||
<MappingFragment StoreEntitySet="DbLog">
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="Content" ColumnName="Content" />
|
||
<ScalarProperty Name="Uid" ColumnName="Uid" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="Type" ColumnName="Type" />
|
||
<ScalarProperty Name="Ip" ColumnName="Ip" />
|
||
<ScalarProperty Name="Client" ColumnName="Client" />
|
||
<ScalarProperty Name="location" ColumnName="location" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="Hosts">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.Hosts">
|
||
<MappingFragment StoreEntitySet="Hosts">
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="HotelID" ColumnName="HotelID" />
|
||
<ScalarProperty Name="RoomNumber" ColumnName="RoomNumber" />
|
||
<ScalarProperty Name="Status" ColumnName="Status" />
|
||
<ScalarProperty Name="Desc" ColumnName="Desc" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="RoomStatusID" ColumnName="RoomStatusID" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="HotelGroups">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.HotelGroups">
|
||
<MappingFragment StoreEntitySet="HotelGroups">
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="Name" ColumnName="Name" />
|
||
<ScalarProperty Name="ParentId" ColumnName="ParentId" />
|
||
<ScalarProperty Name="Desc" ColumnName="Desc" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="OrgAuthority">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.OrgAuthority">
|
||
<MappingFragment StoreEntitySet="OrgAuthority">
|
||
<ScalarProperty Name="OrgId" ColumnName="OrgId" />
|
||
<ScalarProperty Name="AuthorityId" ColumnName="AuthorityId" />
|
||
<ScalarProperty Name="HotelId" ColumnName="HotelId" />
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="AuthotypeId" ColumnName="AuthotypeId" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="TBL_Multilingual">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.TBL_Multilingual">
|
||
<MappingFragment StoreEntitySet="TBL_Multilingual">
|
||
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
<ScalarProperty Name="Language" ColumnName="Language" />
|
||
<ScalarProperty Name="ApplicationID" ColumnName="ApplicationID" />
|
||
<ScalarProperty Name="Version" ColumnName="Version" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="TBL_RCU_InfraredPacket">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.TBL_RCU_InfraredPacket">
|
||
<MappingFragment StoreEntitySet="TBL_RCU_InfraredPacket">
|
||
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
<ScalarProperty Name="Type" ColumnName="Type" />
|
||
<ScalarProperty Name="Brand" ColumnName="Brand" />
|
||
<ScalarProperty Name="Model" ColumnName="Model" />
|
||
<ScalarProperty Name="Version" ColumnName="Version" />
|
||
<ScalarProperty Name="CreateDate" ColumnName="CreateDate" />
|
||
<ScalarProperty Name="PacketName" ColumnName="PacketName" />
|
||
<ScalarProperty Name="PacketData" ColumnName="PacketData" />
|
||
<ScalarProperty Name="PacketMD5" ColumnName="PacketMD5" />
|
||
<ScalarProperty Name="Remark" ColumnName="Remark" />
|
||
<ScalarProperty Name="OldPacket" ColumnName="OldPacket" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="UserAuthoes">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.UserAuthoes">
|
||
<MappingFragment StoreEntitySet="UserAuthoes">
|
||
<ScalarProperty Name="UserId" ColumnName="UserId" />
|
||
<ScalarProperty Name="AuthorityId" ColumnName="AuthorityId" />
|
||
<ScalarProperty Name="HotelId" ColumnName="HotelId" />
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
<ScalarProperty Name="AuthotypeId" ColumnName="AuthotypeId" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="UserLog">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.UserLog">
|
||
<MappingFragment StoreEntitySet="UserLog">
|
||
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
<ScalarProperty Name="Name" ColumnName="Name" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="TBL_MultilingualApps">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.TBL_MultilingualApps">
|
||
<MappingFragment StoreEntitySet="TBL_MultilingualApps">
|
||
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
<ScalarProperty Name="Application" ColumnName="Application" />
|
||
<ScalarProperty Name="Remark" ColumnName="Remark" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="TBL_MultilingualData">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.TBL_MultilingualData">
|
||
<MappingFragment StoreEntitySet="TBL_MultilingualData">
|
||
<ScalarProperty Name="ID" ColumnName="ID" />
|
||
<ScalarProperty Name="中文" ColumnName="中文" />
|
||
<ScalarProperty Name="English" ColumnName="English" />
|
||
<ScalarProperty Name="ApplicationID" ColumnName="ApplicationID" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="Hotels">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.Hotels">
|
||
<MappingFragment StoreEntitySet="Hotels">
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="IsApprove" ColumnName="IsApprove" />
|
||
<ScalarProperty Name="Status" ColumnName="Status" />
|
||
<ScalarProperty Name="Code" ColumnName="Code" />
|
||
<ScalarProperty Name="GroupId" ColumnName="GroupId" />
|
||
<ScalarProperty Name="Desc" ColumnName="Desc" />
|
||
<ScalarProperty Name="Name" ColumnName="Name" />
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
</MappingFragment>
|
||
</EntityTypeMapping>
|
||
</EntitySetMapping>
|
||
<EntitySetMapping Name="UserInfo">
|
||
<EntityTypeMapping TypeName="AuthorityDBModel.UserInfo">
|
||
<MappingFragment StoreEntitySet="UserInfo">
|
||
<ScalarProperty Name="Autho" ColumnName="Autho" />
|
||
<ScalarProperty Name="EndTime" ColumnName="EndTime" />
|
||
<ScalarProperty Name="OldId" ColumnName="OldId" />
|
||
<ScalarProperty Name="Company" ColumnName="Company" />
|
||
<ScalarProperty Name="IsImport" ColumnName="IsImport" />
|
||
<ScalarProperty Name="HotelGroupID" ColumnName="HotelGroupID" />
|
||
<ScalarProperty Name="HotelID" ColumnName="HotelID" />
|
||
<ScalarProperty Name="CreatedBy" ColumnName="CreatedBy" />
|
||
<ScalarProperty Name="CreateTime" ColumnName="CreateTime" />
|
||
<ScalarProperty Name="Desc" ColumnName="Desc" />
|
||
<ScalarProperty Name="IsValid" ColumnName="IsValid" />
|
||
<ScalarProperty Name="Age" ColumnName="Age" />
|
||
<ScalarProperty Name="Sex" ColumnName="Sex" />
|
||
<ScalarProperty Name="HeadImg" ColumnName="HeadImg" />
|
||
<ScalarProperty Name="PwdSee" ColumnName="PwdSee" />
|
||
<ScalarProperty Name="Pwd" ColumnName="Pwd" />
|
||
<ScalarProperty Name="Uid" ColumnName="Uid" />
|
||
<ScalarProperty Name="Id" ColumnName="Id" />
|
||
</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="true" />
|
||
<DesignerProperty Name="UseLegacyProvider" Value="false" />
|
||
<DesignerProperty Name="CodeGenerationStrategy" Value="无" />
|
||
</DesignerInfoPropertySet>
|
||
</Options>
|
||
<!-- Diagram content (shape and connector positions) -->
|
||
<Diagrams></Diagrams>
|
||
</Designer>
|
||
</edmx:Edmx> |