Explorar o código

连接数据库独立出来单独程序集DataCenter

tanghai %!s(int64=13) %!d(string=hai) anos
pai
achega
6e493fe4a6
Modificáronse 100 ficheiros con 519 adicións e 103 borrados
  1. 1 1
      CSharp/App/Config/Config.cs
  2. 17 0
      CSharp/App/DataCenter/App.config
  3. 1 1
      CSharp/App/DataCenter/DataCenter.Context.cs
  4. 0 0
      CSharp/App/DataCenter/DataCenter.Context.tt
  5. 1 1
      CSharp/App/DataCenter/DataCenter.Designer.cs
  6. 0 0
      CSharp/App/DataCenter/DataCenter.cs
  7. 361 0
      CSharp/App/DataCenter/DataCenter.csproj
  8. 0 0
      CSharp/App/DataCenter/DataCenter.edmx
  9. 1 1
      CSharp/App/DataCenter/DataCenter.edmx.diagram
  10. 0 0
      CSharp/App/DataCenter/DataCenter.tt
  11. 6 0
      CSharp/App/DataCenter/Packages.config
  12. 36 0
      CSharp/App/DataCenter/Properties/AssemblyInfo.cs
  13. 1 1
      CSharp/App/DataCenter/t_account.cs
  14. 1 1
      CSharp/App/DataCenter/t_account_active_code.cs
  15. 1 1
      CSharp/App/DataCenter/t_account_login_auth_response_cookie.cs
  16. 1 1
      CSharp/App/DataCenter/t_account_tutorial_status_info.cs
  17. 1 1
      CSharp/App/DataCenter/t_active_code.cs
  18. 1 1
      CSharp/App/DataCenter/t_attribute.cs
  19. 1 1
      CSharp/App/DataCenter/t_auction_item.cs
  20. 1 1
      CSharp/App/DataCenter/t_available_map.cs
  21. 1 1
      CSharp/App/DataCenter/t_battle_gameover_statistic.cs
  22. 1 1
      CSharp/App/DataCenter/t_battle_kill_detail.cs
  23. 1 1
      CSharp/App/DataCenter/t_battle_summary.cs
  24. 1 1
      CSharp/App/DataCenter/t_beginner_group_config.cs
  25. 1 1
      CSharp/App/DataCenter/t_beginner_group_cong.cs
  26. 1 1
      CSharp/App/DataCenter/t_beginner_group_event.cs
  27. 1 1
      CSharp/App/DataCenter/t_celebration_reward.cs
  28. 1 1
      CSharp/App/DataCenter/t_challenge_activity.cs
  29. 1 1
      CSharp/App/DataCenter/t_challenge_activity_schedule.cs
  30. 1 1
      CSharp/App/DataCenter/t_challenge_character_elect_hero.cs
  31. 1 1
      CSharp/App/DataCenter/t_challenge_elect_hero_stat.cs
  32. 1 1
      CSharp/App/DataCenter/t_challenge_exp_buff.cs
  33. 1 1
      CSharp/App/DataCenter/t_challenge_game_player.cs
  34. 1 1
      CSharp/App/DataCenter/t_challenge_guess_game_over.cs
  35. 1 1
      CSharp/App/DataCenter/t_challenge_guess_reward.cs
  36. 1 1
      CSharp/App/DataCenter/t_challenge_kfz_hero.cs
  37. 1 1
      CSharp/App/DataCenter/t_challenge_statue_info.cs
  38. 1 1
      CSharp/App/DataCenter/t_challenge_task_reward.cs
  39. 1 1
      CSharp/App/DataCenter/t_character.cs
  40. 1 1
      CSharp/App/DataCenter/t_character_achievement.cs
  41. 1 1
      CSharp/App/DataCenter/t_character_appearance.cs
  42. 1 1
      CSharp/App/DataCenter/t_character_assets.cs
  43. 1 1
      CSharp/App/DataCenter/t_character_default_fighting_options.cs
  44. 1 1
      CSharp/App/DataCenter/t_character_info.cs
  45. 1 1
      CSharp/App/DataCenter/t_character_item.cs
  46. 1 1
      CSharp/App/DataCenter/t_character_options.cs
  47. 1 1
      CSharp/App/DataCenter/t_character_questionnaire.cs
  48. 1 1
      CSharp/App/DataCenter/t_charge_list.cs
  49. 1 1
      CSharp/App/DataCenter/t_city_buff.cs
  50. 1 1
      CSharp/App/DataCenter/t_city_position.cs
  51. 1 1
      CSharp/App/DataCenter/t_city_task_finish_sub_state.cs
  52. 1 1
      CSharp/App/DataCenter/t_city_task_info.cs
  53. 1 1
      CSharp/App/DataCenter/t_client_config.cs
  54. 1 1
      CSharp/App/DataCenter/t_common_spell.cs
  55. 1 1
      CSharp/App/DataCenter/t_daily_online_time.cs
  56. 1 1
      CSharp/App/DataCenter/t_employ_notice_status.cs
  57. 1 1
      CSharp/App/DataCenter/t_employ_relation.cs
  58. 1 1
      CSharp/App/DataCenter/t_employee_info.cs
  59. 1 1
      CSharp/App/DataCenter/t_employee_notice.cs
  60. 1 1
      CSharp/App/DataCenter/t_employer_notice.cs
  61. 1 1
      CSharp/App/DataCenter/t_fighting_evaluation_info.cs
  62. 1 1
      CSharp/App/DataCenter/t_friend.cs
  63. 1 1
      CSharp/App/DataCenter/t_friend_group.cs
  64. 1 1
      CSharp/App/DataCenter/t_game_hero_use_info.cs
  65. 1 1
      CSharp/App/DataCenter/t_game_info.cs
  66. 1 1
      CSharp/App/DataCenter/t_gs_code.cs
  67. 1 1
      CSharp/App/DataCenter/t_hero_color_scheme.cs
  68. 1 1
      CSharp/App/DataCenter/t_hero_level_state.cs
  69. 1 1
      CSharp/App/DataCenter/t_hero_pet.cs
  70. 1 1
      CSharp/App/DataCenter/t_hero_suggest_equipment.cs
  71. 1 1
      CSharp/App/DataCenter/t_hero_talent_info.cs
  72. 1 1
      CSharp/App/DataCenter/t_hero_talent_info_sub_state.cs
  73. 1 1
      CSharp/App/DataCenter/t_hero_unlock_hero.cs
  74. 1 1
      CSharp/App/DataCenter/t_illegal_term_rules.cs
  75. 1 1
      CSharp/App/DataCenter/t_item_roll_list.cs
  76. 1 1
      CSharp/App/DataCenter/t_login_reward.cs
  77. 1 1
      CSharp/App/DataCenter/t_mail.cs
  78. 1 1
      CSharp/App/DataCenter/t_mail_item.cs
  79. 1 1
      CSharp/App/DataCenter/t_mall_items_sales_count.cs
  80. 1 1
      CSharp/App/DataCenter/t_map_play_info.cs
  81. 1 1
      CSharp/App/DataCenter/t_meta.cs
  82. 1 1
      CSharp/App/DataCenter/t_offline_message.cs
  83. 1 1
      CSharp/App/DataCenter/t_player_offline_message.cs
  84. 1 1
      CSharp/App/DataCenter/t_pve_equipment_scheme.cs
  85. 1 1
      CSharp/App/DataCenter/t_pve_equipment_strength.cs
  86. 1 1
      CSharp/App/DataCenter/t_questionnaire.cs
  87. 1 1
      CSharp/App/DataCenter/t_roll_log.cs
  88. 1 1
      CSharp/App/DataCenter/t_rune_scheme.cs
  89. 1 1
      CSharp/App/DataCenter/t_social_group_basic.cs
  90. 1 1
      CSharp/App/DataCenter/t_social_group_manager.cs
  91. 1 1
      CSharp/App/DataCenter/t_social_group_member.cs
  92. 1 1
      CSharp/App/DataCenter/t_title_info.cs
  93. 1 1
      CSharp/App/DataCenter/t_tran_log.cs
  94. 1 1
      CSharp/App/DataCenter/t_tutorial.cs
  95. 1 1
      CSharp/App/DataCenter/t_tutorial_status_info.cs
  96. 1 1
      CSharp/App/DataCenter/t_world_character.cs
  97. 3 3
      CSharp/App/Editor/Shell.xaml
  98. 1 1
      CSharp/App/Editor/app.config
  99. 7 10
      CSharp/App/Modules/Robot/App.config
  100. 0 1
      CSharp/App/Modules/Robot/Packages.config

+ 1 - 1
CSharp/App/Config/Config.cs

@@ -127,7 +127,7 @@ namespace Modules.Robot
 
 		static Config()
 		{
-			string content = File.ReadAllText("Config.json");
+			string content = File.ReadAllText(@"..\App\Config\Config.json");
 			instance = JsonHelper.FromString<Config>(content);
 		}
 

+ 17 - 0
CSharp/App/DataCenter/App.config

@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+  <configSections>
+    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
+  </configSections>
+  <entityFramework>
+    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
+      <parameters>
+        <parameter value="v11.0" />
+      </parameters>
+    </defaultConnectionFactory>
+  </entityFramework>
+  <connectionStrings>
+    <add name="DataCenterEntities" connectionString="metadata=res://*/DataCenter.csdl|res://*/DataCenter.ssdl|res://*/DataCenter.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=192.168.11.93;user id=tanghai;password=tanghai;persist security info=True;database=tanghai&quot;" providerName="System.Data.EntityClient" />
+  </connectionStrings>
+</configuration>

+ 1 - 1
CSharp/App/Modules/Robot/DataCenter.Context.cs → CSharp/App/DataCenter/DataCenter.Context.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Data.Entity;

+ 0 - 0
CSharp/App/Modules/Robot/DataCenter.Context.tt → CSharp/App/DataCenter/DataCenter.Context.tt


+ 1 - 1
CSharp/App/Modules/Robot/DataCenter.Designer.cs → CSharp/App/DataCenter/DataCenter.Designer.cs

@@ -1,4 +1,4 @@
-// Default code generation is disabled for model 'E:\Source\Egametang\CSharp\App\Modules\Robot\DataCenter.edmx'. 
+// Default code generation is disabled for model 'E:\Source\Egametang\CSharp\App\DataCenter\DataCenter\DataCenter.edmx'. 
 // To enable default code generation, change the value of the 'Code Generation Strategy' designer
 // property to an alternate value. This property is available in the Properties Window when the model is
 // open in the designer.

+ 0 - 0
CSharp/App/Modules/Robot/DataCenter.cs → CSharp/App/DataCenter/DataCenter.cs


+ 361 - 0
CSharp/App/DataCenter/DataCenter.csproj

@@ -0,0 +1,361 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProjectGuid>{A829A025-5E90-4085-8DD4-E3B8C1282635}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <AppDesignerFolder>Properties</AppDesignerFolder>
+    <RootNamespace>DataCenter</RootNamespace>
+    <AssemblyName>DataCenter</AssemblyName>
+    <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\</SolutionDir>
+    <RestorePackages>true</RestorePackages>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <DebugSymbols>true</DebugSymbols>
+    <DebugType>full</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Debug\</OutputPath>
+    <DefineConstants>DEBUG;TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>pdbonly</DebugType>
+    <Optimize>true</Optimize>
+    <OutputPath>bin\Release\</OutputPath>
+    <DefineConstants>TRACE</DefineConstants>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <ItemGroup>
+    <Reference Include="EntityFramework">
+      <HintPath>..\..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
+    </Reference>
+    <Reference Include="MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\packages\MySql.Data.6.5.4\lib\net40\MySql.Data.dll</HintPath>
+    </Reference>
+    <Reference Include="MySql.Data.Entity, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
+      <SpecificVersion>False</SpecificVersion>
+      <HintPath>..\..\packages\MySQL.Data.Entities.6.5.4.0\lib\net40\MySql.Data.Entity.dll</HintPath>
+    </Reference>
+    <Reference Include="System" />
+    <Reference Include="System.ComponentModel.DataAnnotations" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Data.Entity" />
+    <Reference Include="System.Runtime.Serialization" />
+    <Reference Include="System.Security" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Data" />
+    <Reference Include="System.Xml" />
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="DataCenter.Context.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>DataCenter.Context.tt</DependentUpon>
+    </Compile>
+    <Compile Include="DataCenter.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="DataCenter.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>DataCenter.edmx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\AssemblyInfo.cs" />
+    <Compile Include="t_account.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_account_active_code.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_account_login_auth_response_cookie.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_account_tutorial_status_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_active_code.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_attribute.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_auction_item.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_available_map.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_battle_gameover_statistic.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_battle_kill_detail.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_battle_summary.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_beginner_group_config.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_beginner_group_cong.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_beginner_group_event.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_celebration_reward.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_activity.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_activity_schedule.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_character_elect_hero.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_elect_hero_stat.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_exp_buff.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_game_player.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_guess_game_over.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_guess_reward.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_kfz_hero.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_statue_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_challenge_task_reward.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_achievement.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_appearance.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_assets.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_default_fighting_options.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_item.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_options.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_character_questionnaire.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_charge_list.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_city_buff.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_city_position.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_city_task_finish_sub_state.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_city_task_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_client_config.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_common_spell.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_daily_online_time.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_employee_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_employee_notice.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_employer_notice.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_employ_notice_status.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_employ_relation.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_fighting_evaluation_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_friend.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_friend_group.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_game_hero_use_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_game_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_gs_code.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_color_scheme.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_level_state.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_pet.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_suggest_equipment.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_talent_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_talent_info_sub_state.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_hero_unlock_hero.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_illegal_term_rules.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_item_roll_list.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_login_reward.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_mail.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_mail_item.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_mall_items_sales_count.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_map_play_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_meta.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_offline_message.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_player_offline_message.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_pve_equipment_scheme.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_pve_equipment_strength.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_questionnaire.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_roll_log.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_rune_scheme.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_social_group_basic.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_social_group_manager.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_social_group_member.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_title_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_tran_log.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_tutorial.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_tutorial_status_info.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+    <Compile Include="t_world_character.cs">
+      <DependentUpon>DataCenter.tt</DependentUpon>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+    <EntityDeploy Include="DataCenter.edmx">
+      <Generator>EntityModelCodeGenerator</Generator>
+      <LastGenOutput>DataCenter.Designer.cs</LastGenOutput>
+    </EntityDeploy>
+    <None Include="DataCenter.Context.tt">
+      <Generator>TextTemplatingFileGenerator</Generator>
+      <DependentUpon>DataCenter.edmx</DependentUpon>
+      <LastGenOutput>DataCenter.Context.cs</LastGenOutput>
+    </None>
+    <None Include="DataCenter.edmx.diagram">
+      <DependentUpon>DataCenter.edmx</DependentUpon>
+    </None>
+    <None Include="DataCenter.tt">
+      <Generator>TextTemplatingFileGenerator</Generator>
+      <DependentUpon>DataCenter.edmx</DependentUpon>
+      <LastGenOutput>DataCenter.cs</LastGenOutput>
+    </None>
+    <None Include="Packages.config" />
+  </ItemGroup>
+  <ItemGroup>
+    <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
+       Other similar extension points exist, see Microsoft.Common.targets.
+  <Target Name="BeforeBuild">
+  </Target>
+  <Target Name="AfterBuild">
+  </Target>
+  -->
+</Project>

+ 0 - 0
CSharp/App/Modules/Robot/DataCenter.edmx → CSharp/App/DataCenter/DataCenter.edmx


+ 1 - 1
CSharp/App/Modules/Robot/DataCenter.edmx.diagram → CSharp/App/DataCenter/DataCenter.edmx.diagram

@@ -4,7 +4,7 @@
   <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
     <!-- Diagram content (shape and connector positions) -->
     <edmx:Diagrams>
-      <Diagram DiagramId="d60cdc7bf06c4a70b5ebef3dc31d352c" Name="Diagram">
+      <Diagram DiagramId="646f5fee9e9a464ea8816c1d62bee588" Name="Diagram">
         <EntityTypeShape EntityType="DataCenterModel.t_account" Width="1.5" PointX="0.75" PointY="0.75" IsExpanded="true" />
         <EntityTypeShape EntityType="DataCenterModel.t_account_active_code" Width="1.5" PointX="2.75" PointY="0.75" IsExpanded="true" />
         <EntityTypeShape EntityType="DataCenterModel.t_account_login_auth_response_cookie" Width="1.5" PointX="2.75" PointY="3.75" IsExpanded="true" />

+ 0 - 0
CSharp/App/Modules/Robot/DataCenter.tt → CSharp/App/DataCenter/DataCenter.tt


+ 6 - 0
CSharp/App/DataCenter/Packages.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+  <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
+  <package id="MySql.Data" version="6.5.4" targetFramework="net45" />
+  <package id="MySQL.Data.Entities" version="6.5.4.0" targetFramework="net45" />
+</packages>

+ 36 - 0
CSharp/App/DataCenter/Properties/AssemblyInfo.cs

@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// 有关程序集的常规信息通过以下
+// 特性集控制。更改这些特性值可修改
+// 与程序集关联的信息。
+[assembly: AssemblyTitle("DataCenter")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("DataCenter")]
+[assembly: AssemblyCopyright("Copyright ©  2013")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// 将 ComVisible 设置为 false 使此程序集中的类型
+// 对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型,
+// 则将该类型上的 ComVisible 特性设置为 true。
+[assembly: ComVisible(false)]
+
+// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
+[assembly: Guid("eb29252e-4bfe-455b-b174-700157664bb8")]
+
+// 程序集的版本信息由下面四个值组成:
+//
+//      主版本
+//      次版本 
+//      生成号
+//      修订号
+//
+// 可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
+// 方法是按如下所示使用“*”:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 1 - 1
CSharp/App/Modules/Robot/t_account.cs → CSharp/App/DataCenter/t_account.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_account_active_code.cs → CSharp/App/DataCenter/t_account_active_code.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_account_login_auth_response_cookie.cs → CSharp/App/DataCenter/t_account_login_auth_response_cookie.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_account_tutorial_status_info.cs → CSharp/App/DataCenter/t_account_tutorial_status_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_active_code.cs → CSharp/App/DataCenter/t_active_code.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_attribute.cs → CSharp/App/DataCenter/t_attribute.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_auction_item.cs → CSharp/App/DataCenter/t_auction_item.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_available_map.cs → CSharp/App/DataCenter/t_available_map.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_battle_gameover_statistic.cs → CSharp/App/DataCenter/t_battle_gameover_statistic.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_battle_kill_detail.cs → CSharp/App/DataCenter/t_battle_kill_detail.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_battle_summary.cs → CSharp/App/DataCenter/t_battle_summary.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_beginner_group_config.cs → CSharp/App/DataCenter/t_beginner_group_config.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_beginner_group_cong.cs → CSharp/App/DataCenter/t_beginner_group_cong.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_beginner_group_event.cs → CSharp/App/DataCenter/t_beginner_group_event.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_celebration_reward.cs → CSharp/App/DataCenter/t_celebration_reward.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_activity.cs → CSharp/App/DataCenter/t_challenge_activity.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_activity_schedule.cs → CSharp/App/DataCenter/t_challenge_activity_schedule.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_character_elect_hero.cs → CSharp/App/DataCenter/t_challenge_character_elect_hero.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_elect_hero_stat.cs → CSharp/App/DataCenter/t_challenge_elect_hero_stat.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_exp_buff.cs → CSharp/App/DataCenter/t_challenge_exp_buff.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_game_player.cs → CSharp/App/DataCenter/t_challenge_game_player.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_guess_game_over.cs → CSharp/App/DataCenter/t_challenge_guess_game_over.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_guess_reward.cs → CSharp/App/DataCenter/t_challenge_guess_reward.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_kfz_hero.cs → CSharp/App/DataCenter/t_challenge_kfz_hero.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_statue_info.cs → CSharp/App/DataCenter/t_challenge_statue_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_challenge_task_reward.cs → CSharp/App/DataCenter/t_challenge_task_reward.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character.cs → CSharp/App/DataCenter/t_character.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_achievement.cs → CSharp/App/DataCenter/t_character_achievement.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_appearance.cs → CSharp/App/DataCenter/t_character_appearance.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_assets.cs → CSharp/App/DataCenter/t_character_assets.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_default_fighting_options.cs → CSharp/App/DataCenter/t_character_default_fighting_options.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_info.cs → CSharp/App/DataCenter/t_character_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_item.cs → CSharp/App/DataCenter/t_character_item.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_options.cs → CSharp/App/DataCenter/t_character_options.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_character_questionnaire.cs → CSharp/App/DataCenter/t_character_questionnaire.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_charge_list.cs → CSharp/App/DataCenter/t_charge_list.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_city_buff.cs → CSharp/App/DataCenter/t_city_buff.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_city_position.cs → CSharp/App/DataCenter/t_city_position.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_city_task_finish_sub_state.cs → CSharp/App/DataCenter/t_city_task_finish_sub_state.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_city_task_info.cs → CSharp/App/DataCenter/t_city_task_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_client_config.cs → CSharp/App/DataCenter/t_client_config.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_common_spell.cs → CSharp/App/DataCenter/t_common_spell.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_daily_online_time.cs → CSharp/App/DataCenter/t_daily_online_time.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_employ_notice_status.cs → CSharp/App/DataCenter/t_employ_notice_status.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_employ_relation.cs → CSharp/App/DataCenter/t_employ_relation.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_employee_info.cs → CSharp/App/DataCenter/t_employee_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_employee_notice.cs → CSharp/App/DataCenter/t_employee_notice.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_employer_notice.cs → CSharp/App/DataCenter/t_employer_notice.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_fighting_evaluation_info.cs → CSharp/App/DataCenter/t_fighting_evaluation_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_friend.cs → CSharp/App/DataCenter/t_friend.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_friend_group.cs → CSharp/App/DataCenter/t_friend_group.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_game_hero_use_info.cs → CSharp/App/DataCenter/t_game_hero_use_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_game_info.cs → CSharp/App/DataCenter/t_game_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_gs_code.cs → CSharp/App/DataCenter/t_gs_code.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_color_scheme.cs → CSharp/App/DataCenter/t_hero_color_scheme.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_level_state.cs → CSharp/App/DataCenter/t_hero_level_state.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_pet.cs → CSharp/App/DataCenter/t_hero_pet.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_suggest_equipment.cs → CSharp/App/DataCenter/t_hero_suggest_equipment.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_talent_info.cs → CSharp/App/DataCenter/t_hero_talent_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_talent_info_sub_state.cs → CSharp/App/DataCenter/t_hero_talent_info_sub_state.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_hero_unlock_hero.cs → CSharp/App/DataCenter/t_hero_unlock_hero.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_illegal_term_rules.cs → CSharp/App/DataCenter/t_illegal_term_rules.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_item_roll_list.cs → CSharp/App/DataCenter/t_item_roll_list.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_login_reward.cs → CSharp/App/DataCenter/t_login_reward.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_mail.cs → CSharp/App/DataCenter/t_mail.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_mail_item.cs → CSharp/App/DataCenter/t_mail_item.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_mall_items_sales_count.cs → CSharp/App/DataCenter/t_mall_items_sales_count.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_map_play_info.cs → CSharp/App/DataCenter/t_map_play_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_meta.cs → CSharp/App/DataCenter/t_meta.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_offline_message.cs → CSharp/App/DataCenter/t_offline_message.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_player_offline_message.cs → CSharp/App/DataCenter/t_player_offline_message.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_pve_equipment_scheme.cs → CSharp/App/DataCenter/t_pve_equipment_scheme.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_pve_equipment_strength.cs → CSharp/App/DataCenter/t_pve_equipment_strength.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_questionnaire.cs → CSharp/App/DataCenter/t_questionnaire.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_roll_log.cs → CSharp/App/DataCenter/t_roll_log.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_rune_scheme.cs → CSharp/App/DataCenter/t_rune_scheme.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_social_group_basic.cs → CSharp/App/DataCenter/t_social_group_basic.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_social_group_manager.cs → CSharp/App/DataCenter/t_social_group_manager.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_social_group_member.cs → CSharp/App/DataCenter/t_social_group_member.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_title_info.cs → CSharp/App/DataCenter/t_title_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_tran_log.cs → CSharp/App/DataCenter/t_tran_log.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_tutorial.cs → CSharp/App/DataCenter/t_tutorial.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_tutorial_status_info.cs → CSharp/App/DataCenter/t_tutorial_status_info.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 1 - 1
CSharp/App/Modules/Robot/t_world_character.cs → CSharp/App/DataCenter/t_world_character.cs

@@ -7,7 +7,7 @@
 // </auto-generated>
 //------------------------------------------------------------------------------
 
-namespace Modules.Robot
+namespace DataCenter
 {
     using System;
     using System.Collections.Generic;

+ 3 - 3
CSharp/App/Editor/Shell.xaml

@@ -3,8 +3,8 @@
 		xmlns:prism="http://www.codeplex.com/prism" Title="Editor" Height="800" Width="1280"
 		WindowStartupLocation="CenterScreen">
 	<Grid>
-		<ContentControl Name="robot" prism:RegionManager.RegionName="RobotRegion" />
-		<!--<TabControl>
+		<!--<ContentControl Name="robot" prism:RegionManager.RegionName="RobotRegion" />-->
+		<TabControl>
 			<TabItem Height="25" Width="80" Header="机器人">
 				<ContentControl Name="robot" prism:RegionManager.RegionName="RobotRegion" />
 			</TabItem>
@@ -14,6 +14,6 @@
 			<TabItem Height="25" Width="80" Header="外挂">
 				<ContentControl Name="waigua" prism:RegionManager.RegionName="WaiGuaRegion" />
 			</TabItem>
-		</TabControl>-->
+		</TabControl>
 	</Grid>
 </Window>

+ 1 - 1
CSharp/App/Editor/app.config

@@ -12,6 +12,6 @@
 		<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
 	</startup>
 	<connectionStrings>
-		<add name="DataCenterEntities" connectionString="metadata=res://*/DataCenter.csdl|res://*/DataCenter.ssdl|res://*/DataCenter.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=192.168.11.93;user id=tanghai;password=tanghai;persist security info=True;database=tanghai&quot;" providerName="System.Data.EntityClient" />
+		<add name="DataCenterEntities" connectionString="metadata=res://*/DataCenter.csdl|res://*/DataCenter.ssdl|res://*/DataCenter.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=192.168.11.93;user id=tanghai;persist security info=True;database=tanghai&quot;" providerName="System.Data.EntityClient" />
 	</connectionStrings>
 </configuration>

+ 7 - 10
CSharp/App/Modules/Robot/App.config

@@ -1,17 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <configuration>
   <configSections>
-	<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
-	<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
+    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
   </configSections>
   <entityFramework>
-	<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
-	  <parameters>
-		<parameter value="v11.0" />
-	  </parameters>
-	</defaultConnectionFactory>
+    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
+      <parameters>
+        <parameter value="v11.0" />
+      </parameters>
+    </defaultConnectionFactory>
   </entityFramework>
-  <connectionStrings>
-	  <add name="DataCenterEntities" connectionString="metadata=res://*/DataCenter.csdl|res://*/DataCenter.ssdl|res://*/DataCenter.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=192.168.11.93;user id=tanghai;password=tanghai;persist security info=True;database=tanghai&quot;" providerName="System.Data.EntityClient" />
-  </connectionStrings>
 </configuration>

+ 0 - 1
CSharp/App/Modules/Robot/Packages.config

@@ -2,7 +2,6 @@
 <packages>
   <package id="CommonServiceLocator" version="1.0" targetFramework="net45" />
   <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
-  <package id="EntityFramework.zh-Hans" version="5.0.0" targetFramework="net45" />
   <package id="MySql.Data" version="6.5.4" targetFramework="net45" />
   <package id="MySQL.Data.Entities" version="6.5.4.0" targetFramework="net45" />
   <package id="Prism" version="4.1.0.0" targetFramework="net45" />

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio