Procházet zdrojové kódy

1.删除了数据中心,Boss不能直接连接数据库
2.增加了重新登录功能
3.登录帐号密码可配置,登录的时候如果不填帐号密码则使用配置中的帐号密码

tanghai před 13 roky
rodič
revize
f7a4eca92b
100 změnil soubory, kde provedl 63 přidání a 8488 odebrání
  1. 1 6
      CSharp/App/BossBase/BossBase.csproj
  2. 8 0
      CSharp/App/BossBase/ReLoginEvent.cs
  3. 12 19
      CSharp/App/BossClient/BossClient.cs
  4. 2 11
      CSharp/App/BossCommand/ABossCommand.cs
  5. 0 1
      CSharp/App/BossCommand/App.config
  6. 2 19
      CSharp/App/BossCommand/BCAllowBuy.cs
  7. 22 0
      CSharp/App/BossCommand/BCCommand.cs
  8. 4 30
      CSharp/App/BossCommand/BCFindPlayer.cs
  9. 6 34
      CSharp/App/BossCommand/BCForbiddenBuy.cs
  10. 4 5
      CSharp/App/BossCommand/BCReloadWorld.cs
  11. 1 3
      CSharp/App/BossCommand/BCServerInfo.cs
  12. 1 11
      CSharp/App/BossCommand/BossCommand.csproj
  13. 0 4
      CSharp/App/BossCommand/Packages.config
  14. 0 6
      CSharp/App/DataCenter/App.Config
  15. 0 106
      CSharp/App/DataCenter/DataCenter.Context.cs
  16. 0 735
      CSharp/App/DataCenter/DataCenter.Context.tt
  17. 0 4
      CSharp/App/DataCenter/DataCenter.Designer.cs
  18. 0 9
      CSharp/App/DataCenter/DataCenter.cs
  19. 0 341
      CSharp/App/DataCenter/DataCenter.csproj
  20. 0 4031
      CSharp/App/DataCenter/DataCenter.edmx
  21. 0 88
      CSharp/App/DataCenter/DataCenter.edmx.diagram
  22. 0 845
      CSharp/App/DataCenter/DataCenter.tt
  23. 0 7
      CSharp/App/DataCenter/Packages.config
  24. 0 36
      CSharp/App/DataCenter/Properties/AssemblyInfo.cs
  25. 0 29
      CSharp/App/DataCenter/t_account.cs
  26. 0 22
      CSharp/App/DataCenter/t_account_active_code.cs
  27. 0 51
      CSharp/App/DataCenter/t_account_login_auth_response_cookie.cs
  28. 0 24
      CSharp/App/DataCenter/t_active_code.cs
  29. 0 25
      CSharp/App/DataCenter/t_attribute.cs
  30. 0 33
      CSharp/App/DataCenter/t_auction_item.cs
  31. 0 22
      CSharp/App/DataCenter/t_available_map.cs
  32. 0 22
      CSharp/App/DataCenter/t_battle_gameover_statistic.cs
  33. 0 29
      CSharp/App/DataCenter/t_battle_kill_detail.cs
  34. 0 54
      CSharp/App/DataCenter/t_battle_summary.cs
  35. 0 22
      CSharp/App/DataCenter/t_beginner_group_config.cs
  36. 0 24
      CSharp/App/DataCenter/t_beginner_group_cong.cs
  37. 0 24
      CSharp/App/DataCenter/t_beginner_group_event.cs
  38. 0 29
      CSharp/App/DataCenter/t_challenge_activity.cs
  39. 0 27
      CSharp/App/DataCenter/t_challenge_activity_schedule.cs
  40. 0 23
      CSharp/App/DataCenter/t_challenge_character_elect_hero.cs
  41. 0 24
      CSharp/App/DataCenter/t_challenge_elect_hero_stat.cs
  42. 0 28
      CSharp/App/DataCenter/t_challenge_game_player.cs
  43. 0 26
      CSharp/App/DataCenter/t_challenge_guess_game_over.cs
  44. 0 25
      CSharp/App/DataCenter/t_challenge_guess_reward.cs
  45. 0 24
      CSharp/App/DataCenter/t_challenge_kfz_hero.cs
  46. 0 23
      CSharp/App/DataCenter/t_challenge_statue_info.cs
  47. 0 25
      CSharp/App/DataCenter/t_challenge_task_reward.cs
  48. 0 60
      CSharp/App/DataCenter/t_character.cs
  49. 0 27
      CSharp/App/DataCenter/t_character_achievement.cs
  50. 0 39
      CSharp/App/DataCenter/t_character_appearance.cs
  51. 0 24
      CSharp/App/DataCenter/t_character_assets.cs
  52. 0 23
      CSharp/App/DataCenter/t_character_default_fighting_options.cs
  53. 0 38
      CSharp/App/DataCenter/t_character_item.cs
  54. 0 22
      CSharp/App/DataCenter/t_character_options.cs
  55. 0 22
      CSharp/App/DataCenter/t_character_questionnaire.cs
  56. 0 31
      CSharp/App/DataCenter/t_charge_list.cs
  57. 0 26
      CSharp/App/DataCenter/t_city_buff.cs
  58. 0 26
      CSharp/App/DataCenter/t_city_task_finish_sub_state.cs
  59. 0 26
      CSharp/App/DataCenter/t_city_task_info.cs
  60. 0 26
      CSharp/App/DataCenter/t_client_config.cs
  61. 0 23
      CSharp/App/DataCenter/t_common_spell.cs
  62. 0 23
      CSharp/App/DataCenter/t_daily_online_time.cs
  63. 0 22
      CSharp/App/DataCenter/t_employ_notice_status.cs
  64. 0 25
      CSharp/App/DataCenter/t_employ_relation.cs
  65. 0 22
      CSharp/App/DataCenter/t_employee_info.cs
  66. 0 27
      CSharp/App/DataCenter/t_employee_notice.cs
  67. 0 30
      CSharp/App/DataCenter/t_employer_notice.cs
  68. 0 24
      CSharp/App/DataCenter/t_fighting_evaluation_info.cs
  69. 0 23
      CSharp/App/DataCenter/t_friend.cs
  70. 0 22
      CSharp/App/DataCenter/t_friend_ban_match.cs
  71. 0 24
      CSharp/App/DataCenter/t_friend_group.cs
  72. 0 59
      CSharp/App/DataCenter/t_game_hero_use_info.cs
  73. 0 70
      CSharp/App/DataCenter/t_game_info.cs
  74. 0 25
      CSharp/App/DataCenter/t_gs_code.cs
  75. 0 28
      CSharp/App/DataCenter/t_hero_color_scheme.cs
  76. 0 24
      CSharp/App/DataCenter/t_hero_level_state.cs
  77. 0 31
      CSharp/App/DataCenter/t_hero_pet.cs
  78. 0 30
      CSharp/App/DataCenter/t_hero_suggest_equipment.cs
  79. 0 25
      CSharp/App/DataCenter/t_hero_unlock_hero.cs
  80. 0 20
      CSharp/App/DataCenter/t_illegal_term_rules.cs
  81. 0 42
      CSharp/App/DataCenter/t_item_roll_list.cs
  82. 0 23
      CSharp/App/DataCenter/t_login_reward.cs
  83. 0 35
      CSharp/App/DataCenter/t_mail.cs
  84. 0 23
      CSharp/App/DataCenter/t_mail_item.cs
  85. 0 22
      CSharp/App/DataCenter/t_mall_items_sales_count.cs
  86. 0 34
      CSharp/App/DataCenter/t_map_play_info.cs
  87. 0 24
      CSharp/App/DataCenter/t_map_play_info_hero.cs
  88. 0 25
      CSharp/App/DataCenter/t_map_play_info_hero_pet.cs
  89. 0 20
      CSharp/App/DataCenter/t_meta.cs
  90. 0 24
      CSharp/App/DataCenter/t_offline_message.cs
  91. 0 33
      CSharp/App/DataCenter/t_pve_equipment_scheme.cs
  92. 0 23
      CSharp/App/DataCenter/t_pve_equipment_strength.cs
  93. 0 22
      CSharp/App/DataCenter/t_questionnaire.cs
  94. 0 38
      CSharp/App/DataCenter/t_rune_scheme.cs
  95. 0 29
      CSharp/App/DataCenter/t_social_group_basic.cs
  96. 0 22
      CSharp/App/DataCenter/t_social_group_manager.cs
  97. 0 22
      CSharp/App/DataCenter/t_social_group_member.cs
  98. 0 24
      CSharp/App/DataCenter/t_title_info.cs
  99. 0 23
      CSharp/App/DataCenter/t_treasure.cs
  100. 0 27
      CSharp/App/DataCenter/t_tutorial.cs

+ 1 - 6
CSharp/App/BossBase/BossBase.csproj

@@ -42,6 +42,7 @@
   <ItemGroup>
     <Compile Include="CommonDefines.cs" />
     <Compile Include="IMessageChannel.cs" />
+    <Compile Include="ReLoginEvent.cs" />
     <Compile Include="LoginOKEvent.cs" />
     <Compile Include="Messages.cs" />
     <Compile Include="Properties\AssemblyInfo.cs" />
@@ -49,12 +50,6 @@
   <ItemGroup>
     <None Include="Packages.config" />
   </ItemGroup>
-  <ItemGroup>
-    <ProjectReference Include="..\DataCenter\DataCenter.csproj">
-      <Project>{A829A025-5E90-4085-8DD4-E3B8C1282635}</Project>
-      <Name>DataCenter</Name>
-    </ProjectReference>
-  </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. 

+ 8 - 0
CSharp/App/BossBase/ReLoginEvent.cs

@@ -0,0 +1,8 @@
+using Microsoft.Practices.Prism.Events;
+
+namespace BossBase
+{
+	public class ReLoginEvent : CompositePresentationEvent<object>
+	{
+	}
+}

+ 12 - 19
CSharp/App/BossClient/BossClient.cs

@@ -34,27 +34,20 @@ namespace BossClient
 		{
 			int loginSessionId = ++this.sessionId;
 
-			try
+			// 登录realm
+			var tcpClient = new TcpClient();
+			await tcpClient.ConnectAsync(hostName, port);
+			Tuple<string, ushort, SRP6Client> realmInfo = null; // ip, port, K
+			using (var realmSession = new RealmSession(loginSessionId, new TcpChannel(tcpClient)))
 			{
-				// 登录realm
-				var tcpClient = new TcpClient();
-				await tcpClient.ConnectAsync(hostName, port);
-				Tuple<string, ushort, SRP6Client> realmInfo = null; // ip, port, K
-				using (var realmSession = new RealmSession(loginSessionId, new TcpChannel(tcpClient)))
-				{
-					realmInfo = await realmSession.Login(account, password);
-					Logger.Trace("session: {0}, login success!", realmSession.ID);
-				}
-
-				// 登录gate
-				Peer peer = await this.clientHost.ConnectAsync(realmInfo.Item1, realmInfo.Item2);
-				this.GateSession = new GateSession(loginSessionId, new ENetChannel(peer));
-				await this.GateSession.Login(realmInfo.Item3);
-			}
-			catch (Exception e)
-			{
-				Logger.Trace("session: {0}, exception: {1}", loginSessionId, e.ToString());
+				realmInfo = await realmSession.Login(account, password);
+				Logger.Trace("session: {0}, login success!", realmSession.ID);
 			}
+
+			// 登录gate
+			Peer peer = await this.clientHost.ConnectAsync(realmInfo.Item1, realmInfo.Item2);
+			this.GateSession = new GateSession(loginSessionId, new ENetChannel(peer));
+			await this.GateSession.Login(realmInfo.Item3);
 		}
 	}
 }

+ 2 - 11
CSharp/App/BossCommand/ABossCommand.cs

@@ -1,7 +1,6 @@
 using System;
 using System.Threading.Tasks;
 using BossBase;
-using DataCenter;
 using Helper;
 using Log;
 
@@ -10,8 +9,6 @@ namespace BossCommand
 	public abstract class ABossCommand
 	{
 		protected IMessageChannel IMessageChannel { get; set; }
-		protected DataCenterEntities Entities { get; set; }
-
 
 		protected void SendMessage(CMSG_Boss_Gm cmsgBossGm)
 		{
@@ -36,10 +33,9 @@ namespace BossCommand
 			}
 		}
 
-		protected ABossCommand(IMessageChannel iMessageChannel, DataCenterEntities entities)
+		protected ABossCommand(IMessageChannel iMessageChannel)
 		{
 			this.IMessageChannel = iMessageChannel;
-			this.Entities = entities;
 		}
 
 		public virtual Task<object> DoAsync()
@@ -47,12 +43,7 @@ namespace BossCommand
 			throw new NotImplementedException();
 		}
 
-		public virtual object Do()
-		{
-			throw new NotImplementedException();
-		}
-
-		public void Undo()
+		public void UndoAsync()
 		{
 			throw new NotImplementedException();
 		}

+ 0 - 1
CSharp/App/BossCommand/App.config

@@ -1,7 +1,6 @@
 <?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" />
   </configSections>
   <entityFramework>

+ 2 - 19
CSharp/App/BossCommand/BCAllowBuy.cs

@@ -1,14 +1,11 @@
-using System.Linq;
-using System.Threading.Tasks;
+using System.Threading.Tasks;
 using BossBase;
-using DataCenter;
 
 namespace BossCommand
 {
 	public class BCAllowBuy: ABossCommand
 	{
-		public BCAllowBuy(IMessageChannel iMessageChannel, DataCenterEntities entities): 
-			base(iMessageChannel, entities)
+		public BCAllowBuy(IMessageChannel iMessageChannel): base(iMessageChannel)
 		{
 		}
 
@@ -25,20 +22,6 @@ namespace BossCommand
 			{
 				return ErrorCode.RESPONSE_SUCCESS;
 			}
-			if (smsgBossCommandResponse.ErrorCode == ErrorCode.BOSS_PLAYER_NOT_FOUND)
-			{
-				decimal character_guid = decimal.Parse(this.Guid);
-				var removeBuffs = Entities.t_city_buff.Where(
-					c => c.buff_id == BuffId.BUFF_FORBIDDEN_PLAYER_BUY_ITEM &&
-						c.character_guid == character_guid);
-				foreach (var removeBuff in removeBuffs)
-				{
-					Entities.t_city_buff.Remove(removeBuff);
-				}
-				Entities.SaveChanges();
-
-				return ErrorCode.RESPONSE_SUCCESS;
-			}
 			return smsgBossCommandResponse.ErrorCode;
 		}
 	}

+ 22 - 0
CSharp/App/BossCommand/BCCommand.cs

@@ -0,0 +1,22 @@
+using System.Threading.Tasks;
+using BossBase;
+
+namespace BossCommand
+{
+	public class BCCommand : ABossCommand
+	{
+		public string Command { get; set; }
+
+		public BCCommand(IMessageChannel iMessageChannel) : base(iMessageChannel)
+		{
+		}
+
+		public override async Task<object> DoAsync()
+		{
+			this.SendMessage(new CMSG_Boss_Gm { Message = this.Command });
+
+			var smsgBossCommandResponse = await this.RecvMessage<SMSG_Boss_Command_Response>();
+			return smsgBossCommandResponse.ErrorCode;
+		}
+	}
+}

+ 4 - 30
CSharp/App/BossCommand/BCFindPlayer.cs

@@ -1,14 +1,11 @@
-using System;
-using System.Linq;
+using System.Threading.Tasks;
 using BossBase;
-using DataCenter;
 
 namespace BossCommand
 {
 	public class BCFindPlayer: ABossCommand
 	{
-		public BCFindPlayer(IMessageChannel iMessageChannel, DataCenterEntities entities): 
-			base(iMessageChannel, entities)
+		public BCFindPlayer(IMessageChannel iMessageChannel): base(iMessageChannel)
 		{
 		}
 
@@ -16,32 +13,9 @@ namespace BossCommand
 
 		public string FindType { get; set; }
 
-		public override object Do()
+		public override Task<object> DoAsync()
 		{
-			t_character result = null;
-			switch (this.FindTypeIndex)
-			{
-				case 0:
-				{
-					result = Entities.t_character.FirstOrDefault(
-						c => c.account == this.FindType);
-					break;
-				}
-				case 1:
-				{
-					result = Entities.t_character.FirstOrDefault(
-						c => c.character_name == this.FindType);
-					break;
-				}
-				case 2:
-				{
-					var findGuid = Decimal.Parse(this.FindType);
-					result = Entities.t_character.FirstOrDefault(
-						c => c.character_guid == findGuid);
-					break;
-				}
-			}
-			return result;
+			return null;
 		}
 	}
 }

+ 6 - 34
CSharp/App/BossCommand/BCForbiddenBuy.cs

@@ -1,55 +1,27 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Threading.Tasks;
+using System.Threading.Tasks;
 using BossBase;
-using DataCenter;
-using Helper;
 
 namespace BossCommand
 {
 	public class BCForbiddenBuy: ABossCommand
 	{
-		public BCForbiddenBuy(IMessageChannel iMessageChannel, DataCenterEntities entities): 
-			base(iMessageChannel, entities)
+		public BCForbiddenBuy(IMessageChannel iMessageChannel): base(iMessageChannel)
 		{
 		}
 
 		public string Guid { get; set; }
 		public override async Task<object> DoAsync()
 		{
-			this.SendMessage(new CMSG_Boss_Gm { Message = string.Format("forbidden_buy_item {0} {1}", this.Guid, 365 * 24 * 3600) });
+			this.SendMessage(new CMSG_Boss_Gm
+			{
+				Message = string.Format("forbidden_buy_item {0} {1}", this.Guid, 365 * 24 * 3600)
+			});
 
 			var smsgBossCommandResponse = await this.RecvMessage<SMSG_Boss_Command_Response>();
 			if (smsgBossCommandResponse.ErrorCode == ErrorCode.RESPONSE_SUCCESS)
 			{
 				return ErrorCode.RESPONSE_SUCCESS;
 			}
-			if (smsgBossCommandResponse.ErrorCode == ErrorCode.BOSS_PLAYER_NOT_FOUND)
-			{
-				decimal character_guid = decimal.Parse(this.Guid);
-				var removeBuffs = Entities.t_city_buff.Where(
-					c => c.buff_id == BuffId.BUFF_FORBIDDEN_PLAYER_BUY_ITEM &&
-						c.character_guid == character_guid);
-				foreach (var removeBuff in removeBuffs)
-				{
-					Entities.t_city_buff.Remove(removeBuff);
-				}
-				var newBuff = new t_city_buff
-				{
-					buff_guid = RandomHelper.RandUInt64(),
-					buff_id = BuffId.BUFF_FORBIDDEN_PLAYER_BUY_ITEM,
-					buff_time = 0,
-					buff_values = "{}".ToByteArray(),
-					character_guid = decimal.Parse(this.Guid),
-					create_time = DateTime.Now,
-					modify_time = DateTime.Now,
-					stack = 1
-				};
-				Entities.t_city_buff.Add(newBuff);
-				Entities.SaveChanges();
-				return ErrorCode.RESPONSE_SUCCESS;
-			}
 			return smsgBossCommandResponse.ErrorCode;
 		}
 	}

+ 4 - 5
CSharp/App/BossCommand/BCReloadWorld.cs

@@ -1,16 +1,15 @@
-using BossBase;
-using DataCenter;
+using System.Threading.Tasks;
+using BossBase;
 
 namespace BossCommand
 {
 	public class BCReloadWorld: ABossCommand
 	{
-		public BCReloadWorld(IMessageChannel iMessageChannel, DataCenterEntities entities): 
-			base(iMessageChannel, entities)
+		public BCReloadWorld(IMessageChannel iMessageChannel): base(iMessageChannel)
 		{
 		}
 
-		public override object Do()
+		public override Task<object> DoAsync()
 		{
 			this.SendMessage(new CMSG_Boss_Gm { Message = "reload" });
 			return null;

+ 1 - 3
CSharp/App/BossCommand/BCServerInfo.cs

@@ -1,13 +1,11 @@
 using System.Threading.Tasks;
 using BossBase;
-using DataCenter;
 
 namespace BossCommand
 {
 	public class BCServerInfo: ABossCommand
 	{
-		public BCServerInfo(IMessageChannel iMessageChannel, DataCenterEntities entities): 
-			base(iMessageChannel, entities)
+		public BCServerInfo(IMessageChannel iMessageChannel): base(iMessageChannel)
 		{
 		}
 

+ 1 - 11
CSharp/App/BossCommand/BossCommand.csproj

@@ -32,18 +32,13 @@
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="EntityFramework">
-      <HintPath>..\..\packages\EntityFramework.5.0.0\lib\net45\EntityFramework.dll</HintPath>
-    </Reference>
-    <Reference Include="Microsoft.Practices.Prism, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
-    <Reference Include="Microsoft.Practices.Prism.MefExtensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" />
     <Reference Include="System" />
-    <Reference Include="System.ComponentModel.Composition" />
     <Reference Include="System.Core" />
   </ItemGroup>
   <ItemGroup>
     <Compile Include="ABossCommand.cs" />
     <Compile Include="BCAllowBuy.cs" />
+    <Compile Include="BCCommand.cs" />
     <Compile Include="BCFindPlayer.cs" />
     <Compile Include="BCServerInfo.cs" />
     <Compile Include="BCReloadWorld.cs" />
@@ -63,14 +58,9 @@
       <Project>{999910D3-4E7D-45B1-BD2C-47289CD4D1AB}</Project>
       <Name>BossBase</Name>
     </ProjectReference>
-    <ProjectReference Include="..\DataCenter\DataCenter.csproj">
-      <Project>{A829A025-5E90-4085-8DD4-E3B8C1282635}</Project>
-      <Name>DataCenter</Name>
-    </ProjectReference>
   </ItemGroup>
   <ItemGroup>
     <None Include="App.config" />
-    <None Include="Packages.config" />
   </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
   <Import Project="$(SolutionDir)\.nuget\nuget.targets" />

+ 0 - 4
CSharp/App/BossCommand/Packages.config

@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
-  <package id="EntityFramework" version="5.0.0" targetFramework="net45" />
-</packages>

+ 0 - 6
CSharp/App/DataCenter/App.Config

@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<configuration>
-  <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 - 106
CSharp/App/DataCenter/DataCenter.Context.cs

@@ -1,106 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Data.Entity;
-    using System.Data.Entity.Infrastructure;
-    
-    public partial class DataCenterEntities : DbContext
-    {
-        public DataCenterEntities()
-            : base("name=DataCenterEntities")
-        {
-        }
-    
-        protected override void OnModelCreating(DbModelBuilder modelBuilder)
-        {
-            throw new UnintentionalCodeFirstException();
-        }
-    
-        public DbSet<t_account> t_account { get; set; }
-        public DbSet<t_account_active_code> t_account_active_code { get; set; }
-        public DbSet<t_account_login_auth_response_cookie> t_account_login_auth_response_cookie { get; set; }
-        public DbSet<t_active_code> t_active_code { get; set; }
-        public DbSet<t_attribute> t_attribute { get; set; }
-        public DbSet<t_auction_item> t_auction_item { get; set; }
-        public DbSet<t_available_map> t_available_map { get; set; }
-        public DbSet<t_battle_gameover_statistic> t_battle_gameover_statistic { get; set; }
-        public DbSet<t_battle_kill_detail> t_battle_kill_detail { get; set; }
-        public DbSet<t_battle_summary> t_battle_summary { get; set; }
-        public DbSet<t_beginner_group_config> t_beginner_group_config { get; set; }
-        public DbSet<t_beginner_group_cong> t_beginner_group_cong { get; set; }
-        public DbSet<t_beginner_group_event> t_beginner_group_event { get; set; }
-        public DbSet<t_challenge_activity> t_challenge_activity { get; set; }
-        public DbSet<t_challenge_activity_schedule> t_challenge_activity_schedule { get; set; }
-        public DbSet<t_challenge_character_elect_hero> t_challenge_character_elect_hero { get; set; }
-        public DbSet<t_challenge_elect_hero_stat> t_challenge_elect_hero_stat { get; set; }
-        public DbSet<t_challenge_game_player> t_challenge_game_player { get; set; }
-        public DbSet<t_challenge_guess_game_over> t_challenge_guess_game_over { get; set; }
-        public DbSet<t_challenge_guess_reward> t_challenge_guess_reward { get; set; }
-        public DbSet<t_challenge_kfz_hero> t_challenge_kfz_hero { get; set; }
-        public DbSet<t_challenge_statue_info> t_challenge_statue_info { get; set; }
-        public DbSet<t_challenge_task_reward> t_challenge_task_reward { get; set; }
-        public DbSet<t_character> t_character { get; set; }
-        public DbSet<t_character_achievement> t_character_achievement { get; set; }
-        public DbSet<t_character_appearance> t_character_appearance { get; set; }
-        public DbSet<t_character_assets> t_character_assets { get; set; }
-        public DbSet<t_character_default_fighting_options> t_character_default_fighting_options { get; set; }
-        public DbSet<t_character_item> t_character_item { get; set; }
-        public DbSet<t_character_options> t_character_options { get; set; }
-        public DbSet<t_character_questionnaire> t_character_questionnaire { get; set; }
-        public DbSet<t_charge_list> t_charge_list { get; set; }
-        public DbSet<t_city_buff> t_city_buff { get; set; }
-        public DbSet<t_city_task_finish_sub_state> t_city_task_finish_sub_state { get; set; }
-        public DbSet<t_city_task_info> t_city_task_info { get; set; }
-        public DbSet<t_client_config> t_client_config { get; set; }
-        public DbSet<t_common_spell> t_common_spell { get; set; }
-        public DbSet<t_daily_online_time> t_daily_online_time { get; set; }
-        public DbSet<t_employ_notice_status> t_employ_notice_status { get; set; }
-        public DbSet<t_employ_relation> t_employ_relation { get; set; }
-        public DbSet<t_employee_info> t_employee_info { get; set; }
-        public DbSet<t_employee_notice> t_employee_notice { get; set; }
-        public DbSet<t_employer_notice> t_employer_notice { get; set; }
-        public DbSet<t_fighting_evaluation_info> t_fighting_evaluation_info { get; set; }
-        public DbSet<t_friend> t_friend { get; set; }
-        public DbSet<t_friend_ban_match> t_friend_ban_match { get; set; }
-        public DbSet<t_friend_group> t_friend_group { get; set; }
-        public DbSet<t_game_hero_use_info> t_game_hero_use_info { get; set; }
-        public DbSet<t_game_info> t_game_info { get; set; }
-        public DbSet<t_gs_code> t_gs_code { get; set; }
-        public DbSet<t_hero_color_scheme> t_hero_color_scheme { get; set; }
-        public DbSet<t_hero_level_state> t_hero_level_state { get; set; }
-        public DbSet<t_hero_pet> t_hero_pet { get; set; }
-        public DbSet<t_hero_suggest_equipment> t_hero_suggest_equipment { get; set; }
-        public DbSet<t_hero_unlock_hero> t_hero_unlock_hero { get; set; }
-        public DbSet<t_illegal_term_rules> t_illegal_term_rules { get; set; }
-        public DbSet<t_item_roll_list> t_item_roll_list { get; set; }
-        public DbSet<t_login_reward> t_login_reward { get; set; }
-        public DbSet<t_mail> t_mail { get; set; }
-        public DbSet<t_mail_item> t_mail_item { get; set; }
-        public DbSet<t_mall_items_sales_count> t_mall_items_sales_count { get; set; }
-        public DbSet<t_map_play_info> t_map_play_info { get; set; }
-        public DbSet<t_map_play_info_hero> t_map_play_info_hero { get; set; }
-        public DbSet<t_map_play_info_hero_pet> t_map_play_info_hero_pet { get; set; }
-        public DbSet<t_meta> t_meta { get; set; }
-        public DbSet<t_offline_message> t_offline_message { get; set; }
-        public DbSet<t_pve_equipment_scheme> t_pve_equipment_scheme { get; set; }
-        public DbSet<t_pve_equipment_strength> t_pve_equipment_strength { get; set; }
-        public DbSet<t_questionnaire> t_questionnaire { get; set; }
-        public DbSet<t_rune_scheme> t_rune_scheme { get; set; }
-        public DbSet<t_social_group_basic> t_social_group_basic { get; set; }
-        public DbSet<t_social_group_manager> t_social_group_manager { get; set; }
-        public DbSet<t_social_group_member> t_social_group_member { get; set; }
-        public DbSet<t_title_info> t_title_info { get; set; }
-        public DbSet<t_treasure> t_treasure { get; set; }
-        public DbSet<t_tutorial> t_tutorial { get; set; }
-        public DbSet<t_tutorial_status_info> t_tutorial_status_info { get; set; }
-    }
-}

+ 0 - 735
CSharp/App/DataCenter/DataCenter.Context.tt

@@ -1,735 +0,0 @@
-<#@ template language="C#" debug="false" hostspecific="true"#>
-<#@ include file="EF.Utility.CS.ttinclude"#><#@
- output extension=".cs"#><#
-
-const string inputFile = @"DataCenter.edmx";
-var textTransform = DynamicTextTransformation.Create(this);
-var code = new CodeGenerationTools(this);
-var ef = new MetadataTools(this);
-var typeMapper = new TypeMapper(code, ef, textTransform.Errors);
-var loader = new EdmMetadataLoader(textTransform.Host, textTransform.Errors);
-var itemCollection = loader.CreateEdmItemCollection(inputFile);
-var modelNamespace = loader.GetModelNamespace(inputFile);
-var codeStringGenerator = new CodeStringGenerator(code, typeMapper, ef);
-
-var container = itemCollection.OfType<EntityContainer>().FirstOrDefault();
-if (container == null)
-{
-    return string.Empty;
-}
-#>
-//------------------------------------------------------------------------------
-// <auto-generated>
-// <#=GetResourceString("Template_GeneratedCodeCommentLine1")#>
-//
-// <#=GetResourceString("Template_GeneratedCodeCommentLine2")#>
-// <#=GetResourceString("Template_GeneratedCodeCommentLine3")#>
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-<#
-
-var codeNamespace = code.VsNamespaceSuggestion();
-if (!String.IsNullOrEmpty(codeNamespace))
-{
-#>
-namespace <#=code.EscapeNamespace(codeNamespace)#>
-{
-<#
-    PushIndent("    ");
-}
-
-#>
-using System;
-using System.Data.Entity;
-using System.Data.Entity.Infrastructure;
-<#
-if (container.FunctionImports.Any())
-{
-#>
-using System.Data.Objects;
-using System.Data.Objects.DataClasses;
-using System.Linq;
-<#
-}
-#>
-
-<#=Accessibility.ForType(container)#> partial class <#=code.Escape(container)#> : DbContext
-{
-    public <#=code.Escape(container)#>()
-        : base("name=<#=container.Name#>")
-    {
-<#
-if (!loader.IsLazyLoadingEnabled(container))
-{
-#>
-        this.Configuration.LazyLoadingEnabled = false;
-<#
-}
-#>
-    }
-
-    protected override void OnModelCreating(DbModelBuilder modelBuilder)
-    {
-        throw new UnintentionalCodeFirstException();
-    }
-
-<#
-    foreach (var entitySet in container.BaseEntitySets.OfType<EntitySet>())
-    {
-#>
-    <#=codeStringGenerator.DbSet(entitySet)#>
-<#
-    }
-
-    foreach (var edmFunction in container.FunctionImports)
-    {
-        WriteFunctionImport(typeMapper, codeStringGenerator, edmFunction, modelNamespace, includeMergeOption: false);
-    }
-#>
-}
-<#
-
-if (!String.IsNullOrEmpty(codeNamespace))
-{
-    PopIndent();
-#>
-}
-<#
-}
-#>
-<#+
-
-private void WriteFunctionImport(TypeMapper typeMapper, CodeStringGenerator codeStringGenerator, EdmFunction edmFunction, string modelNamespace, bool includeMergeOption)
-{
-    if (typeMapper.IsComposable(edmFunction))
-    {
-#>
-
-    [EdmFunction("<#=edmFunction.NamespaceName#>", "<#=edmFunction.Name#>")]
-    <#=codeStringGenerator.ComposableFunctionMethod(edmFunction, modelNamespace)#>
-    {
-<#+
-        codeStringGenerator.WriteFunctionParameters(edmFunction, WriteFunctionParameter);
-#>
-        <#=codeStringGenerator.ComposableCreateQuery(edmFunction, modelNamespace)#>
-    }
-<#+
-    }
-    else
-    {
-#>
-
-    <#=codeStringGenerator.FunctionMethod(edmFunction, modelNamespace, includeMergeOption)#>
-    {
-<#+
-        codeStringGenerator.WriteFunctionParameters(edmFunction, WriteFunctionParameter);
-#>
-        <#=codeStringGenerator.ExecuteFunction(edmFunction, modelNamespace, includeMergeOption)#>
-    }
-<#+
-        if (typeMapper.GenerateMergeOptionFunction(edmFunction, includeMergeOption))
-        {
-            WriteFunctionImport(typeMapper, codeStringGenerator, edmFunction, modelNamespace, includeMergeOption: true);
-        }
-    }
-}
-
-public void WriteFunctionParameter(string name, string isNotNull, string notNullInit, string nullInit)
-{
-#>
-        var <#=name#> = <#=isNotNull#> ?
-            <#=notNullInit#> :
-            <#=nullInit#>;
-
-<#+
-}
-
-public const string TemplateId = "CSharp_DbContext_Context_EF5";
-
-public class CodeStringGenerator
-{
-    private readonly CodeGenerationTools _code;
-    private readonly TypeMapper _typeMapper;
-    private readonly MetadataTools _ef;
-
-    public CodeStringGenerator(CodeGenerationTools code, TypeMapper typeMapper, MetadataTools ef)
-    {
-        ArgumentNotNull(code, "code");
-        ArgumentNotNull(typeMapper, "typeMapper");
-        ArgumentNotNull(ef, "ef");
-
-        _code = code;
-        _typeMapper = typeMapper;
-        _ef = ef;
-    }
-
-    public string Property(EdmProperty edmProperty)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1} {2} {{ {3}get; {4}set; }}",
-            Accessibility.ForProperty(edmProperty),
-            _typeMapper.GetTypeName(edmProperty.TypeUsage),
-            _code.Escape(edmProperty),
-            _code.SpaceAfter(Accessibility.ForGetter(edmProperty)),
-            _code.SpaceAfter(Accessibility.ForSetter(edmProperty)));
-    }
-
-    public string NavigationProperty(NavigationProperty navigationProperty)
-    {
-        var endType = _typeMapper.GetTypeName(navigationProperty.ToEndMember.GetEntityType());
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1} {2} {{ {3}get; {4}set; }}",
-            AccessibilityAndVirtual(Accessibility.ForProperty(navigationProperty)),
-            navigationProperty.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many ? ("ICollection<" + endType + ">") : endType,
-            _code.Escape(navigationProperty),
-            _code.SpaceAfter(Accessibility.ForGetter(navigationProperty)),
-            _code.SpaceAfter(Accessibility.ForSetter(navigationProperty)));
-    }
-    
-    public string AccessibilityAndVirtual(string accessibility)
-    {
-        return accessibility + (accessibility != "private" ? " virtual" : "");
-    }
-    
-    public string EntityClassOpening(EntityType entity)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1}partial class {2}{3}",
-            Accessibility.ForType(entity),
-            _code.SpaceAfter(_code.AbstractOption(entity)),
-            _code.Escape(entity),
-            _code.StringBefore(" : ", _typeMapper.GetTypeName(entity.BaseType)));
-    }
-    
-    public string EnumOpening(SimpleType enumType)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} enum {1} : {2}",
-            Accessibility.ForType(enumType),
-            _code.Escape(enumType),
-            _code.Escape(_typeMapper.UnderlyingClrType(enumType)));
-        }
-    
-    public void WriteFunctionParameters(EdmFunction edmFunction, Action<string, string, string, string> writeParameter)
-    {
-        var parameters = FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef);
-        foreach (var parameter in parameters.Where(p => p.NeedsLocalVariable))
-        {
-            var isNotNull = parameter.IsNullableOfT ? parameter.FunctionParameterName + ".HasValue" : parameter.FunctionParameterName + " != null";
-            var notNullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", " + parameter.FunctionParameterName + ")";
-            var nullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", typeof(" + parameter.RawClrTypeName + "))";
-            writeParameter(parameter.LocalVariableName, isNotNull, notNullInit, nullInit);
-        }
-    }
-    
-    public string ComposableFunctionMethod(EdmFunction edmFunction, string modelNamespace)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} IQueryable<{1}> {2}({3})",
-            AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)),
-            _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace),
-            _code.Escape(edmFunction),
-            string.Join(", ", parameters.Select(p => p.FunctionParameterType + " " + p.FunctionParameterName).ToArray()));
-    }
-    
-    public string ComposableCreateQuery(EdmFunction edmFunction, string modelNamespace)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "return ((IObjectContextAdapter)this).ObjectContext.CreateQuery<{0}>(\"[{1}].[{2}]({3})\"{4});",
-            _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace),
-            edmFunction.NamespaceName,
-            edmFunction.Name,
-            string.Join(", ", parameters.Select(p => "@" + p.EsqlParameterName).ToArray()),
-            _code.StringBefore(", ", string.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray())));
-    }
-    
-    public string FunctionMethod(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        var returnType = _typeMapper.GetReturnType(edmFunction);
-
-        var paramList = String.Join(", ", parameters.Select(p => p.FunctionParameterType + " " + p.FunctionParameterName).ToArray());
-        if (includeMergeOption)
-        {
-            paramList = _code.StringAfter(paramList, ", ") + "MergeOption mergeOption";
-        }
-
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1} {2}({3})",
-            AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)),
-            returnType == null ? "int" : "ObjectResult<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">",
-            _code.Escape(edmFunction),
-            paramList);
-    }
-    
-    public string ExecuteFunction(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        var returnType = _typeMapper.GetReturnType(edmFunction);
-
-        var callParams = _code.StringBefore(", ", String.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray()));
-        if (includeMergeOption)
-        {
-            callParams = ", mergeOption" + callParams;
-        }
-        
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction{0}(\"{1}\"{2});",
-            returnType == null ? "" : "<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">",
-            edmFunction.Name,
-            callParams);
-    }
-    
-    public string DbSet(EntitySet entitySet)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} DbSet<{1}> {2} {{ get; set; }}",
-            Accessibility.ForReadOnlyProperty(entitySet),
-            _typeMapper.GetTypeName(entitySet.ElementType),
-            _code.Escape(entitySet));
-    }
-
-    public string UsingDirectives(bool inHeader, bool includeCollections = true)
-    {
-        return inHeader == string.IsNullOrEmpty(_code.VsNamespaceSuggestion())
-            ? string.Format(
-                CultureInfo.InvariantCulture,
-                "{0}using System;{1}" +
-                "{2}",
-                inHeader ? Environment.NewLine : "",
-                includeCollections ? (Environment.NewLine + "using System.Collections.Generic;") : "",
-                inHeader ? "" : Environment.NewLine)
-            : "";
-    }
-}
-
-public class TypeMapper
-{
-    private const string ExternalTypeNameAttributeName = @"http://schemas.microsoft.com/ado/2006/04/codegeneration:ExternalTypeName";
-
-    private readonly System.Collections.IList _errors;
-    private readonly CodeGenerationTools _code;
-    private readonly MetadataTools _ef;
-
-    public TypeMapper(CodeGenerationTools code, MetadataTools ef, System.Collections.IList errors)
-    {
-        ArgumentNotNull(code, "code");
-        ArgumentNotNull(ef, "ef");
-        ArgumentNotNull(errors, "errors");
-
-        _code = code;
-        _ef = ef;
-        _errors = errors;
-    }
-
-    public string GetTypeName(TypeUsage typeUsage)
-    {
-        return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace: null);
-    }
-
-    public string GetTypeName(EdmType edmType)
-    {
-        return GetTypeName(edmType, isNullable: null, modelNamespace: null);
-    }
-
-    public string GetTypeName(TypeUsage typeUsage, string modelNamespace)
-    {
-        return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace);
-    }
-
-    public string GetTypeName(EdmType edmType, string modelNamespace)
-    {
-        return GetTypeName(edmType, isNullable: null, modelNamespace: modelNamespace);
-    }
-
-    public string GetTypeName(EdmType edmType, bool? isNullable, string modelNamespace)
-    {
-        if (edmType == null)
-        {
-            return null;
-        }
-
-        var collectionType = edmType as CollectionType;
-        if (collectionType != null)
-        {
-            return String.Format(CultureInfo.InvariantCulture, "ICollection<{0}>", GetTypeName(collectionType.TypeUsage, modelNamespace));
-        }
-
-        var typeName = _code.Escape(edmType.MetadataProperties
-                                .Where(p => p.Name == ExternalTypeNameAttributeName)
-                                .Select(p => (string)p.Value)
-                                .FirstOrDefault())
-            ?? (modelNamespace != null && edmType.NamespaceName != modelNamespace ?
-                _code.CreateFullName(_code.EscapeNamespace(edmType.NamespaceName), _code.Escape(edmType)) :
-                _code.Escape(edmType));
-
-        if (edmType is StructuralType)
-        {
-            return typeName;
-        }
-
-        if (edmType is SimpleType)
-        {
-            var clrType = UnderlyingClrType(edmType);
-            if (!IsEnumType(edmType))
-            {
-                typeName = _code.Escape(clrType);
-            }
-
-            return clrType.IsValueType && isNullable == true ?
-                String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", typeName) :
-                typeName;
-        }
-
-        throw new ArgumentException("edmType");
-    }
-    
-    public Type UnderlyingClrType(EdmType edmType)
-    {
-        ArgumentNotNull(edmType, "edmType");
-
-        var primitiveType = edmType as PrimitiveType;
-        if (primitiveType != null)
-        {
-            return primitiveType.ClrEquivalentType;
-        }
-
-        if (IsEnumType(edmType))
-        {
-            return GetEnumUnderlyingType(edmType).ClrEquivalentType;
-        }
-
-        return typeof(object);
-    }
-    
-    public object GetEnumMemberValue(MetadataItem enumMember)
-    {
-        ArgumentNotNull(enumMember, "enumMember");
-        
-        var valueProperty = enumMember.GetType().GetProperty("Value");
-        return valueProperty == null ? null : valueProperty.GetValue(enumMember, null);
-    }
-    
-    public string GetEnumMemberName(MetadataItem enumMember)
-    {
-        ArgumentNotNull(enumMember, "enumMember");
-        
-        var nameProperty = enumMember.GetType().GetProperty("Name");
-        return nameProperty == null ? null : (string)nameProperty.GetValue(enumMember, null);
-    }
-
-    public System.Collections.IEnumerable GetEnumMembers(EdmType enumType)
-    {
-        ArgumentNotNull(enumType, "enumType");
-
-        var membersProperty = enumType.GetType().GetProperty("Members");
-        return membersProperty != null 
-            ? (System.Collections.IEnumerable)membersProperty.GetValue(enumType, null)
-            : Enumerable.Empty<MetadataItem>();
-    }
-    
-    public bool EnumIsFlags(EdmType enumType)
-    {
-        ArgumentNotNull(enumType, "enumType");
-        
-        var isFlagsProperty = enumType.GetType().GetProperty("IsFlags");
-        return isFlagsProperty != null && (bool)isFlagsProperty.GetValue(enumType, null);
-    }
-
-    public bool IsEnumType(GlobalItem edmType)
-    {
-        ArgumentNotNull(edmType, "edmType");
-
-        return edmType.GetType().Name == "EnumType";
-    }
-
-    public PrimitiveType GetEnumUnderlyingType(EdmType enumType)
-    {
-        ArgumentNotNull(enumType, "enumType");
-
-        return (PrimitiveType)enumType.GetType().GetProperty("UnderlyingType").GetValue(enumType, null);
-    }
-
-    public string CreateLiteral(object value)
-    {
-        if (value == null || value.GetType() != typeof(TimeSpan))
-        {
-            return _code.CreateLiteral(value);
-        }
-
-        return string.Format(CultureInfo.InvariantCulture, "new TimeSpan({0})", ((TimeSpan)value).Ticks);
-    }
-    
-    public bool VerifyCaseInsensitiveTypeUniqueness(IEnumerable<string> types, string sourceFile)
-    {
-        ArgumentNotNull(types, "types");
-        ArgumentNotNull(sourceFile, "sourceFile");
-        
-        var hash = new HashSet<string>(StringComparer.InvariantCultureIgnoreCase);
-        if (types.Any(item => !hash.Add(item)))
-        {
-            _errors.Add(
-                new CompilerError(sourceFile, -1, -1, "6023",
-                    String.Format(CultureInfo.CurrentCulture, GetResourceString("Template_CaseInsensitiveTypeConflict"))));
-            return false;
-        }
-        return true;
-    }
-    
-    public IEnumerable<SimpleType> GetEnumItemsToGenerate(IEnumerable<GlobalItem> itemCollection)
-    {
-        return GetItemsToGenerate<SimpleType>(itemCollection)
-            .Where(e => IsEnumType(e));
-    }
-    
-    public IEnumerable<T> GetItemsToGenerate<T>(IEnumerable<GlobalItem> itemCollection) where T: EdmType
-    {
-        return itemCollection
-            .OfType<T>()
-            .Where(i => !i.MetadataProperties.Any(p => p.Name == ExternalTypeNameAttributeName))
-            .OrderBy(i => i.Name);
-    }
-
-    public IEnumerable<string> GetAllGlobalItems(IEnumerable<GlobalItem> itemCollection)
-    {
-        return itemCollection
-            .Where(i => i is EntityType || i is ComplexType || i is EntityContainer || IsEnumType(i))
-            .Select(g => GetGlobalItemName(g));
-    }
-
-    public string GetGlobalItemName(GlobalItem item)
-    {
-        if (item is EdmType)
-        {
-            return ((EdmType)item).Name;
-        }
-        else
-        {
-            return ((EntityContainer)item).Name;
-        }
-    }
-
-    public IEnumerable<EdmProperty> GetSimpleProperties(EntityType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type);
-    }
-    
-    public IEnumerable<EdmProperty> GetSimpleProperties(ComplexType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type);
-    }
-    
-    public IEnumerable<EdmProperty> GetComplexProperties(EntityType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type);
-    }
-    
-    public IEnumerable<EdmProperty> GetComplexProperties(ComplexType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type);
-    }
-
-    public IEnumerable<EdmProperty> GetPropertiesWithDefaultValues(EntityType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null);
-    }
-    
-    public IEnumerable<EdmProperty> GetPropertiesWithDefaultValues(ComplexType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null);
-    }
-
-    public IEnumerable<NavigationProperty> GetNavigationProperties(EntityType type)
-    {
-        return type.NavigationProperties.Where(np => np.DeclaringType == type);
-    }
-    
-    public IEnumerable<NavigationProperty> GetCollectionNavigationProperties(EntityType type)
-    {
-        return type.NavigationProperties.Where(np => np.DeclaringType == type && np.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many);
-    }
-    
-    public FunctionParameter GetReturnParameter(EdmFunction edmFunction)
-    {
-        ArgumentNotNull(edmFunction, "edmFunction");
-
-        var returnParamsProperty = edmFunction.GetType().GetProperty("ReturnParameters");
-        return returnParamsProperty == null
-            ? edmFunction.ReturnParameter
-            : ((IEnumerable<FunctionParameter>)returnParamsProperty.GetValue(edmFunction, null)).FirstOrDefault();
-    }
-
-    public bool IsComposable(EdmFunction edmFunction)
-    {
-        ArgumentNotNull(edmFunction, "edmFunction");
-
-        var isComposableProperty = edmFunction.GetType().GetProperty("IsComposableAttribute");
-        return isComposableProperty != null && (bool)isComposableProperty.GetValue(edmFunction, null);
-    }
-
-    public IEnumerable<FunctionImportParameter> GetParameters(EdmFunction edmFunction)
-    {
-        return FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef);
-    }
-
-    public TypeUsage GetReturnType(EdmFunction edmFunction)
-    {
-        var returnParam = GetReturnParameter(edmFunction);
-        return returnParam == null ? null : _ef.GetElementType(returnParam.TypeUsage);
-    }
-    
-    public bool GenerateMergeOptionFunction(EdmFunction edmFunction, bool includeMergeOption)
-    {
-        var returnType = GetReturnType(edmFunction);
-        return !includeMergeOption && returnType != null && returnType.EdmType.BuiltInTypeKind == BuiltInTypeKind.EntityType;
-    }
-}
-
-public class EdmMetadataLoader
-{
-    private readonly IDynamicHost _host;
-    private readonly System.Collections.IList _errors;
-
-    public EdmMetadataLoader(IDynamicHost host, System.Collections.IList errors)
-    {
-        ArgumentNotNull(host, "host");
-        ArgumentNotNull(errors, "errors");
-
-        _host = host;
-        _errors = errors;
-    }
-
-    public IEnumerable<GlobalItem> CreateEdmItemCollection(string sourcePath)
-    {
-        ArgumentNotNull(sourcePath, "sourcePath");
-
-        if (!ValidateInputPath(sourcePath))
-        {
-            return new EdmItemCollection();
-        }
-
-        var schemaElement = LoadRootElement(_host.ResolvePath(sourcePath));
-        if (schemaElement != null)
-        {
-            using (var reader = schemaElement.CreateReader())
-            {
-                IList<EdmSchemaError> errors;
-                var itemCollection = MetadataItemCollectionFactory.CreateEdmItemCollection(new[] { reader }, out errors);
-
-                ProcessErrors(errors, sourcePath);
-
-                return itemCollection;
-            }
-        }
-        return new EdmItemCollection();
-    }
-
-    public string GetModelNamespace(string sourcePath)
-    {
-        ArgumentNotNull(sourcePath, "sourcePath");
-
-        if (!ValidateInputPath(sourcePath))
-        {
-            return string.Empty;
-        }
-
-        var model = LoadRootElement(_host.ResolvePath(sourcePath));
-        if (model == null)
-        {
-            return string.Empty;
-        }
-
-        var attribute = model.Attribute("Namespace");
-        return attribute != null ? attribute.Value : "";
-    }
-
-    private bool ValidateInputPath(string sourcePath)
-    {
-        if (sourcePath == "$" + "edmxInputFile" + "$")
-        {
-            _errors.Add(
-                new CompilerError(_host.TemplateFile ?? sourcePath, 0, 0, string.Empty,
-                    GetResourceString("Template_ReplaceVsItemTemplateToken")));
-            return false;
-        }
-
-        return true;
-    }
-
-    public XElement LoadRootElement(string sourcePath)
-    {
-        ArgumentNotNull(sourcePath, "sourcePath");
-
-        var root = XElement.Load(sourcePath, LoadOptions.SetBaseUri | LoadOptions.SetLineInfo);
-        return root.Elements()
-            .Where(e => e.Name.LocalName == "Runtime")
-            .Elements()
-            .Where(e => e.Name.LocalName == "ConceptualModels")
-            .Elements()
-            .Where(e => e.Name.LocalName == "Schema")
-            .FirstOrDefault()
-                ?? root;
-    }
-
-    private void ProcessErrors(IEnumerable<EdmSchemaError> errors, string sourceFilePath)
-    {
-        foreach (var error in errors)
-        {
-            _errors.Add(
-                new CompilerError(
-                    error.SchemaLocation ?? sourceFilePath,
-                    error.Line,
-                    error.Column,
-                    error.ErrorCode.ToString(CultureInfo.InvariantCulture),
-                    error.Message)
-                {
-                    IsWarning = error.Severity == EdmSchemaErrorSeverity.Warning
-                });
-        }
-    }
-    
-    public bool IsLazyLoadingEnabled(EntityContainer container)
-    {
-        string lazyLoadingAttributeValue;
-        var lazyLoadingAttributeName = MetadataConstants.EDM_ANNOTATION_09_02 + ":LazyLoadingEnabled";
-        bool isLazyLoading;
-        return !MetadataTools.TryGetStringMetadataPropertySetting(container, lazyLoadingAttributeName, out lazyLoadingAttributeValue)
-            || !bool.TryParse(lazyLoadingAttributeValue, out isLazyLoading)
-            || isLazyLoading;
-    }
-}
-
-public static void ArgumentNotNull<T>(T arg, string name) where T : class
-{
-    if (arg == null)
-    {
-        throw new ArgumentNullException(name);
-    }
-}
-    
-private static readonly Lazy<System.Resources.ResourceManager> ResourceManager =
-    new Lazy<System.Resources.ResourceManager>(
-        () => new System.Resources.ResourceManager("System.Data.Entity.Design", typeof(MetadataItemCollectionFactory).Assembly), isThreadSafe: true);
-
-public static string GetResourceString(string resourceName)
-{
-    ArgumentNotNull(resourceName, "resourceName");
-
-    return ResourceManager.Value.GetString(resourceName, null);
-}
-
-#>

+ 0 - 4
CSharp/App/DataCenter/DataCenter.Designer.cs

@@ -1,4 +0,0 @@
-// 模型“E:\Source\Egametang\CSharp\App\DataCenter\DataCenter.edmx”的默认代码生成功能已禁用。
-// 要启用默认代码生成功能,请将“代码生成策略”设计器属性的值
-// 更改为另一值。当在设计器中打开该模型时,此属性会出现在
-// “属性”窗口中。

+ 0 - 9
CSharp/App/DataCenter/DataCenter.cs

@@ -1,9 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-

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

@@ -1,341 +0,0 @@
-<?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\</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.6.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\packages\MySql.Data.6.6.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.Composition" />
-    <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_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_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_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_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_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_ban_match.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_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_map_play_info_hero.cs">
-      <DependentUpon>DataCenter.tt</DependentUpon>
-    </Compile>
-    <Compile Include="t_map_play_info_hero_pet.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_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_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_treasure.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>
-  </ItemGroup>
-  <ItemGroup>
-    <EntityDeploy Include="DataCenter.edmx">
-      <Generator>EntityModelCodeGenerator</Generator>
-      <LastGenOutput>DataCenter.Designer.cs</LastGenOutput>
-    </EntityDeploy>
-    <None Include="App.Config" />
-    <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 - 4031
CSharp/App/DataCenter/DataCenter.edmx

@@ -1,4031 +0,0 @@
-<?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="DataCenterModel.Store" Alias="Self" Provider="MySql.Data.MySqlClient" ProviderManifestToken="5.5" xmlns:store="http://schemas.microsoft.com/ado/2007/12/edm/EntityStoreSchemaGenerator" xmlns="http://schemas.microsoft.com/ado/2009/11/edm/ssdl">
-        <EntityContainer Name="DataCenterModelStoreContainer">
-          <EntitySet Name="t_account" EntityType="DataCenterModel.Store.t_account" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_account_active_code" EntityType="DataCenterModel.Store.t_account_active_code" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_account_login_auth_response_cookie" EntityType="DataCenterModel.Store.t_account_login_auth_response_cookie" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_active_code" EntityType="DataCenterModel.Store.t_active_code" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_attribute" EntityType="DataCenterModel.Store.t_attribute" store:Type="Tables" store:Schema="tanghai" store:Name="t_attribute">
-            <DefiningQuery>SELECT
-      `t_attribute`.`guid`, 
-      `t_attribute`.`id`, 
-      `t_attribute`.`sub_id`, 
-      `t_attribute`.`value`, 
-      `t_attribute`.`attr_type`, 
-      `t_attribute`.`create_time`, 
-      `t_attribute`.`modify_time`
-      FROM `t_attribute` AS `t_attribute`</DefiningQuery>
-          </EntitySet>
-          <EntitySet Name="t_auction_item" EntityType="DataCenterModel.Store.t_auction_item" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_available_map" EntityType="DataCenterModel.Store.t_available_map" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_battle_gameover_statistic" EntityType="DataCenterModel.Store.t_battle_gameover_statistic" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_battle_kill_detail" EntityType="DataCenterModel.Store.t_battle_kill_detail" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_battle_summary" EntityType="DataCenterModel.Store.t_battle_summary" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_beginner_group_config" EntityType="DataCenterModel.Store.t_beginner_group_config" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_beginner_group_cong" EntityType="DataCenterModel.Store.t_beginner_group_cong" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_beginner_group_event" EntityType="DataCenterModel.Store.t_beginner_group_event" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_activity" EntityType="DataCenterModel.Store.t_challenge_activity" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_activity_schedule" EntityType="DataCenterModel.Store.t_challenge_activity_schedule" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_character_elect_hero" EntityType="DataCenterModel.Store.t_challenge_character_elect_hero" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_elect_hero_stat" EntityType="DataCenterModel.Store.t_challenge_elect_hero_stat" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_game_player" EntityType="DataCenterModel.Store.t_challenge_game_player" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_guess_game_over" EntityType="DataCenterModel.Store.t_challenge_guess_game_over" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_guess_reward" EntityType="DataCenterModel.Store.t_challenge_guess_reward" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_kfz_hero" EntityType="DataCenterModel.Store.t_challenge_kfz_hero" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_statue_info" EntityType="DataCenterModel.Store.t_challenge_statue_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_challenge_task_reward" EntityType="DataCenterModel.Store.t_challenge_task_reward" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character" EntityType="DataCenterModel.Store.t_character" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_achievement" EntityType="DataCenterModel.Store.t_character_achievement" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_appearance" EntityType="DataCenterModel.Store.t_character_appearance" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_assets" EntityType="DataCenterModel.Store.t_character_assets" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_default_fighting_options" EntityType="DataCenterModel.Store.t_character_default_fighting_options" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_item" EntityType="DataCenterModel.Store.t_character_item" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_options" EntityType="DataCenterModel.Store.t_character_options" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_character_questionnaire" EntityType="DataCenterModel.Store.t_character_questionnaire" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_charge_list" EntityType="DataCenterModel.Store.t_charge_list" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_city_buff" EntityType="DataCenterModel.Store.t_city_buff" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_city_task_finish_sub_state" EntityType="DataCenterModel.Store.t_city_task_finish_sub_state" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_city_task_info" EntityType="DataCenterModel.Store.t_city_task_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_client_config" EntityType="DataCenterModel.Store.t_client_config" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_common_spell" EntityType="DataCenterModel.Store.t_common_spell" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_daily_online_time" EntityType="DataCenterModel.Store.t_daily_online_time" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_employ_notice_status" EntityType="DataCenterModel.Store.t_employ_notice_status" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_employ_relation" EntityType="DataCenterModel.Store.t_employ_relation" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_employee_info" EntityType="DataCenterModel.Store.t_employee_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_employee_notice" EntityType="DataCenterModel.Store.t_employee_notice" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_employer_notice" EntityType="DataCenterModel.Store.t_employer_notice" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_fighting_evaluation_info" EntityType="DataCenterModel.Store.t_fighting_evaluation_info" store:Type="Tables" store:Schema="tanghai" store:Name="t_fighting_evaluation_info">
-            <DefiningQuery>SELECT
-      `t_fighting_evaluation_info`.`character_guid`, 
-      `t_fighting_evaluation_info`.`evaluate_player_guid`, 
-      `t_fighting_evaluation_info`.`evaluate_type`, 
-      `t_fighting_evaluation_info`.`evaluate_time`, 
-      `t_fighting_evaluation_info`.`create_time`, 
-      `t_fighting_evaluation_info`.`modify_time`
-      FROM `t_fighting_evaluation_info` AS `t_fighting_evaluation_info`</DefiningQuery>
-          </EntitySet>
-          <EntitySet Name="t_friend" EntityType="DataCenterModel.Store.t_friend" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_friend_ban_match" EntityType="DataCenterModel.Store.t_friend_ban_match" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_friend_group" EntityType="DataCenterModel.Store.t_friend_group" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_game_hero_use_info" EntityType="DataCenterModel.Store.t_game_hero_use_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_game_info" EntityType="DataCenterModel.Store.t_game_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_gs_code" EntityType="DataCenterModel.Store.t_gs_code" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_hero_color_scheme" EntityType="DataCenterModel.Store.t_hero_color_scheme" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_hero_level_state" EntityType="DataCenterModel.Store.t_hero_level_state" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_hero_pet" EntityType="DataCenterModel.Store.t_hero_pet" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_hero_suggest_equipment" EntityType="DataCenterModel.Store.t_hero_suggest_equipment" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_hero_unlock_hero" EntityType="DataCenterModel.Store.t_hero_unlock_hero" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_illegal_term_rules" EntityType="DataCenterModel.Store.t_illegal_term_rules" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_item_roll_list" EntityType="DataCenterModel.Store.t_item_roll_list" store:Type="Tables" store:Schema="tanghai" store:Name="t_item_roll_list">
-            <DefiningQuery>SELECT
-      `t_item_roll_list`.`item_roll_guid`, 
-      `t_item_roll_list`.`character_guid`, 
-      `t_item_roll_list`.`item_guid`, 
-      `t_item_roll_list`.`item_id`, 
-      `t_item_roll_list`.`item_name`, 
-      `t_item_roll_list`.`source`, 
-      `t_item_roll_list`.`is_bound`, 
-      `t_item_roll_list`.`attributes`, 
-      `t_item_roll_list`.`buy_time`, 
-      `t_item_roll_list`.`expire_time`, 
-      `t_item_roll_list`.`buy_type`, 
-      `t_item_roll_list`.`pay_type`, 
-      `t_item_roll_list`.`pay_yuanbao`, 
-      `t_item_roll_list`.`free_yuanbao`, 
-      `t_item_roll_list`.`previous_count`, 
-      `t_item_roll_list`.`previous_location`, 
-      `t_item_roll_list`.`count`, 
-      `t_item_roll_list`.`location`, 
-      `t_item_roll_list`.`change_type`, 
-      `t_item_roll_list`.`billing_state`, 
-      `t_item_roll_list`.`charge_gold_balance`, 
-      `t_item_roll_list`.`free_gold_balance`, 
-      `t_item_roll_list`.`modify_time`, 
-      `t_item_roll_list`.`create_time`
-      FROM `t_item_roll_list` AS `t_item_roll_list`</DefiningQuery>
-          </EntitySet>
-          <EntitySet Name="t_login_reward" EntityType="DataCenterModel.Store.t_login_reward" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_mail" EntityType="DataCenterModel.Store.t_mail" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_mail_item" EntityType="DataCenterModel.Store.t_mail_item" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_mall_items_sales_count" EntityType="DataCenterModel.Store.t_mall_items_sales_count" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_map_play_info" EntityType="DataCenterModel.Store.t_map_play_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_map_play_info_hero" EntityType="DataCenterModel.Store.t_map_play_info_hero" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_map_play_info_hero_pet" EntityType="DataCenterModel.Store.t_map_play_info_hero_pet" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_meta" EntityType="DataCenterModel.Store.t_meta" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_offline_message" EntityType="DataCenterModel.Store.t_offline_message" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_pve_equipment_scheme" EntityType="DataCenterModel.Store.t_pve_equipment_scheme" store:Type="Tables" store:Schema="tanghai" store:Name="t_pve_equipment_scheme">
-            <DefiningQuery>SELECT
-      `t_pve_equipment_scheme`.`character_guid`, 
-      `t_pve_equipment_scheme`.`scheme_id`, 
-      `t_pve_equipment_scheme`.`scheme_name`, 
-      `t_pve_equipment_scheme`.`slot0_item_guid`, 
-      `t_pve_equipment_scheme`.`slot1_item_guid`, 
-      `t_pve_equipment_scheme`.`slot2_item_guid`, 
-      `t_pve_equipment_scheme`.`slot3_item_guid`, 
-      `t_pve_equipment_scheme`.`slot4_item_guid`, 
-      `t_pve_equipment_scheme`.`slot5_item_guid`, 
-      `t_pve_equipment_scheme`.`slot6_item_guid`, 
-      `t_pve_equipment_scheme`.`slot7_item_guid`, 
-      `t_pve_equipment_scheme`.`slot8_item_guid`, 
-      `t_pve_equipment_scheme`.`slot9_item_guid`, 
-      `t_pve_equipment_scheme`.`create_time`, 
-      `t_pve_equipment_scheme`.`modify_time`
-      FROM `t_pve_equipment_scheme` AS `t_pve_equipment_scheme`</DefiningQuery>
-          </EntitySet>
-          <EntitySet Name="t_pve_equipment_strength" EntityType="DataCenterModel.Store.t_pve_equipment_strength" store:Type="Tables" store:Schema="tanghai" store:Name="t_pve_equipment_strength">
-            <DefiningQuery>SELECT
-      `t_pve_equipment_strength`.`guid`, 
-      `t_pve_equipment_strength`.`strength_lv`, 
-      `t_pve_equipment_strength`.`strength_value`, 
-      `t_pve_equipment_strength`.`create_time`, 
-      `t_pve_equipment_strength`.`modify_time`
-      FROM `t_pve_equipment_strength` AS `t_pve_equipment_strength`</DefiningQuery>
-          </EntitySet>
-          <EntitySet Name="t_questionnaire" EntityType="DataCenterModel.Store.t_questionnaire" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_rune_scheme" EntityType="DataCenterModel.Store.t_rune_scheme" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_social_group_basic" EntityType="DataCenterModel.Store.t_social_group_basic" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_social_group_manager" EntityType="DataCenterModel.Store.t_social_group_manager" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_social_group_member" EntityType="DataCenterModel.Store.t_social_group_member" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_title_info" EntityType="DataCenterModel.Store.t_title_info" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_treasure" EntityType="DataCenterModel.Store.t_treasure" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_tutorial" EntityType="DataCenterModel.Store.t_tutorial" store:Type="Tables" Schema="tanghai" />
-          <EntitySet Name="t_tutorial_status_info" EntityType="DataCenterModel.Store.t_tutorial_status_info" store:Type="Tables" Schema="tanghai" />
-        </EntityContainer>
-        <EntityType Name="t_account">
-          <Key>
-            <PropertyRef Name="account" />
-          </Key>
-          <Property Name="account" Type="varchar" Nullable="false" MaxLength="100" />
-          <Property Name="account_guid" Type="ubigint" />
-          <Property Name="sessionkey" Type="blob" />
-          <Property Name="v" Type="varchar" MaxLength="100" />
-          <Property Name="s" Type="varchar" MaxLength="100" />
-          <Property Name="active_code" Type="varchar" MaxLength="100" />
-          <Property Name="active_code_used" Type="bool" />
-          <Property Name="first_char_guid" Type="ubigint" />
-          <Property Name="gm_level" Type="int" />
-          <Property Name="create_time" Type="datetime" />
-          <Property Name="modify_time" Type="datetime" />
-        </EntityType>
-        <EntityType Name="t_account_active_code">
-          <Key>
-            <PropertyRef Name="account" />
-            <PropertyRef Name="gain_active_codes" />
-          </Key>
-          <Property Name="account" Type="varchar" Nullable="false" MaxLength="100" />
-          <Property Name="gain_active_codes" Type="varchar" Nullable="false" MaxLength="100" />
-          <Property Name="create_time" Type="datetime" />
-          <Property Name="modify_time" Type="datetime" />
-        </EntityType>
-        <EntityType Name="t_account_login_auth_response_cookie">
-          <Key>
-            <PropertyRef Name="account" />
-          </Key>
-          <Property Name="account" Type="varchar" Nullable="false" MaxLength="100" />
-          <Property Name="aid" Type="varchar" MaxLength="100" />
-          <Property Name="ssn" Type="varchar" MaxLength="100" />
-          <Property Name="gamepoint" Type="varchar" MaxLength="10" />
-          <Property Name="balance" Type="varchar" MaxLength="10" />
-          <Property Name="sn" Type="varchar" MaxLength="40" />
-          <Property Name="user_type" Type="varchar" MaxLength="5" />
-          <Property Name="otpstat" Type="varchar" MaxLength="5" />
-          <Property Name="otpuptime" Type="varchar" MaxLength="20" />
-          <Property Name="infosafe" Type="varchar" MaxLength="5" />
-          <Property Name="phonestat" Type="varchar" MaxLength="5" />
-          <Property Name="ppcstat" Type="varchar" MaxLength="5" />
-          <Property Name="ppccoord" Type="varchar" MaxLength="20" />
-          <Property Name="mppstat" Type="varchar" MaxLength="5" />
-          <Property Name="rnstat" Type="varchar" MaxLength="10" />
-          <Property Name="regtime" Type="varchar" MaxLength="10" />
-          <Property Name="mobileno" Type="varchar" MaxLength="20" />
-          <Property Name="need_activate_game" Type="varchar" MaxLength="5" />
-          <Property Name="game_flag" Type="varchar" MaxLength="5" />
-          <Property Name="deactivated" Type="varchar" MaxLength="5" />
-          <Property Name="uidcount" Type="varchar" MaxLength="5" />
-          <Property Name="newtm" Type="varchar" MaxLength="20" />
-          <Property Name="vipstatus" Type="varchar" MaxLength="5" />
-          <Property Name="is_vip_phone_trusty" Type="varchar" MaxLength="5" />
-          <Property Name="is_vip_addr_trusty" Type="varchar" MaxLength="5" />
-          <Property Name="real_name_flag" Type="varchar" MaxLength="5" />
-          <Property Name="mobileisactivated" Type="varchar" MaxLength="5" />
-          <Property Name="secu_info_ready" Type="varchar" MaxLength="5" />
-          <Property Name="secu_info_pin_ma" Type="varchar" MaxLength="5" />
-          <Property Name="secu_info_id_num" Type="varchar" MaxLength="20" />
-          <Property Name="id_num" Type="varchar" MaxLength="20" />
-          <Property Name="create_time" Type="datetime" />
-          <Property Name="modify_time" Type="datetime" />
-        </EntityType>
-        <EntityType Name="t_active_code">
-          <Key>
-            <PropertyRef Name="active_code" />
-          </Key>
-          <Property Name="active_code" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="code_type" Type="int" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="grant_type" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <!--生成过程中发现错误:
-      警告 6002: 表/视图“def.tanghai.t_attribute”未定义主键。已推断出该键,并将定义创建为只读的表/视图。
-      -->
-        <EntityType Name="t_attribute">
-          <Key>
-            <PropertyRef Name="guid" />
-            <PropertyRef Name="id" />
-            <PropertyRef Name="sub_id" />
-            <PropertyRef Name="value" />
-            <PropertyRef Name="attr_type" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="guid" Type="ubigint" Nullable="false" />
-          <Property Name="id" Type="int" Nullable="false" />
-          <Property Name="sub_id" Type="int" Nullable="false" />
-          <Property Name="value" Type="double" Nullable="false" />
-          <Property Name="attr_type" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_auction_item">
-          <Key>
-            <PropertyRef Name="item_guid" />
-          </Key>
-          <Property Name="item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="seller_guid" Type="ubigint" Nullable="false" />
-          <Property Name="seller_name" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="seller_ip" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="auction_class" Type="smallint" Nullable="false" />
-          <Property Name="item_name" Type="varchar" Nullable="false" MaxLength="128" />
-          <Property Name="item_id" Type="int" Nullable="false" />
-          <Property Name="assets_type" Type="smallint" Nullable="false" />
-          <Property Name="deposit" Type="int" Nullable="false" />
-          <Property Name="sum_price" Type="int" Nullable="false" />
-          <Property Name="unit_price" Type="float" Nullable="false" />
-          <Property Name="expire_time" Type="datetime" Nullable="false" />
-          <Property Name="tran_guid" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_available_map">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="map_type" Type="varchar" Nullable="false" MaxLength="80" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_battle_gameover_statistic">
-          <Key>
-            <PropertyRef Name="battle_guid" />
-          </Key>
-          <Property Name="battle_guid" Type="ubigint" Nullable="false" />
-          <Property Name="gameover_statistic" Type="blob" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_battle_kill_detail">
-          <Key>
-            <PropertyRef Name="kill_id" />
-          </Key>
-          <Property Name="kill_id" Type="ubigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="battle_guid" Type="ubigint" Nullable="false" />
-          <Property Name="kill_type" Type="uint" Nullable="false" />
-          <Property Name="kill_name" Type="varchar" MaxLength="50" />
-          <Property Name="kill_guid" Type="ubigint" />
-          <Property Name="assist_name" Type="varchar" MaxLength="200" />
-          <Property Name="kill_time" Type="int" />
-          <Property Name="killed_name" Type="varchar" MaxLength="50" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_battle_summary">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="battle_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="battle_guid" Type="ubigint" Nullable="false" />
-          <Property Name="pvp_or_pve" Type="bool" />
-          <Property Name="is_win" Type="bool" />
-          <Property Name="is_mvp" Type="bool" />
-          <Property Name="is_most_kill_person" Type="bool" />
-          <Property Name="is_most_assist" Type="bool" />
-          <Property Name="is_most_money" Type="bool" />
-          <Property Name="is_down_tower" Type="bool" />
-          <Property Name="is_most_kill_friend" Type="bool" />
-          <Property Name="is_lost_mvp" Type="bool" />
-          <Property Name="is_s_pve_map" Type="bool" />
-          <Property Name="is_first_blood" Type="bool" />
-          <Property Name="is_pve_most_kill_boss" Type="bool" />
-          <Property Name="is_pve_most_take_damage" Type="bool" />
-          <Property Name="is_pve_most_healing" Type="bool" />
-          <Property Name="is_pve_most_damage" Type="bool" />
-          <Property Name="map_type" Type="varchar" MaxLength="20" />
-          <Property Name="battle_date" Type="varchar" MaxLength="30" />
-          <Property Name="battle_time" Type="int" />
-          <Property Name="is_escape" Type="bool" />
-          <Property Name="hero_id" Type="int" />
-          <Property Name="match_type" Type="int" />
-          <Property Name="is_reinforce" Type="bool" />
-          <Property Name="pvp_kill_count" Type="int" />
-          <Property Name="pvp_assist_count" Type="int" />
-          <Property Name="pvp_dead_count" Type="int" />
-          <Property Name="pvp_most_continuous_kill_number" Type="int" />
-          <Property Name="pvp_score" Type="int" />
-          <Property Name="pve_boss_kill" Type="int" />
-          <Property Name="pve_kill_hostile_soldier" Type="int" />
-          <Property Name="pve_total_money" Type="int" />
-          <Property Name="pve_get_level" Type="int" />
-          <Property Name="is_employ_battle" Type="bool" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_beginner_group_config">
-          <Key>
-            <PropertyRef Name="aid" />
-          </Key>
-          <Property Name="aid" Type="ubigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="max_group_id" Type="int" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_beginner_group_cong">
-          <Key>
-            <PropertyRef Name="group_guid" />
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="group_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_level" Type="int" Nullable="false" />
-          <Property Name="cong_guid_list" Type="blob" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_beginner_group_event">
-          <Key>
-            <PropertyRef Name="event_guid" />
-          </Key>
-          <Property Name="event_guid" Type="ubigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="beginner_group_guid" Type="ubigint" Nullable="false" />
-          <Property Name="event_id" Type="int" Nullable="false" />
-          <Property Name="event_content" Type="blob" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_activity">
-          <Key>
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="activity_status" Type="int" Nullable="false" />
-          <Property Name="start_time" Type="datetime" Nullable="false" />
-          <Property Name="battle_id" Type="ubigint" Nullable="false" />
-          <Property Name="challenger_win" Type="bool" Nullable="false" />
-          <Property Name="kfz_best_hero" Type="int" Nullable="false" />
-          <Property Name="game_over_time" Type="datetime" />
-          <Property Name="challenger_win_bet" Type="bigint" Nullable="false" />
-          <Property Name="challenger_lose_bet" Type="bigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_activity_schedule">
-          <Key>
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="elect_from_time" Type="datetime" Nullable="false" />
-          <Property Name="elect_to_time" Type="datetime" Nullable="false" />
-          <Property Name="guess_from_time" Type="datetime" Nullable="false" />
-          <Property Name="guess_to_time" Type="datetime" Nullable="false" />
-          <Property Name="reward_from_time" Type="datetime" Nullable="false" />
-          <Property Name="reward_to_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_character_elect_hero">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_elect_hero_stat">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="game_position" Type="int" Nullable="false" />
-          <Property Name="vote_count" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_game_player">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="is_win" Type="bool" Nullable="false" />
-          <Property Name="faction" Type="int" Nullable="false" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="title" Type="varchar" MaxLength="64" />
-          <Property Name="platform_title_id" Type="int" Nullable="false" />
-          <Property Name="character_name" Type="varchar" MaxLength="64" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_guess_game_over">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="challenger_win" Type="bool" Nullable="false" />
-          <Property Name="challenger_win_bet" Type="int" Nullable="false" />
-          <Property Name="kfz_best_hero" Type="int" Nullable="false" />
-          <Property Name="kfz_best_hero_bet" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_guess_reward">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="winner_guess_silver" Type="int" Nullable="false" />
-          <Property Name="best_hero_guess_silver" Type="int" Nullable="false" />
-          <Property Name="is_taked" Type="bool" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_kfz_hero">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="game_position" Type="int" Nullable="false" />
-          <Property Name="best_bet" Type="bigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_statue_info">
-          <Key>
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="from_time" Type="datetime" Nullable="false" />
-          <Property Name="to_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_task_reward">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="reward_type" />
-          </Key>
-          <Property Name="activity_id" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="reward_type" Type="int" Nullable="false" />
-          <Property Name="task_id" Type="int" Nullable="false" />
-          <Property Name="is_taked" Type="bool" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="general_class" Type="int" Nullable="false" />
-          <Property Name="character_name" Type="varchar" Nullable="false" MaxLength="128" />
-          <Property Name="sex" Type="int" Nullable="false" />
-          <Property Name="account_id" Type="ubigint" Nullable="false" />
-          <Property Name="playing_map_server_key" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="group_guid" Type="ubigint" Nullable="false" />
-          <Property Name="room_guid" Type="ubigint" Nullable="false" />
-          <Property Name="general_ghost" Type="int" Nullable="false" />
-          <Property Name="kingdom" Type="int" Nullable="false" />
-          <Property Name="create_ip" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="area_id" Type="int" Nullable="false" />
-          <Property Name="account" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="default_display_id" Type="int" Nullable="false" />
-          <Property Name="selected_title_type" Type="int" Nullable="false" />
-          <Property Name="last_login_time" Type="bigint" Nullable="false" />
-          <Property Name="login_ip" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="is_first_login" Type="bool" Nullable="false" />
-          <Property Name="has_newly_mail" Type="bool" Nullable="false" />
-          <Property Name="location" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="history_silver" Type="bigint" Nullable="false" />
-          <Property Name="history_charge_gold" Type="bigint" Nullable="false" />
-          <Property Name="history_free_gold" Type="bigint" Nullable="false" />
-          <Property Name="rank_bonus_title_id" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="recent_flee_buff_id" Type="int" Nullable="false" />
-          <Property Name="add_buff_yday" Type="int" Nullable="false" />
-          <Property Name="need_rename" Type="tinyint" Nullable="false" />
-          <Property Name="can_gain_active_code_item" Type="bool" Nullable="false" />
-          <Property Name="total_online_seconds" Type="bigint" Nullable="false" />
-          <Property Name="city_server_name" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="last_login_realtime" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="anti_addiction_online_time" Type="int" Nullable="false" />
-          <Property Name="anti_addiction_offline_time" Type="int" Nullable="false" />
-          <Property Name="gs_active_code" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="ban_login_expired_time" Type="bigint" />
-          <Property Name="ban_chat_expired_time" Type="bigint" />
-          <Property Name="pve_equipment_max_strengthen_level" Type="int" Nullable="false" />
-          <Property Name="pve_equipment_active_scheme_id" Type="int" Nullable="false" />
-          <Property Name="pos_x" Type="double" Nullable="false" />
-          <Property Name="pos_y" Type="double" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_achievement">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="achievement_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="achievement_id" Type="int" Nullable="false" />
-          <Property Name="event_count" Type="int" />
-          <Property Name="is_accomplished" Type="bool" Nullable="false" />
-          <Property Name="accomplish_time" Type="datetime" />
-          <Property Name="hero_id" Type="int" />
-          <Property Name="battle_guid" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" />
-          <Property Name="modify_time" Type="datetime" />
-        </EntityType>
-        <EntityType Name="t_character_appearance">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="appearance_type" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="appearance_type" Type="int" Nullable="false" />
-          <Property Name="headdress" Type="ubigint" Nullable="false" />
-          <Property Name="wing" Type="ubigint" Nullable="false" />
-          <Property Name="clothes" Type="ubigint" Nullable="false" />
-          <Property Name="weapon" Type="ubigint" Nullable="false" />
-          <Property Name="magic_weapon" Type="ubigint" Nullable="false" />
-          <Property Name="mounts" Type="ubigint" Nullable="false" />
-          <Property Name="face" Type="ubigint" Nullable="false" />
-          <Property Name="riding_status" Type="int" Nullable="false" />
-          <Property Name="color1" Type="bigint" Nullable="false" />
-          <Property Name="color2" Type="bigint" Nullable="false" />
-          <Property Name="color3" Type="bigint" Nullable="false" />
-          <Property Name="color4" Type="bigint" Nullable="false" />
-          <Property Name="color5" Type="bigint" Nullable="false" />
-          <Property Name="default_visual" Type="int" Nullable="false" />
-          <Property Name="default_face" Type="int" Nullable="false" />
-          <Property Name="default_headdress" Type="int" Nullable="false" />
-          <Property Name="color_scheme_id" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_assets">
-          <Key>
-            <PropertyRef Name="assets_id" />
-          </Key>
-          <Property Name="assets_id" Type="bigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="assets_type" Type="smallint" Nullable="false" />
-          <Property Name="balance" Type="bigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_default_fighting_options">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="last_common_spell_series_id" Type="int" Nullable="false" />
-          <Property Name="last_rune_scheme_id" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_item">
-          <Key>
-            <PropertyRef Name="item_guid" />
-          </Key>
-          <Property Name="item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="item_id" Type="int" Nullable="false" />
-          <Property Name="slot" Type="int" Nullable="false" />
-          <Property Name="item_count" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="source" Type="int" Nullable="false" />
-          <Property Name="is_bound" Type="bool" Nullable="false" />
-          <Property Name="location" Type="int" Nullable="false" />
-          <Property Name="attributes" Type="blob" Nullable="false" />
-          <Property Name="buy_time" Type="datetime" Nullable="false" />
-          <Property Name="expire_time" Type="datetime" Nullable="false" />
-          <Property Name="buy_type" Type="int" Nullable="false" />
-          <Property Name="pay_type" Type="int" Nullable="false" />
-          <Property Name="pay_yuanbao" Type="int" Nullable="false" />
-          <Property Name="free_yuanbao" Type="int" Nullable="false" />
-          <Property Name="reiki_count" Type="int" Nullable="false" />
-          <Property Name="durability_count" Type="int" Nullable="false" />
-          <Property Name="recast_count" Type="int" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_options">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="rune_not_show_binding_tips" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_questionnaire">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="questionnaire_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="questionnaire_id" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_charge_list">
-          <Key>
-            <PropertyRef Name="charge_listid" />
-          </Key>
-          <Property Name="charge_listid" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="charge_sn" Type="varchar" Nullable="false" MaxLength="40" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="account" Type="varchar" Nullable="false" MaxLength="128" />
-          <Property Name="ip" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="pay_points" Type="int" Nullable="false" />
-          <Property Name="charge_yuanbao" Type="int" Nullable="false" />
-          <Property Name="free_yuanbao" Type="int" Nullable="false" />
-          <Property Name="url_parameters" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="charge_state" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="retry_times" Type="int" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_city_buff">
-          <Key>
-            <PropertyRef Name="buff_guid" />
-          </Key>
-          <Property Name="buff_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="buff_id" Type="int" Nullable="false" />
-          <Property Name="buff_time" Type="int" Nullable="false" />
-          <Property Name="stack" Type="int" Nullable="false" />
-          <Property Name="buff_values" Type="blob" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_city_task_finish_sub_state">
-          <Key>
-            <PropertyRef Name="task_guid" />
-            <PropertyRef Name="city_task_sub_state_type" />
-          </Key>
-          <Property Name="task_guid" Type="ubigint" Nullable="false" />
-          <Property Name="city_task_sub_state_type" Type="int" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="total_count" Type="int" Nullable="false" />
-          <Property Name="finish_count" Type="int" Nullable="false" />
-          <Property Name="detail" Type="varchar" Nullable="false" MaxLength="1024" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_city_task_info">
-          <Key>
-            <PropertyRef Name="task_guid" />
-          </Key>
-          <Property Name="task_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="task_id" Type="int" Nullable="false" />
-          <Property Name="state" Type="int" Nullable="false" />
-          <Property Name="finish_timestamp" Type="ubigint" Nullable="false" />
-          <Property Name="accept_time" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_client_config">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="map_type" Type="varchar" Nullable="false" MaxLength="80" />
-          <Property Name="key_setting" Type="varchar" Nullable="false" MaxLength="2048" />
-          <Property Name="use_dota_key" Type="bool" Nullable="false" />
-          <Property Name="shop_using_price_classify" Type="bool" Nullable="false" />
-          <Property Name="client_config_str" Type="blob" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_common_spell">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="common_spell_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="common_spell_id" Type="int" Nullable="false" />
-          <Property Name="common_spell_series" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_daily_online_time">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="login_date" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="login_date" Type="char" Nullable="false" MaxLength="32" />
-          <Property Name="online_time" Type="int" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employ_notice_status">
-          <Key>
-            <PropertyRef Name="employ_notice_status_id" />
-          </Key>
-          <Property Name="employ_notice_status_id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="publisher_guid" Type="ubigint" Nullable="false" />
-          <Property Name="applicant_guid" Type="ubigint" Nullable="false" />
-          <Property Name="status" Type="ubigint" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employ_relation">
-          <Key>
-            <PropertyRef Name="employ_relation_id" />
-          </Key>
-          <Property Name="employ_relation_id" Type="int" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="employer_guid" Type="ubigint" Nullable="false" />
-          <Property Name="employee_guid" Type="ubigint" Nullable="false" />
-          <Property Name="assets_type" Type="int" Nullable="false" />
-          <Property Name="price" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employee_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="employee_experience" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employee_notice">
-          <Key>
-            <PropertyRef Name="employee_guid" />
-          </Key>
-          <Property Name="employee_guid" Type="ubigint" Nullable="false" />
-          <Property Name="apply_type" Type="int" Nullable="false" />
-          <Property Name="assets_type" Type="int" Nullable="false" />
-          <Property Name="price" Type="int" Nullable="false" />
-          <Property Name="publish_time" Type="datetime" Nullable="false" />
-          <Property Name="expire_time" Type="datetime" Nullable="false" />
-          <Property Name="success" Type="bool" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employer_notice">
-          <Key>
-            <PropertyRef Name="employer_guid" />
-          </Key>
-          <Property Name="employer_guid" Type="ubigint" Nullable="false" />
-          <Property Name="want_type" Type="int" Nullable="false" />
-          <Property Name="employee_level_condition" Type="int" Nullable="false" />
-          <Property Name="player_level_condition" Type="int" Nullable="false" />
-          <Property Name="player_pvp_score_condition" Type="int" Nullable="false" />
-          <Property Name="assets_type" Type="int" Nullable="false" />
-          <Property Name="price" Type="int" Nullable="false" />
-          <Property Name="publish_time" Type="datetime" Nullable="false" />
-          <Property Name="expire_time" Type="datetime" Nullable="false" />
-          <Property Name="success" Type="bool" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <!--生成过程中发现错误:
-      警告 6002: 表/视图“def.tanghai.t_fighting_evaluation_info”未定义主键。已推断出该键,并将定义创建为只读的表/视图。
-      -->
-        <EntityType Name="t_fighting_evaluation_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="evaluate_player_guid" />
-            <PropertyRef Name="evaluate_type" />
-            <PropertyRef Name="evaluate_time" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="evaluate_player_guid" Type="ubigint" Nullable="false" />
-          <Property Name="evaluate_type" Type="int" Nullable="false" />
-          <Property Name="evaluate_time" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_friend">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="friend_guid" />
-            <PropertyRef Name="group_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="friend_guid" Type="ubigint" Nullable="false" />
-          <Property Name="group_id" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_friend_ban_match">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="ban_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="ban_guid" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_friend_group">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="group_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="group_id" Type="int" Nullable="false" />
-          <Property Name="group_name" Type="varchar" Nullable="false" MaxLength="128" />
-          <Property Name="is_sys_group" Type="tinyint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_game_hero_use_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="use_count" Type="int" Nullable="false" />
-          <Property Name="pvp_score" Type="int" Nullable="false" />
-          <Property Name="pvp_score_uptime" Type="uint" Nullable="false" />
-          <Property Name="mvp_count" Type="int" Nullable="false" />
-          <Property Name="mvp_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="achievement" Type="int" Nullable="false" />
-          <Property Name="achievement_uptime" Type="uint" Nullable="false" />
-          <Property Name="loser_mvp_count" Type="int" Nullable="false" />
-          <Property Name="loser_mvp_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="daily_kill_count" Type="int" Nullable="false" />
-          <Property Name="daily_kill_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="daily_dead_count" Type="int" Nullable="false" />
-          <Property Name="daily_dead_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="daily_assist_count" Type="int" Nullable="false" />
-          <Property Name="daily_assist_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="daily_total_money" Type="int" Nullable="false" />
-          <Property Name="daily_total_money_uptime" Type="uint" Nullable="false" />
-          <Property Name="daily_kill_friend_soldier" Type="int" Nullable="false" />
-          <Property Name="daily_kill_friend_soldier_uptime" Type="uint" Nullable="false" />
-          <Property Name="win_count" Type="int" Nullable="false" />
-          <Property Name="trueskill" Type="double" Nullable="false" />
-          <Property Name="total_kill_count" Type="bigint" Nullable="false" />
-          <Property Name="total_assist_count" Type="bigint" Nullable="false" />
-          <Property Name="total_dead_count" Type="bigint" Nullable="false" />
-          <Property Name="total_first_blood" Type="bigint" Nullable="false" />
-          <Property Name="total_killed_by_first_blood" Type="bigint" Nullable="false" />
-          <Property Name="total_get_money" Type="bigint" Nullable="false" />
-          <Property Name="total_kill_hostile_soldier" Type="bigint" Nullable="false" />
-          <Property Name="total_kill_friend_soldier" Type="bigint" Nullable="false" />
-          <Property Name="total_destroy_hostile_tower" Type="bigint" Nullable="false" />
-          <Property Name="total_destroy_friend_tower" Type="bigint" Nullable="false" />
-          <Property Name="total_kill_monster_number" Type="bigint" Nullable="false" />
-          <Property Name="most_continuous_kill_number" Type="bigint" Nullable="false" />
-          <Property Name="total_physics_damage" Type="bigint" Nullable="false" />
-          <Property Name="total_magic_damage" Type="bigint" Nullable="false" />
-          <Property Name="max_kill_hostile_soldier_times" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="score_update_count" Type="int" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_game_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_name" Type="varchar" Nullable="false" MaxLength="50" />
-          <Property Name="register_area" Type="int" Nullable="false" />
-          <Property Name="character_level" Type="int" Nullable="false" />
-          <Property Name="experience" Type="int" Nullable="false" />
-          <Property Name="experience_uptime" Type="uint" Nullable="false" />
-          <Property Name="stage_score" Type="int" Nullable="false" />
-          <Property Name="stage_score_uptime" Type="uint" Nullable="false" />
-          <Property Name="win_count" Type="int" Nullable="false" />
-          <Property Name="lose_count" Type="int" Nullable="false" />
-          <Property Name="flee_count" Type="int" Nullable="false" />
-          <Property Name="max_kill_games" Type="int" Nullable="false" />
-          <Property Name="max_assist_games" Type="int" Nullable="false" />
-          <Property Name="max_destroy_hostile_towner_games" Type="int" Nullable="false" />
-          <Property Name="first_blood_games" Type="int" Nullable="false" />
-          <Property Name="max_money_games" Type="int" Nullable="false" />
-          <Property Name="kill_boss_count" Type="int" Nullable="false" />
-          <Property Name="kill_boss_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="max_money" Type="int" Nullable="false" />
-          <Property Name="max_assist" Type="int" Nullable="false" />
-          <Property Name="max_kill" Type="int" Nullable="false" />
-          <Property Name="exploit_value" Type="int" Nullable="false" />
-          <Property Name="pass_level_count" Type="int" Nullable="false" />
-          <Property Name="lose_level_count" Type="int" Nullable="false" />
-          <Property Name="get_s_count" Type="int" Nullable="false" />
-          <Property Name="last_level_up_time" Type="bigint" Nullable="false" />
-          <Property Name="mean" Type="double" Nullable="false" />
-          <Property Name="deviation" Type="double" Nullable="false" />
-          <Property Name="total_kill_boss_number" Type="ubigint" Nullable="false" />
-          <Property Name="played_time" Type="ubigint" Nullable="false" />
-          <Property Name="in_city_time" Type="ubigint" Nullable="false" />
-          <Property Name="in_match_time" Type="ubigint" Nullable="false" />
-          <Property Name="in_room_time" Type="ubigint" Nullable="false" />
-          <Property Name="arena_match_score" Type="int" Nullable="false" />
-          <Property Name="funny_match_score" Type="int" Nullable="false" />
-          <Property Name="good_reputation_count" Type="int" Nullable="false" />
-          <Property Name="wujiangshilian_play_time" Type="int" Nullable="false" />
-          <Property Name="youzhou_last_play_soldier_count" Type="int" Nullable="false" />
-          <Property Name="youzhou_last_play_soldier_level" Type="int" Nullable="false" />
-          <Property Name="vip_exp" Type="int" Nullable="false" />
-          <Property Name="vip_exp_accumulate" Type="int" />
-          <Property Name="last_vip_exp_up_time" Type="bigint" />
-          <Property Name="employ_pvp_win_count_room" Type="int" Nullable="false" />
-          <Property Name="employ_pvp_lose_count_room" Type="int" Nullable="false" />
-          <Property Name="employ_pvp_flee_count_room" Type="int" Nullable="false" />
-          <Property Name="employ_pvp_win_count_match" Type="int" Nullable="false" />
-          <Property Name="employ_pvp_lose_count_match" Type="int" Nullable="false" />
-          <Property Name="employ_pvp_flee_count_match" Type="int" Nullable="false" />
-          <Property Name="employ_pve_pass_level_count" Type="int" Nullable="false" />
-          <Property Name="employ_pve_lose_level_count" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_gs_code">
-          <Key>
-            <PropertyRef Name="active_code" />
-          </Key>
-          <Property Name="active_code" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_name" Type="varchar" Nullable="false" MaxLength="32" />
-          <Property Name="invitee_guid" Type="ubigint" Nullable="false" />
-          <Property Name="notify_inviter" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_color_scheme">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-            <PropertyRef Name="color_scheme_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="color_scheme_id" Type="int" Nullable="false" />
-          <Property Name="color1" Type="bigint" Nullable="false" />
-          <Property Name="color2" Type="bigint" Nullable="false" />
-          <Property Name="color3" Type="bigint" Nullable="false" />
-          <Property Name="color4" Type="bigint" Nullable="false" />
-          <Property Name="color5" Type="bigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_level_state">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="level" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="level" Type="int" Nullable="false" />
-          <Property Name="selected_free_hero" Type="bool" />
-          <Property Name="selected_discount_hero" Type="bool" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_pet">
-          <Key>
-            <PropertyRef Name="guid" />
-          </Key>
-          <Property Name="guid" Type="ubigint" Nullable="false" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="name" Type="varchar" Nullable="false" MaxLength="128" />
-          <Property Name="location" Type="int" Nullable="false" />
-          <Property Name="level" Type="int" Nullable="false" />
-          <Property Name="expr" Type="int" Nullable="false" />
-          <Property Name="closeness" Type="int" Nullable="false" />
-          <Property Name="closeness_up_fail" Type="int" Nullable="false" />
-          <Property Name="merge_count" Type="int" Nullable="false" />
-          <Property Name="merge_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_suggest_equipment">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-            <PropertyRef Name="plan_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="plan_id" Type="int" Nullable="false" />
-          <Property Name="plan_description" Type="varchar" MaxLength="256" />
-          <Property Name="item_id0" Type="int" />
-          <Property Name="item_id1" Type="int" />
-          <Property Name="item_id2" Type="int" />
-          <Property Name="item_id3" Type="int" />
-          <Property Name="item_id4" Type="int" />
-          <Property Name="item_id5" Type="int" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_unlock_hero">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="hero_id" Type="int" Nullable="false" />
-          <Property Name="level" Type="int" />
-          <Property Name="cur_color_scheme_id" Type="int" Nullable="false" />
-          <Property Name="scheme_unlock_status" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_illegal_term_rules">
-          <Key>
-            <PropertyRef Name="id" />
-          </Key>
-          <Property Name="regex" Type="blob" Nullable="false" />
-          <Property Name="id" Type="bigint" Nullable="false" StoreGeneratedPattern="Identity" />
-        </EntityType>
-        <!--生成过程中发现错误:
-      警告 6002: 表/视图“def.tanghai.t_item_roll_list”未定义主键。已推断出该键,并将定义创建为只读的表/视图。
-      -->
-        <EntityType Name="t_item_roll_list">
-          <Key>
-            <PropertyRef Name="item_roll_guid" />
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="item_guid" />
-            <PropertyRef Name="item_id" />
-            <PropertyRef Name="item_name" />
-            <PropertyRef Name="source" />
-            <PropertyRef Name="is_bound" />
-            <PropertyRef Name="attributes" />
-            <PropertyRef Name="buy_time" />
-            <PropertyRef Name="expire_time" />
-            <PropertyRef Name="buy_type" />
-            <PropertyRef Name="pay_type" />
-            <PropertyRef Name="pay_yuanbao" />
-            <PropertyRef Name="free_yuanbao" />
-            <PropertyRef Name="previous_count" />
-            <PropertyRef Name="previous_location" />
-            <PropertyRef Name="count" />
-            <PropertyRef Name="location" />
-            <PropertyRef Name="change_type" />
-            <PropertyRef Name="billing_state" />
-            <PropertyRef Name="charge_gold_balance" />
-            <PropertyRef Name="free_gold_balance" />
-            <PropertyRef Name="modify_time" />
-            <PropertyRef Name="create_time" />
-          </Key>
-          <Property Name="item_roll_guid" Type="ubigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="item_id" Type="uint" Nullable="false" />
-          <Property Name="item_name" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="source" Type="int" Nullable="false" />
-          <Property Name="is_bound" Type="int" Nullable="false" />
-          <Property Name="attributes" Type="blob" Nullable="false" />
-          <Property Name="buy_time" Type="datetime" Nullable="false" />
-          <Property Name="expire_time" Type="datetime" Nullable="false" />
-          <Property Name="buy_type" Type="int" Nullable="false" />
-          <Property Name="pay_type" Type="int" Nullable="false" />
-          <Property Name="pay_yuanbao" Type="int" Nullable="false" />
-          <Property Name="free_yuanbao" Type="int" Nullable="false" />
-          <Property Name="previous_count" Type="int" Nullable="false" />
-          <Property Name="previous_location" Type="int" Nullable="false" />
-          <Property Name="count" Type="int" Nullable="false" />
-          <Property Name="location" Type="int" Nullable="false" />
-          <Property Name="change_type" Type="int" Nullable="false" />
-          <Property Name="billing_state" Type="int" Nullable="false" />
-          <Property Name="charge_gold_balance" Type="int" Nullable="false" />
-          <Property Name="free_gold_balance" Type="int" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_login_reward">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="year_day" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="year_day" Type="int" Nullable="false" />
-          <Property Name="reward_id" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_mail">
-          <Key>
-            <PropertyRef Name="mail_guid" />
-          </Key>
-          <Property Name="mail_guid" Type="ubigint" Nullable="false" />
-          <Property Name="checked" Type="bool" Nullable="false" />
-          <Property Name="is_read" Type="bool" Nullable="false" />
-          <Property Name="is_system_mail" Type="bool" Nullable="false" />
-          <Property Name="sender_guid" Type="ubigint" Nullable="false" />
-          <Property Name="sender_name" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="receiver_guid" Type="ubigint" Nullable="false" />
-          <Property Name="receiver_name" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="mail_subject" Type="varchar" Nullable="false" MaxLength="256" />
-          <Property Name="mail_body" Type="text" Nullable="false" />
-          <Property Name="silver" Type="int" Nullable="false" />
-          <Property Name="charge_gold" Type="int" Nullable="false" />
-          <Property Name="money_is_taked" Type="bool" Nullable="false" />
-          <Property Name="item_count" Type="int" Nullable="false" />
-          <Property Name="expire_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_mail_item">
-          <Key>
-            <PropertyRef Name="item_guid" />
-          </Key>
-          <Property Name="item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="mail_guid" Type="ubigint" Nullable="false" />
-          <Property Name="is_taked" Type="bool" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_mall_items_sales_count">
-          <Key>
-            <PropertyRef Name="item_id" />
-          </Key>
-          <Property Name="item_id" Type="int" Nullable="false" />
-          <Property Name="sale_count" Type="int" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_map_play_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="map_type" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="play_count" Type="int" Nullable="false" />
-          <Property Name="win_count" Type="int" Nullable="false" />
-          <Property Name="last_play_date" Type="ubigint" Nullable="false" />
-          <Property Name="total_play_time" Type="ubigint" Nullable="false" />
-          <Property Name="today_play_time" Type="int" Nullable="false" />
-          <Property Name="current_level" Type="int" Nullable="false" />
-          <Property Name="max_score" Type="int" Nullable="false" />
-          <Property Name="kill_boss_count" Type="int" Nullable="false" />
-          <Property Name="kill_hostile_soldier" Type="bigint" Nullable="false" />
-          <Property Name="max_total_damage" Type="int" Nullable="false" />
-          <Property Name="max_total_suffer_damage" Type="int" Nullable="false" />
-          <Property Name="max_total_heal" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_map_play_info_hero">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="map_type" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="hero_id" Type="bigint" Nullable="false" />
-          <Property Name="play_count" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_map_play_info_hero_pet">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-            <PropertyRef Name="guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="map_type" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="guid" Type="ubigint" Nullable="false" />
-          <Property Name="play_count" Type="int" Nullable="false" />
-          <Property Name="play_count_s" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_meta">
-          <Key>
-            <PropertyRef Name="meta_key" />
-          </Key>
-          <Property Name="meta_key" Type="varchar" Nullable="false" MaxLength="64" />
-          <Property Name="meta_value" Type="varchar" MaxLength="255" />
-        </EntityType>
-        <EntityType Name="t_offline_message">
-          <Key>
-            <PropertyRef Name="fid" />
-          </Key>
-          <Property Name="fid" Type="ubigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="proto_name" Type="varchar" Nullable="false" MaxLength="80" />
-          <Property Name="content" Type="longtext" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <!--生成过程中发现错误:
-      警告 6002: 表/视图“def.tanghai.t_pve_equipment_scheme”未定义主键。已推断出该键,并将定义创建为只读的表/视图。
-      -->
-        <EntityType Name="t_pve_equipment_scheme">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="scheme_id" />
-            <PropertyRef Name="slot0_item_guid" />
-            <PropertyRef Name="slot1_item_guid" />
-            <PropertyRef Name="slot2_item_guid" />
-            <PropertyRef Name="slot3_item_guid" />
-            <PropertyRef Name="slot4_item_guid" />
-            <PropertyRef Name="slot5_item_guid" />
-            <PropertyRef Name="slot6_item_guid" />
-            <PropertyRef Name="slot7_item_guid" />
-            <PropertyRef Name="slot8_item_guid" />
-            <PropertyRef Name="slot9_item_guid" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="scheme_id" Type="int" Nullable="false" />
-          <Property Name="scheme_name" Type="varchar" MaxLength="64" />
-          <Property Name="slot0_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot1_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot2_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot3_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot4_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot5_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot6_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot7_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot8_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot9_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <!--生成过程中发现错误:
-      警告 6002: 表/视图“def.tanghai.t_pve_equipment_strength”未定义主键。已推断出该键,并将定义创建为只读的表/视图。
-      -->
-        <EntityType Name="t_pve_equipment_strength">
-          <Key>
-            <PropertyRef Name="guid" />
-            <PropertyRef Name="strength_lv" />
-            <PropertyRef Name="strength_value" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="guid" Type="ubigint" Nullable="false" />
-          <Property Name="strength_lv" Type="int" Nullable="false" />
-          <Property Name="strength_value" Type="double" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_questionnaire">
-          <Key>
-            <PropertyRef Name="questionnaire_id" />
-          </Key>
-          <Property Name="questionnaire_id" Type="ubigint" Nullable="false" StoreGeneratedPattern="Identity" />
-          <Property Name="content" Type="text" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_rune_scheme">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="scheme_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="scheme_id" Type="int" Nullable="false" />
-          <Property Name="scheme_name" Type="varchar" Nullable="false" MaxLength="50" />
-          <Property Name="slot0_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot1_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot2_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot3_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot4_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot5_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot6_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot7_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot8_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot9_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot10_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot11_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot12_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot13_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="slot14_item_guid" Type="ubigint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" />
-          <Property Name="modify_time" Type="datetime" />
-        </EntityType>
-        <EntityType Name="t_social_group_basic">
-          <Key>
-            <PropertyRef Name="group_guid" />
-          </Key>
-          <Property Name="group_guid" Type="ubigint" Nullable="false" />
-          <Property Name="group_name" Type="char" Nullable="false" MaxLength="128" />
-          <Property Name="group_type" Type="int" Nullable="false" />
-          <Property Name="owner_guid" Type="ubigint" Nullable="false" />
-          <Property Name="owner_name" Type="char" Nullable="false" MaxLength="128" />
-          <Property Name="member_size" Type="int" Nullable="false" />
-          <Property Name="manager_size" Type="int" Nullable="false" />
-          <Property Name="bulletin" Type="text" />
-          <Property Name="join_rule" Type="int" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_social_group_manager">
-          <Key>
-            <PropertyRef Name="group_guid" />
-            <PropertyRef Name="manager_guid" />
-          </Key>
-          <Property Name="group_guid" Type="ubigint" Nullable="false" />
-          <Property Name="manager_guid" Type="ubigint" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_social_group_member">
-          <Key>
-            <PropertyRef Name="group_guid" />
-            <PropertyRef Name="member_guid" />
-          </Key>
-          <Property Name="group_guid" Type="ubigint" Nullable="false" />
-          <Property Name="member_guid" Type="ubigint" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_title_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="title_id" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="title_id" Type="int" Nullable="false" />
-          <Property Name="new_title" Type="bool" />
-          <Property Name="valid_time" Type="int" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_treasure">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="daily_count" Type="int" Nullable="false" />
-          <Property Name="daily_count_uptime" Type="uint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_tutorial">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="is_first_login" Type="tinyint" />
-          <Property Name="close_beginner_map_guide" Type="bool" />
-          <Property Name="match_count" Type="int" />
-          <Property Name="quick_match_count" Type="int" />
-          <Property Name="close_compound_hero_guide" Type="bool" />
-          <Property Name="gain_hero_pet_item" Type="bool" />
-          <Property Name="create_time" Type="datetime" />
-          <Property Name="modify_time" Type="datetime" />
-        </EntityType>
-        <EntityType Name="t_tutorial_status_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="ubigint" Nullable="false" />
-          <Property Name="beginner_map_win_count" Type="int" Nullable="false" />
-          <Property Name="match_count" Type="int" Nullable="false" />
-          <Property Name="quick_match_count" Type="int" Nullable="false" />
-          <Property Name="is_close_notify_tutorial" Type="tinyint" Nullable="false" />
-          <Property Name="is_close_notify_mini_tutorial" Type="tinyint" Nullable="false" />
-          <Property Name="create_time" Type="datetime" Nullable="false" />
-          <Property Name="modify_time" Type="datetime" Nullable="false" />
-        </EntityType>
-      </Schema>
-    </edmx:StorageModels>
-    <!-- CSDL content -->
-    <edmx:ConceptualModels>
-      <Schema Namespace="DataCenterModel" Alias="Self" p1:UseStrongSpatialTypes="false" xmlns:annotation="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns:p1="http://schemas.microsoft.com/ado/2009/02/edm/annotation" xmlns="http://schemas.microsoft.com/ado/2009/11/edm">
-        <EntityContainer Name="DataCenterEntities" p1:LazyLoadingEnabled="true">
-          <EntitySet Name="t_account" EntityType="DataCenterModel.t_account" />
-          <EntitySet Name="t_account_active_code" EntityType="DataCenterModel.t_account_active_code" />
-          <EntitySet Name="t_account_login_auth_response_cookie" EntityType="DataCenterModel.t_account_login_auth_response_cookie" />
-          <EntitySet Name="t_active_code" EntityType="DataCenterModel.t_active_code" />
-          <EntitySet Name="t_attribute" EntityType="DataCenterModel.t_attribute" />
-          <EntitySet Name="t_auction_item" EntityType="DataCenterModel.t_auction_item" />
-          <EntitySet Name="t_available_map" EntityType="DataCenterModel.t_available_map" />
-          <EntitySet Name="t_battle_gameover_statistic" EntityType="DataCenterModel.t_battle_gameover_statistic" />
-          <EntitySet Name="t_battle_kill_detail" EntityType="DataCenterModel.t_battle_kill_detail" />
-          <EntitySet Name="t_battle_summary" EntityType="DataCenterModel.t_battle_summary" />
-          <EntitySet Name="t_beginner_group_config" EntityType="DataCenterModel.t_beginner_group_config" />
-          <EntitySet Name="t_beginner_group_cong" EntityType="DataCenterModel.t_beginner_group_cong" />
-          <EntitySet Name="t_beginner_group_event" EntityType="DataCenterModel.t_beginner_group_event" />
-          <EntitySet Name="t_challenge_activity" EntityType="DataCenterModel.t_challenge_activity" />
-          <EntitySet Name="t_challenge_activity_schedule" EntityType="DataCenterModel.t_challenge_activity_schedule" />
-          <EntitySet Name="t_challenge_character_elect_hero" EntityType="DataCenterModel.t_challenge_character_elect_hero" />
-          <EntitySet Name="t_challenge_elect_hero_stat" EntityType="DataCenterModel.t_challenge_elect_hero_stat" />
-          <EntitySet Name="t_challenge_game_player" EntityType="DataCenterModel.t_challenge_game_player" />
-          <EntitySet Name="t_challenge_guess_game_over" EntityType="DataCenterModel.t_challenge_guess_game_over" />
-          <EntitySet Name="t_challenge_guess_reward" EntityType="DataCenterModel.t_challenge_guess_reward" />
-          <EntitySet Name="t_challenge_kfz_hero" EntityType="DataCenterModel.t_challenge_kfz_hero" />
-          <EntitySet Name="t_challenge_statue_info" EntityType="DataCenterModel.t_challenge_statue_info" />
-          <EntitySet Name="t_challenge_task_reward" EntityType="DataCenterModel.t_challenge_task_reward" />
-          <EntitySet Name="t_character" EntityType="DataCenterModel.t_character" />
-          <EntitySet Name="t_character_achievement" EntityType="DataCenterModel.t_character_achievement" />
-          <EntitySet Name="t_character_appearance" EntityType="DataCenterModel.t_character_appearance" />
-          <EntitySet Name="t_character_assets" EntityType="DataCenterModel.t_character_assets" />
-          <EntitySet Name="t_character_default_fighting_options" EntityType="DataCenterModel.t_character_default_fighting_options" />
-          <EntitySet Name="t_character_item" EntityType="DataCenterModel.t_character_item" />
-          <EntitySet Name="t_character_options" EntityType="DataCenterModel.t_character_options" />
-          <EntitySet Name="t_character_questionnaire" EntityType="DataCenterModel.t_character_questionnaire" />
-          <EntitySet Name="t_charge_list" EntityType="DataCenterModel.t_charge_list" />
-          <EntitySet Name="t_city_buff" EntityType="DataCenterModel.t_city_buff" />
-          <EntitySet Name="t_city_task_finish_sub_state" EntityType="DataCenterModel.t_city_task_finish_sub_state" />
-          <EntitySet Name="t_city_task_info" EntityType="DataCenterModel.t_city_task_info" />
-          <EntitySet Name="t_client_config" EntityType="DataCenterModel.t_client_config" />
-          <EntitySet Name="t_common_spell" EntityType="DataCenterModel.t_common_spell" />
-          <EntitySet Name="t_daily_online_time" EntityType="DataCenterModel.t_daily_online_time" />
-          <EntitySet Name="t_employ_notice_status" EntityType="DataCenterModel.t_employ_notice_status" />
-          <EntitySet Name="t_employ_relation" EntityType="DataCenterModel.t_employ_relation" />
-          <EntitySet Name="t_employee_info" EntityType="DataCenterModel.t_employee_info" />
-          <EntitySet Name="t_employee_notice" EntityType="DataCenterModel.t_employee_notice" />
-          <EntitySet Name="t_employer_notice" EntityType="DataCenterModel.t_employer_notice" />
-          <EntitySet Name="t_fighting_evaluation_info" EntityType="DataCenterModel.t_fighting_evaluation_info" />
-          <EntitySet Name="t_friend" EntityType="DataCenterModel.t_friend" />
-          <EntitySet Name="t_friend_ban_match" EntityType="DataCenterModel.t_friend_ban_match" />
-          <EntitySet Name="t_friend_group" EntityType="DataCenterModel.t_friend_group" />
-          <EntitySet Name="t_game_hero_use_info" EntityType="DataCenterModel.t_game_hero_use_info" />
-          <EntitySet Name="t_game_info" EntityType="DataCenterModel.t_game_info" />
-          <EntitySet Name="t_gs_code" EntityType="DataCenterModel.t_gs_code" />
-          <EntitySet Name="t_hero_color_scheme" EntityType="DataCenterModel.t_hero_color_scheme" />
-          <EntitySet Name="t_hero_level_state" EntityType="DataCenterModel.t_hero_level_state" />
-          <EntitySet Name="t_hero_pet" EntityType="DataCenterModel.t_hero_pet" />
-          <EntitySet Name="t_hero_suggest_equipment" EntityType="DataCenterModel.t_hero_suggest_equipment" />
-          <EntitySet Name="t_hero_unlock_hero" EntityType="DataCenterModel.t_hero_unlock_hero" />
-          <EntitySet Name="t_illegal_term_rules" EntityType="DataCenterModel.t_illegal_term_rules" />
-          <EntitySet Name="t_item_roll_list" EntityType="DataCenterModel.t_item_roll_list" />
-          <EntitySet Name="t_login_reward" EntityType="DataCenterModel.t_login_reward" />
-          <EntitySet Name="t_mail" EntityType="DataCenterModel.t_mail" />
-          <EntitySet Name="t_mail_item" EntityType="DataCenterModel.t_mail_item" />
-          <EntitySet Name="t_mall_items_sales_count" EntityType="DataCenterModel.t_mall_items_sales_count" />
-          <EntitySet Name="t_map_play_info" EntityType="DataCenterModel.t_map_play_info" />
-          <EntitySet Name="t_map_play_info_hero" EntityType="DataCenterModel.t_map_play_info_hero" />
-          <EntitySet Name="t_map_play_info_hero_pet" EntityType="DataCenterModel.t_map_play_info_hero_pet" />
-          <EntitySet Name="t_meta" EntityType="DataCenterModel.t_meta" />
-          <EntitySet Name="t_offline_message" EntityType="DataCenterModel.t_offline_message" />
-          <EntitySet Name="t_pve_equipment_scheme" EntityType="DataCenterModel.t_pve_equipment_scheme" />
-          <EntitySet Name="t_pve_equipment_strength" EntityType="DataCenterModel.t_pve_equipment_strength" />
-          <EntitySet Name="t_questionnaire" EntityType="DataCenterModel.t_questionnaire" />
-          <EntitySet Name="t_rune_scheme" EntityType="DataCenterModel.t_rune_scheme" />
-          <EntitySet Name="t_social_group_basic" EntityType="DataCenterModel.t_social_group_basic" />
-          <EntitySet Name="t_social_group_manager" EntityType="DataCenterModel.t_social_group_manager" />
-          <EntitySet Name="t_social_group_member" EntityType="DataCenterModel.t_social_group_member" />
-          <EntitySet Name="t_title_info" EntityType="DataCenterModel.t_title_info" />
-          <EntitySet Name="t_treasure" EntityType="DataCenterModel.t_treasure" />
-          <EntitySet Name="t_tutorial" EntityType="DataCenterModel.t_tutorial" />
-          <EntitySet Name="t_tutorial_status_info" EntityType="DataCenterModel.t_tutorial_status_info" />
-        </EntityContainer>
-        <EntityType Name="t_account">
-          <Key>
-            <PropertyRef Name="account" />
-          </Key>
-          <Property Name="account" Type="String" Nullable="false" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="account_guid" Type="Decimal" />
-          <Property Name="sessionkey" Type="Binary" MaxLength="Max" FixedLength="false" />
-          <Property Name="v" Type="String" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="s" Type="String" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="active_code" Type="String" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="active_code_used" Type="Boolean" />
-          <Property Name="first_char_guid" Type="Decimal" />
-          <Property Name="gm_level" Type="Int32" />
-          <Property Name="create_time" Type="DateTime" />
-          <Property Name="modify_time" Type="DateTime" />
-        </EntityType>
-        <EntityType Name="t_account_active_code">
-          <Key>
-            <PropertyRef Name="account" />
-            <PropertyRef Name="gain_active_codes" />
-          </Key>
-          <Property Name="account" Type="String" Nullable="false" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="gain_active_codes" Type="String" Nullable="false" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" />
-          <Property Name="modify_time" Type="DateTime" />
-        </EntityType>
-        <EntityType Name="t_account_login_auth_response_cookie">
-          <Key>
-            <PropertyRef Name="account" />
-          </Key>
-          <Property Name="account" Type="String" Nullable="false" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="aid" Type="String" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="ssn" Type="String" MaxLength="100" Unicode="false" FixedLength="false" />
-          <Property Name="gamepoint" Type="String" MaxLength="10" Unicode="false" FixedLength="false" />
-          <Property Name="balance" Type="String" MaxLength="10" Unicode="false" FixedLength="false" />
-          <Property Name="sn" Type="String" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="user_type" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="otpstat" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="otpuptime" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="infosafe" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="phonestat" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="ppcstat" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="ppccoord" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="mppstat" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="rnstat" Type="String" MaxLength="10" Unicode="false" FixedLength="false" />
-          <Property Name="regtime" Type="String" MaxLength="10" Unicode="false" FixedLength="false" />
-          <Property Name="mobileno" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="need_activate_game" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="game_flag" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="deactivated" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="uidcount" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="newtm" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="vipstatus" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="is_vip_phone_trusty" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="is_vip_addr_trusty" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="real_name_flag" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="mobileisactivated" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="secu_info_ready" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="secu_info_pin_ma" Type="String" MaxLength="5" Unicode="false" FixedLength="false" />
-          <Property Name="secu_info_id_num" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="id_num" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" />
-          <Property Name="modify_time" Type="DateTime" />
-        </EntityType>
-        <EntityType Name="t_active_code">
-          <Key>
-            <PropertyRef Name="active_code" />
-          </Key>
-          <Property Name="active_code" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="code_type" Type="Int32" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="grant_type" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_attribute">
-          <Key>
-            <PropertyRef Name="guid" />
-            <PropertyRef Name="id" />
-            <PropertyRef Name="sub_id" />
-            <PropertyRef Name="value" />
-            <PropertyRef Name="attr_type" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="guid" Type="Decimal" Nullable="false" />
-          <Property Name="id" Type="Int32" Nullable="false" />
-          <Property Name="sub_id" Type="Int32" Nullable="false" />
-          <Property Name="value" Type="Double" Nullable="false" />
-          <Property Name="attr_type" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_auction_item">
-          <Key>
-            <PropertyRef Name="item_guid" />
-          </Key>
-          <Property Name="item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="seller_guid" Type="Decimal" Nullable="false" />
-          <Property Name="seller_name" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="seller_ip" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="auction_class" Type="Int16" Nullable="false" />
-          <Property Name="item_name" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="item_id" Type="Int32" Nullable="false" />
-          <Property Name="assets_type" Type="Int16" Nullable="false" />
-          <Property Name="deposit" Type="Int32" Nullable="false" />
-          <Property Name="sum_price" Type="Int32" Nullable="false" />
-          <Property Name="unit_price" Type="Single" Nullable="false" />
-          <Property Name="expire_time" Type="DateTime" Nullable="false" />
-          <Property Name="tran_guid" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_available_map">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="map_type" Type="String" Nullable="false" MaxLength="80" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_battle_gameover_statistic">
-          <Key>
-            <PropertyRef Name="battle_guid" />
-          </Key>
-          <Property Name="battle_guid" Type="Decimal" Nullable="false" />
-          <Property Name="gameover_statistic" Type="Binary" MaxLength="Max" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_battle_kill_detail">
-          <Key>
-            <PropertyRef Name="kill_id" />
-          </Key>
-          <Property Name="kill_id" Type="Decimal" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="battle_guid" Type="Decimal" Nullable="false" />
-          <Property Name="kill_type" Type="Int64" Nullable="false" />
-          <Property Name="kill_name" Type="String" MaxLength="50" Unicode="false" FixedLength="false" />
-          <Property Name="kill_guid" Type="Decimal" />
-          <Property Name="assist_name" Type="String" MaxLength="200" Unicode="false" FixedLength="false" />
-          <Property Name="kill_time" Type="Int32" />
-          <Property Name="killed_name" Type="String" MaxLength="50" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_battle_summary">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="battle_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="battle_guid" Type="Decimal" Nullable="false" />
-          <Property Name="pvp_or_pve" Type="Boolean" />
-          <Property Name="is_win" Type="Boolean" />
-          <Property Name="is_mvp" Type="Boolean" />
-          <Property Name="is_most_kill_person" Type="Boolean" />
-          <Property Name="is_most_assist" Type="Boolean" />
-          <Property Name="is_most_money" Type="Boolean" />
-          <Property Name="is_down_tower" Type="Boolean" />
-          <Property Name="is_most_kill_friend" Type="Boolean" />
-          <Property Name="is_lost_mvp" Type="Boolean" />
-          <Property Name="is_s_pve_map" Type="Boolean" />
-          <Property Name="is_first_blood" Type="Boolean" />
-          <Property Name="is_pve_most_kill_boss" Type="Boolean" />
-          <Property Name="is_pve_most_take_damage" Type="Boolean" />
-          <Property Name="is_pve_most_healing" Type="Boolean" />
-          <Property Name="is_pve_most_damage" Type="Boolean" />
-          <Property Name="map_type" Type="String" MaxLength="20" Unicode="false" FixedLength="false" />
-          <Property Name="battle_date" Type="String" MaxLength="30" Unicode="false" FixedLength="false" />
-          <Property Name="battle_time" Type="Int32" />
-          <Property Name="is_escape" Type="Boolean" />
-          <Property Name="hero_id" Type="Int32" />
-          <Property Name="match_type" Type="Int32" />
-          <Property Name="is_reinforce" Type="Boolean" />
-          <Property Name="pvp_kill_count" Type="Int32" />
-          <Property Name="pvp_assist_count" Type="Int32" />
-          <Property Name="pvp_dead_count" Type="Int32" />
-          <Property Name="pvp_most_continuous_kill_number" Type="Int32" />
-          <Property Name="pvp_score" Type="Int32" />
-          <Property Name="pve_boss_kill" Type="Int32" />
-          <Property Name="pve_kill_hostile_soldier" Type="Int32" />
-          <Property Name="pve_total_money" Type="Int32" />
-          <Property Name="pve_get_level" Type="Int32" />
-          <Property Name="is_employ_battle" Type="Boolean" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_beginner_group_config">
-          <Key>
-            <PropertyRef Name="aid" />
-          </Key>
-          <Property Name="aid" Type="Decimal" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="max_group_id" Type="Int32" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_beginner_group_cong">
-          <Key>
-            <PropertyRef Name="group_guid" />
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="group_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_level" Type="Int32" Nullable="false" />
-          <Property Name="cong_guid_list" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_beginner_group_event">
-          <Key>
-            <PropertyRef Name="event_guid" />
-          </Key>
-          <Property Name="event_guid" Type="Decimal" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="beginner_group_guid" Type="Decimal" Nullable="false" />
-          <Property Name="event_id" Type="Int32" Nullable="false" />
-          <Property Name="event_content" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_activity">
-          <Key>
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="activity_status" Type="Int32" Nullable="false" />
-          <Property Name="start_time" Type="DateTime" Nullable="false" />
-          <Property Name="battle_id" Type="Decimal" Nullable="false" />
-          <Property Name="challenger_win" Type="Boolean" Nullable="false" />
-          <Property Name="kfz_best_hero" Type="Int32" Nullable="false" />
-          <Property Name="game_over_time" Type="DateTime" />
-          <Property Name="challenger_win_bet" Type="Int64" Nullable="false" />
-          <Property Name="challenger_lose_bet" Type="Int64" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_activity_schedule">
-          <Key>
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="elect_from_time" Type="DateTime" Nullable="false" />
-          <Property Name="elect_to_time" Type="DateTime" Nullable="false" />
-          <Property Name="guess_from_time" Type="DateTime" Nullable="false" />
-          <Property Name="guess_to_time" Type="DateTime" Nullable="false" />
-          <Property Name="reward_from_time" Type="DateTime" Nullable="false" />
-          <Property Name="reward_to_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_character_elect_hero">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_elect_hero_stat">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="game_position" Type="Int32" Nullable="false" />
-          <Property Name="vote_count" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_game_player">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="is_win" Type="Boolean" Nullable="false" />
-          <Property Name="faction" Type="Int32" Nullable="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="title" Type="String" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="platform_title_id" Type="Int32" Nullable="false" />
-          <Property Name="character_name" Type="String" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_guess_game_over">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="challenger_win" Type="Boolean" Nullable="false" />
-          <Property Name="challenger_win_bet" Type="Int32" Nullable="false" />
-          <Property Name="kfz_best_hero" Type="Int32" Nullable="false" />
-          <Property Name="kfz_best_hero_bet" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_guess_reward">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="winner_guess_silver" Type="Int32" Nullable="false" />
-          <Property Name="best_hero_guess_silver" Type="Int32" Nullable="false" />
-          <Property Name="is_taked" Type="Boolean" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_kfz_hero">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="game_position" Type="Int32" Nullable="false" />
-          <Property Name="best_bet" Type="Int64" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_statue_info">
-          <Key>
-            <PropertyRef Name="activity_id" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="from_time" Type="DateTime" Nullable="false" />
-          <Property Name="to_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_challenge_task_reward">
-          <Key>
-            <PropertyRef Name="activity_id" />
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="reward_type" />
-          </Key>
-          <Property Name="activity_id" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="reward_type" Type="Int32" Nullable="false" />
-          <Property Name="task_id" Type="Int32" Nullable="false" />
-          <Property Name="is_taked" Type="Boolean" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="general_class" Type="Int32" Nullable="false" />
-          <Property Name="character_name" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="sex" Type="Int32" Nullable="false" />
-          <Property Name="account_id" Type="Decimal" Nullable="false" />
-          <Property Name="playing_map_server_key" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="group_guid" Type="Decimal" Nullable="false" />
-          <Property Name="room_guid" Type="Decimal" Nullable="false" />
-          <Property Name="general_ghost" Type="Int32" Nullable="false" />
-          <Property Name="kingdom" Type="Int32" Nullable="false" />
-          <Property Name="create_ip" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="area_id" Type="Int32" Nullable="false" />
-          <Property Name="account" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="default_display_id" Type="Int32" Nullable="false" />
-          <Property Name="selected_title_type" Type="Int32" Nullable="false" />
-          <Property Name="last_login_time" Type="Int64" Nullable="false" />
-          <Property Name="login_ip" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="is_first_login" Type="Boolean" Nullable="false" />
-          <Property Name="has_newly_mail" Type="Boolean" Nullable="false" />
-          <Property Name="location" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="history_silver" Type="Int64" Nullable="false" />
-          <Property Name="history_charge_gold" Type="Int64" Nullable="false" />
-          <Property Name="history_free_gold" Type="Int64" Nullable="false" />
-          <Property Name="rank_bonus_title_id" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="recent_flee_buff_id" Type="Int32" Nullable="false" />
-          <Property Name="add_buff_yday" Type="Int32" Nullable="false" />
-          <Property Name="need_rename" Type="SByte" Nullable="false" />
-          <Property Name="can_gain_active_code_item" Type="Boolean" Nullable="false" />
-          <Property Name="total_online_seconds" Type="Int64" Nullable="false" />
-          <Property Name="city_server_name" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="last_login_realtime" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="anti_addiction_online_time" Type="Int32" Nullable="false" />
-          <Property Name="anti_addiction_offline_time" Type="Int32" Nullable="false" />
-          <Property Name="gs_active_code" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="ban_login_expired_time" Type="Int64" />
-          <Property Name="ban_chat_expired_time" Type="Int64" />
-          <Property Name="pve_equipment_max_strengthen_level" Type="Int32" Nullable="false" />
-          <Property Name="pve_equipment_active_scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="pos_x" Type="Double" Nullable="false" />
-          <Property Name="pos_y" Type="Double" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_achievement">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="achievement_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="achievement_id" Type="Int32" Nullable="false" />
-          <Property Name="event_count" Type="Int32" />
-          <Property Name="is_accomplished" Type="Boolean" Nullable="false" />
-          <Property Name="accomplish_time" Type="DateTime" />
-          <Property Name="hero_id" Type="Int32" />
-          <Property Name="battle_guid" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" />
-          <Property Name="modify_time" Type="DateTime" />
-        </EntityType>
-        <EntityType Name="t_character_appearance">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="appearance_type" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="appearance_type" Type="Int32" Nullable="false" />
-          <Property Name="headdress" Type="Decimal" Nullable="false" />
-          <Property Name="wing" Type="Decimal" Nullable="false" />
-          <Property Name="clothes" Type="Decimal" Nullable="false" />
-          <Property Name="weapon" Type="Decimal" Nullable="false" />
-          <Property Name="magic_weapon" Type="Decimal" Nullable="false" />
-          <Property Name="mounts" Type="Decimal" Nullable="false" />
-          <Property Name="face" Type="Decimal" Nullable="false" />
-          <Property Name="riding_status" Type="Int32" Nullable="false" />
-          <Property Name="color1" Type="Int64" Nullable="false" />
-          <Property Name="color2" Type="Int64" Nullable="false" />
-          <Property Name="color3" Type="Int64" Nullable="false" />
-          <Property Name="color4" Type="Int64" Nullable="false" />
-          <Property Name="color5" Type="Int64" Nullable="false" />
-          <Property Name="default_visual" Type="Int32" Nullable="false" />
-          <Property Name="default_face" Type="Int32" Nullable="false" />
-          <Property Name="default_headdress" Type="Int32" Nullable="false" />
-          <Property Name="color_scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_assets">
-          <Key>
-            <PropertyRef Name="assets_id" />
-          </Key>
-          <Property Name="assets_id" Type="Int64" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="assets_type" Type="Int16" Nullable="false" />
-          <Property Name="balance" Type="Int64" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_default_fighting_options">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="last_common_spell_series_id" Type="Int32" Nullable="false" />
-          <Property Name="last_rune_scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_item">
-          <Key>
-            <PropertyRef Name="item_guid" />
-          </Key>
-          <Property Name="item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="item_id" Type="Int32" Nullable="false" />
-          <Property Name="slot" Type="Int32" Nullable="false" />
-          <Property Name="item_count" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="source" Type="Int32" Nullable="false" />
-          <Property Name="is_bound" Type="Boolean" Nullable="false" />
-          <Property Name="location" Type="Int32" Nullable="false" />
-          <Property Name="attributes" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="buy_time" Type="DateTime" Nullable="false" />
-          <Property Name="expire_time" Type="DateTime" Nullable="false" />
-          <Property Name="buy_type" Type="Int32" Nullable="false" />
-          <Property Name="pay_type" Type="Int32" Nullable="false" />
-          <Property Name="pay_yuanbao" Type="Int32" Nullable="false" />
-          <Property Name="free_yuanbao" Type="Int32" Nullable="false" />
-          <Property Name="reiki_count" Type="Int32" Nullable="false" />
-          <Property Name="durability_count" Type="Int32" Nullable="false" />
-          <Property Name="recast_count" Type="Int32" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_options">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="rune_not_show_binding_tips" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_character_questionnaire">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="questionnaire_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="questionnaire_id" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_charge_list">
-          <Key>
-            <PropertyRef Name="charge_listid" />
-          </Key>
-          <Property Name="charge_listid" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="charge_sn" Type="String" Nullable="false" MaxLength="40" Unicode="false" FixedLength="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="account" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="ip" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="pay_points" Type="Int32" Nullable="false" />
-          <Property Name="charge_yuanbao" Type="Int32" Nullable="false" />
-          <Property Name="free_yuanbao" Type="Int32" Nullable="false" />
-          <Property Name="url_parameters" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="charge_state" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="retry_times" Type="Int32" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_city_buff">
-          <Key>
-            <PropertyRef Name="buff_guid" />
-          </Key>
-          <Property Name="buff_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="buff_id" Type="Int32" Nullable="false" />
-          <Property Name="buff_time" Type="Int32" Nullable="false" />
-          <Property Name="stack" Type="Int32" Nullable="false" />
-          <Property Name="buff_values" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_city_task_finish_sub_state">
-          <Key>
-            <PropertyRef Name="task_guid" />
-            <PropertyRef Name="city_task_sub_state_type" />
-          </Key>
-          <Property Name="task_guid" Type="Decimal" Nullable="false" />
-          <Property Name="city_task_sub_state_type" Type="Int32" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="total_count" Type="Int32" Nullable="false" />
-          <Property Name="finish_count" Type="Int32" Nullable="false" />
-          <Property Name="detail" Type="String" Nullable="false" MaxLength="1024" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_city_task_info">
-          <Key>
-            <PropertyRef Name="task_guid" />
-          </Key>
-          <Property Name="task_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="task_id" Type="Int32" Nullable="false" />
-          <Property Name="state" Type="Int32" Nullable="false" />
-          <Property Name="finish_timestamp" Type="Decimal" Nullable="false" />
-          <Property Name="accept_time" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_client_config">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="map_type" Type="String" Nullable="false" MaxLength="80" Unicode="false" FixedLength="false" />
-          <Property Name="key_setting" Type="String" Nullable="false" MaxLength="2048" Unicode="false" FixedLength="false" />
-          <Property Name="use_dota_key" Type="Boolean" Nullable="false" />
-          <Property Name="shop_using_price_classify" Type="Boolean" Nullable="false" />
-          <Property Name="client_config_str" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_common_spell">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="common_spell_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="common_spell_id" Type="Int32" Nullable="false" />
-          <Property Name="common_spell_series" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_daily_online_time">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="login_date" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="login_date" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="online_time" Type="Int32" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employ_notice_status">
-          <Key>
-            <PropertyRef Name="employ_notice_status_id" />
-          </Key>
-          <Property Name="employ_notice_status_id" Type="Int32" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="publisher_guid" Type="Decimal" Nullable="false" />
-          <Property Name="applicant_guid" Type="Decimal" Nullable="false" />
-          <Property Name="status" Type="Decimal" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employ_relation">
-          <Key>
-            <PropertyRef Name="employ_relation_id" />
-          </Key>
-          <Property Name="employ_relation_id" Type="Int32" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="employer_guid" Type="Decimal" Nullable="false" />
-          <Property Name="employee_guid" Type="Decimal" Nullable="false" />
-          <Property Name="assets_type" Type="Int32" Nullable="false" />
-          <Property Name="price" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employee_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="employee_experience" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employee_notice">
-          <Key>
-            <PropertyRef Name="employee_guid" />
-          </Key>
-          <Property Name="employee_guid" Type="Decimal" Nullable="false" />
-          <Property Name="apply_type" Type="Int32" Nullable="false" />
-          <Property Name="assets_type" Type="Int32" Nullable="false" />
-          <Property Name="price" Type="Int32" Nullable="false" />
-          <Property Name="publish_time" Type="DateTime" Nullable="false" />
-          <Property Name="expire_time" Type="DateTime" Nullable="false" />
-          <Property Name="success" Type="Boolean" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_employer_notice">
-          <Key>
-            <PropertyRef Name="employer_guid" />
-          </Key>
-          <Property Name="employer_guid" Type="Decimal" Nullable="false" />
-          <Property Name="want_type" Type="Int32" Nullable="false" />
-          <Property Name="employee_level_condition" Type="Int32" Nullable="false" />
-          <Property Name="player_level_condition" Type="Int32" Nullable="false" />
-          <Property Name="player_pvp_score_condition" Type="Int32" Nullable="false" />
-          <Property Name="assets_type" Type="Int32" Nullable="false" />
-          <Property Name="price" Type="Int32" Nullable="false" />
-          <Property Name="publish_time" Type="DateTime" Nullable="false" />
-          <Property Name="expire_time" Type="DateTime" Nullable="false" />
-          <Property Name="success" Type="Boolean" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_fighting_evaluation_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="evaluate_player_guid" />
-            <PropertyRef Name="evaluate_type" />
-            <PropertyRef Name="evaluate_time" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="evaluate_player_guid" Type="Decimal" Nullable="false" />
-          <Property Name="evaluate_type" Type="Int32" Nullable="false" />
-          <Property Name="evaluate_time" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_friend">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="friend_guid" />
-            <PropertyRef Name="group_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="friend_guid" Type="Decimal" Nullable="false" />
-          <Property Name="group_id" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_friend_ban_match">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="ban_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="ban_guid" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_friend_group">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="group_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="group_id" Type="Int32" Nullable="false" />
-          <Property Name="group_name" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="is_sys_group" Type="SByte" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_game_hero_use_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="use_count" Type="Int32" Nullable="false" />
-          <Property Name="pvp_score" Type="Int32" Nullable="false" />
-          <Property Name="pvp_score_uptime" Type="Int64" Nullable="false" />
-          <Property Name="mvp_count" Type="Int32" Nullable="false" />
-          <Property Name="mvp_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="achievement" Type="Int32" Nullable="false" />
-          <Property Name="achievement_uptime" Type="Int64" Nullable="false" />
-          <Property Name="loser_mvp_count" Type="Int32" Nullable="false" />
-          <Property Name="loser_mvp_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="daily_kill_count" Type="Int32" Nullable="false" />
-          <Property Name="daily_kill_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="daily_dead_count" Type="Int32" Nullable="false" />
-          <Property Name="daily_dead_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="daily_assist_count" Type="Int32" Nullable="false" />
-          <Property Name="daily_assist_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="daily_total_money" Type="Int32" Nullable="false" />
-          <Property Name="daily_total_money_uptime" Type="Int64" Nullable="false" />
-          <Property Name="daily_kill_friend_soldier" Type="Int32" Nullable="false" />
-          <Property Name="daily_kill_friend_soldier_uptime" Type="Int64" Nullable="false" />
-          <Property Name="win_count" Type="Int32" Nullable="false" />
-          <Property Name="trueskill" Type="Double" Nullable="false" />
-          <Property Name="total_kill_count" Type="Int64" Nullable="false" />
-          <Property Name="total_assist_count" Type="Int64" Nullable="false" />
-          <Property Name="total_dead_count" Type="Int64" Nullable="false" />
-          <Property Name="total_first_blood" Type="Int64" Nullable="false" />
-          <Property Name="total_killed_by_first_blood" Type="Int64" Nullable="false" />
-          <Property Name="total_get_money" Type="Int64" Nullable="false" />
-          <Property Name="total_kill_hostile_soldier" Type="Int64" Nullable="false" />
-          <Property Name="total_kill_friend_soldier" Type="Int64" Nullable="false" />
-          <Property Name="total_destroy_hostile_tower" Type="Int64" Nullable="false" />
-          <Property Name="total_destroy_friend_tower" Type="Int64" Nullable="false" />
-          <Property Name="total_kill_monster_number" Type="Int64" Nullable="false" />
-          <Property Name="most_continuous_kill_number" Type="Int64" Nullable="false" />
-          <Property Name="total_physics_damage" Type="Int64" Nullable="false" />
-          <Property Name="total_magic_damage" Type="Int64" Nullable="false" />
-          <Property Name="max_kill_hostile_soldier_times" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="score_update_count" Type="Int32" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_game_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_name" Type="String" Nullable="false" MaxLength="50" Unicode="false" FixedLength="false" />
-          <Property Name="register_area" Type="Int32" Nullable="false" />
-          <Property Name="character_level" Type="Int32" Nullable="false" />
-          <Property Name="experience" Type="Int32" Nullable="false" />
-          <Property Name="experience_uptime" Type="Int64" Nullable="false" />
-          <Property Name="stage_score" Type="Int32" Nullable="false" />
-          <Property Name="stage_score_uptime" Type="Int64" Nullable="false" />
-          <Property Name="win_count" Type="Int32" Nullable="false" />
-          <Property Name="lose_count" Type="Int32" Nullable="false" />
-          <Property Name="flee_count" Type="Int32" Nullable="false" />
-          <Property Name="max_kill_games" Type="Int32" Nullable="false" />
-          <Property Name="max_assist_games" Type="Int32" Nullable="false" />
-          <Property Name="max_destroy_hostile_towner_games" Type="Int32" Nullable="false" />
-          <Property Name="first_blood_games" Type="Int32" Nullable="false" />
-          <Property Name="max_money_games" Type="Int32" Nullable="false" />
-          <Property Name="kill_boss_count" Type="Int32" Nullable="false" />
-          <Property Name="kill_boss_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="max_money" Type="Int32" Nullable="false" />
-          <Property Name="max_assist" Type="Int32" Nullable="false" />
-          <Property Name="max_kill" Type="Int32" Nullable="false" />
-          <Property Name="exploit_value" Type="Int32" Nullable="false" />
-          <Property Name="pass_level_count" Type="Int32" Nullable="false" />
-          <Property Name="lose_level_count" Type="Int32" Nullable="false" />
-          <Property Name="get_s_count" Type="Int32" Nullable="false" />
-          <Property Name="last_level_up_time" Type="Int64" Nullable="false" />
-          <Property Name="mean" Type="Double" Nullable="false" />
-          <Property Name="deviation" Type="Double" Nullable="false" />
-          <Property Name="total_kill_boss_number" Type="Decimal" Nullable="false" />
-          <Property Name="played_time" Type="Decimal" Nullable="false" />
-          <Property Name="in_city_time" Type="Decimal" Nullable="false" />
-          <Property Name="in_match_time" Type="Decimal" Nullable="false" />
-          <Property Name="in_room_time" Type="Decimal" Nullable="false" />
-          <Property Name="arena_match_score" Type="Int32" Nullable="false" />
-          <Property Name="funny_match_score" Type="Int32" Nullable="false" />
-          <Property Name="good_reputation_count" Type="Int32" Nullable="false" />
-          <Property Name="wujiangshilian_play_time" Type="Int32" Nullable="false" />
-          <Property Name="youzhou_last_play_soldier_count" Type="Int32" Nullable="false" />
-          <Property Name="youzhou_last_play_soldier_level" Type="Int32" Nullable="false" />
-          <Property Name="vip_exp" Type="Int32" Nullable="false" />
-          <Property Name="vip_exp_accumulate" Type="Int32" />
-          <Property Name="last_vip_exp_up_time" Type="Int64" />
-          <Property Name="employ_pvp_win_count_room" Type="Int32" Nullable="false" />
-          <Property Name="employ_pvp_lose_count_room" Type="Int32" Nullable="false" />
-          <Property Name="employ_pvp_flee_count_room" Type="Int32" Nullable="false" />
-          <Property Name="employ_pvp_win_count_match" Type="Int32" Nullable="false" />
-          <Property Name="employ_pvp_lose_count_match" Type="Int32" Nullable="false" />
-          <Property Name="employ_pvp_flee_count_match" Type="Int32" Nullable="false" />
-          <Property Name="employ_pve_pass_level_count" Type="Int32" Nullable="false" />
-          <Property Name="employ_pve_lose_level_count" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_gs_code">
-          <Key>
-            <PropertyRef Name="active_code" />
-          </Key>
-          <Property Name="active_code" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_name" Type="String" Nullable="false" MaxLength="32" Unicode="false" FixedLength="false" />
-          <Property Name="invitee_guid" Type="Decimal" Nullable="false" />
-          <Property Name="notify_inviter" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_color_scheme">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-            <PropertyRef Name="color_scheme_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="color_scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="color1" Type="Int64" Nullable="false" />
-          <Property Name="color2" Type="Int64" Nullable="false" />
-          <Property Name="color3" Type="Int64" Nullable="false" />
-          <Property Name="color4" Type="Int64" Nullable="false" />
-          <Property Name="color5" Type="Int64" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_level_state">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="level" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="level" Type="Int32" Nullable="false" />
-          <Property Name="selected_free_hero" Type="Boolean" />
-          <Property Name="selected_discount_hero" Type="Boolean" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_pet">
-          <Key>
-            <PropertyRef Name="guid" />
-          </Key>
-          <Property Name="guid" Type="Decimal" Nullable="false" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="name" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="location" Type="Int32" Nullable="false" />
-          <Property Name="level" Type="Int32" Nullable="false" />
-          <Property Name="expr" Type="Int32" Nullable="false" />
-          <Property Name="closeness" Type="Int32" Nullable="false" />
-          <Property Name="closeness_up_fail" Type="Int32" Nullable="false" />
-          <Property Name="merge_count" Type="Int32" Nullable="false" />
-          <Property Name="merge_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_suggest_equipment">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-            <PropertyRef Name="plan_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="plan_id" Type="Int32" Nullable="false" />
-          <Property Name="plan_description" Type="String" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="item_id0" Type="Int32" />
-          <Property Name="item_id1" Type="Int32" />
-          <Property Name="item_id2" Type="Int32" />
-          <Property Name="item_id3" Type="Int32" />
-          <Property Name="item_id4" Type="Int32" />
-          <Property Name="item_id5" Type="Int32" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_hero_unlock_hero">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="hero_id" Type="Int32" Nullable="false" />
-          <Property Name="level" Type="Int32" />
-          <Property Name="cur_color_scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="scheme_unlock_status" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_illegal_term_rules">
-          <Key>
-            <PropertyRef Name="id" />
-          </Key>
-          <Property Name="regex" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="id" Type="Int64" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-        </EntityType>
-        <EntityType Name="t_item_roll_list">
-          <Key>
-            <PropertyRef Name="item_roll_guid" />
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="item_guid" />
-            <PropertyRef Name="item_id" />
-            <PropertyRef Name="item_name" />
-            <PropertyRef Name="source" />
-            <PropertyRef Name="is_bound" />
-            <PropertyRef Name="attributes" />
-            <PropertyRef Name="buy_time" />
-            <PropertyRef Name="expire_time" />
-            <PropertyRef Name="buy_type" />
-            <PropertyRef Name="pay_type" />
-            <PropertyRef Name="pay_yuanbao" />
-            <PropertyRef Name="free_yuanbao" />
-            <PropertyRef Name="previous_count" />
-            <PropertyRef Name="previous_location" />
-            <PropertyRef Name="count" />
-            <PropertyRef Name="location" />
-            <PropertyRef Name="change_type" />
-            <PropertyRef Name="billing_state" />
-            <PropertyRef Name="charge_gold_balance" />
-            <PropertyRef Name="free_gold_balance" />
-            <PropertyRef Name="modify_time" />
-            <PropertyRef Name="create_time" />
-          </Key>
-          <Property Name="item_roll_guid" Type="Decimal" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="item_id" Type="Int64" Nullable="false" />
-          <Property Name="item_name" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="source" Type="Int32" Nullable="false" />
-          <Property Name="is_bound" Type="Int32" Nullable="false" />
-          <Property Name="attributes" Type="Binary" Nullable="false" MaxLength="Max" FixedLength="false" />
-          <Property Name="buy_time" Type="DateTime" Nullable="false" />
-          <Property Name="expire_time" Type="DateTime" Nullable="false" />
-          <Property Name="buy_type" Type="Int32" Nullable="false" />
-          <Property Name="pay_type" Type="Int32" Nullable="false" />
-          <Property Name="pay_yuanbao" Type="Int32" Nullable="false" />
-          <Property Name="free_yuanbao" Type="Int32" Nullable="false" />
-          <Property Name="previous_count" Type="Int32" Nullable="false" />
-          <Property Name="previous_location" Type="Int32" Nullable="false" />
-          <Property Name="count" Type="Int32" Nullable="false" />
-          <Property Name="location" Type="Int32" Nullable="false" />
-          <Property Name="change_type" Type="Int32" Nullable="false" />
-          <Property Name="billing_state" Type="Int32" Nullable="false" />
-          <Property Name="charge_gold_balance" Type="Int32" Nullable="false" />
-          <Property Name="free_gold_balance" Type="Int32" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_login_reward">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="year_day" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="year_day" Type="Int32" Nullable="false" />
-          <Property Name="reward_id" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_mail">
-          <Key>
-            <PropertyRef Name="mail_guid" />
-          </Key>
-          <Property Name="mail_guid" Type="Decimal" Nullable="false" />
-          <Property Name="checked" Type="Boolean" Nullable="false" />
-          <Property Name="is_read" Type="Boolean" Nullable="false" />
-          <Property Name="is_system_mail" Type="Boolean" Nullable="false" />
-          <Property Name="sender_guid" Type="Decimal" Nullable="false" />
-          <Property Name="sender_name" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="receiver_guid" Type="Decimal" Nullable="false" />
-          <Property Name="receiver_name" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="mail_subject" Type="String" Nullable="false" MaxLength="256" Unicode="false" FixedLength="false" />
-          <Property Name="mail_body" Type="String" Nullable="false" MaxLength="65535" Unicode="false" FixedLength="false" />
-          <Property Name="silver" Type="Int32" Nullable="false" />
-          <Property Name="charge_gold" Type="Int32" Nullable="false" />
-          <Property Name="money_is_taked" Type="Boolean" Nullable="false" />
-          <Property Name="item_count" Type="Int32" Nullable="false" />
-          <Property Name="expire_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_mail_item">
-          <Key>
-            <PropertyRef Name="item_guid" />
-          </Key>
-          <Property Name="item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="mail_guid" Type="Decimal" Nullable="false" />
-          <Property Name="is_taked" Type="Boolean" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_mall_items_sales_count">
-          <Key>
-            <PropertyRef Name="item_id" />
-          </Key>
-          <Property Name="item_id" Type="Int32" Nullable="false" />
-          <Property Name="sale_count" Type="Int32" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_map_play_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="map_type" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="play_count" Type="Int32" Nullable="false" />
-          <Property Name="win_count" Type="Int32" Nullable="false" />
-          <Property Name="last_play_date" Type="Decimal" Nullable="false" />
-          <Property Name="total_play_time" Type="Decimal" Nullable="false" />
-          <Property Name="today_play_time" Type="Int32" Nullable="false" />
-          <Property Name="current_level" Type="Int32" Nullable="false" />
-          <Property Name="max_score" Type="Int32" Nullable="false" />
-          <Property Name="kill_boss_count" Type="Int32" Nullable="false" />
-          <Property Name="kill_hostile_soldier" Type="Int64" Nullable="false" />
-          <Property Name="max_total_damage" Type="Int32" Nullable="false" />
-          <Property Name="max_total_suffer_damage" Type="Int32" Nullable="false" />
-          <Property Name="max_total_heal" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_map_play_info_hero">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-            <PropertyRef Name="hero_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="map_type" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="hero_id" Type="Int64" Nullable="false" />
-          <Property Name="play_count" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_map_play_info_hero_pet">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="map_type" />
-            <PropertyRef Name="guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="map_type" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="guid" Type="Decimal" Nullable="false" />
-          <Property Name="play_count" Type="Int32" Nullable="false" />
-          <Property Name="play_count_s" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_meta">
-          <Key>
-            <PropertyRef Name="meta_key" />
-          </Key>
-          <Property Name="meta_key" Type="String" Nullable="false" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="meta_value" Type="String" MaxLength="255" Unicode="false" FixedLength="false" />
-        </EntityType>
-        <EntityType Name="t_offline_message">
-          <Key>
-            <PropertyRef Name="fid" />
-          </Key>
-          <Property Name="fid" Type="Decimal" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="proto_name" Type="String" Nullable="false" MaxLength="80" Unicode="false" FixedLength="false" />
-          <Property Name="content" Type="String" Nullable="false" MaxLength="1073741823" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_pve_equipment_scheme">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="scheme_id" />
-            <PropertyRef Name="slot0_item_guid" />
-            <PropertyRef Name="slot1_item_guid" />
-            <PropertyRef Name="slot2_item_guid" />
-            <PropertyRef Name="slot3_item_guid" />
-            <PropertyRef Name="slot4_item_guid" />
-            <PropertyRef Name="slot5_item_guid" />
-            <PropertyRef Name="slot6_item_guid" />
-            <PropertyRef Name="slot7_item_guid" />
-            <PropertyRef Name="slot8_item_guid" />
-            <PropertyRef Name="slot9_item_guid" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="scheme_name" Type="String" MaxLength="64" Unicode="false" FixedLength="false" />
-          <Property Name="slot0_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot1_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot2_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot3_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot4_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot5_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot6_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot7_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot8_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot9_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_pve_equipment_strength">
-          <Key>
-            <PropertyRef Name="guid" />
-            <PropertyRef Name="strength_lv" />
-            <PropertyRef Name="strength_value" />
-            <PropertyRef Name="create_time" />
-            <PropertyRef Name="modify_time" />
-          </Key>
-          <Property Name="guid" Type="Decimal" Nullable="false" />
-          <Property Name="strength_lv" Type="Int32" Nullable="false" />
-          <Property Name="strength_value" Type="Double" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_questionnaire">
-          <Key>
-            <PropertyRef Name="questionnaire_id" />
-          </Key>
-          <Property Name="questionnaire_id" Type="Decimal" Nullable="false" p1:StoreGeneratedPattern="Identity" />
-          <Property Name="content" Type="String" MaxLength="65535" Unicode="false" FixedLength="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_rune_scheme">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="scheme_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="scheme_id" Type="Int32" Nullable="false" />
-          <Property Name="scheme_name" Type="String" Nullable="false" MaxLength="50" Unicode="false" FixedLength="false" />
-          <Property Name="slot0_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot1_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot2_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot3_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot4_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot5_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot6_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot7_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot8_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot9_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot10_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot11_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot12_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot13_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="slot14_item_guid" Type="Decimal" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" />
-          <Property Name="modify_time" Type="DateTime" />
-        </EntityType>
-        <EntityType Name="t_social_group_basic">
-          <Key>
-            <PropertyRef Name="group_guid" />
-          </Key>
-          <Property Name="group_guid" Type="Decimal" Nullable="false" />
-          <Property Name="group_name" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="group_type" Type="Int32" Nullable="false" />
-          <Property Name="owner_guid" Type="Decimal" Nullable="false" />
-          <Property Name="owner_name" Type="String" Nullable="false" MaxLength="128" Unicode="false" FixedLength="false" />
-          <Property Name="member_size" Type="Int32" Nullable="false" />
-          <Property Name="manager_size" Type="Int32" Nullable="false" />
-          <Property Name="bulletin" Type="String" MaxLength="65535" Unicode="false" FixedLength="false" />
-          <Property Name="join_rule" Type="Int32" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_social_group_manager">
-          <Key>
-            <PropertyRef Name="group_guid" />
-            <PropertyRef Name="manager_guid" />
-          </Key>
-          <Property Name="group_guid" Type="Decimal" Nullable="false" />
-          <Property Name="manager_guid" Type="Decimal" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_social_group_member">
-          <Key>
-            <PropertyRef Name="group_guid" />
-            <PropertyRef Name="member_guid" />
-          </Key>
-          <Property Name="group_guid" Type="Decimal" Nullable="false" />
-          <Property Name="member_guid" Type="Decimal" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_title_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-            <PropertyRef Name="title_id" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="title_id" Type="Int32" Nullable="false" />
-          <Property Name="new_title" Type="Boolean" />
-          <Property Name="valid_time" Type="Int32" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_treasure">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="daily_count" Type="Int32" Nullable="false" />
-          <Property Name="daily_count_uptime" Type="Int64" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-        <EntityType Name="t_tutorial">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="is_first_login" Type="SByte" />
-          <Property Name="close_beginner_map_guide" Type="Boolean" />
-          <Property Name="match_count" Type="Int32" />
-          <Property Name="quick_match_count" Type="Int32" />
-          <Property Name="close_compound_hero_guide" Type="Boolean" />
-          <Property Name="gain_hero_pet_item" Type="Boolean" />
-          <Property Name="create_time" Type="DateTime" />
-          <Property Name="modify_time" Type="DateTime" />
-        </EntityType>
-        <EntityType Name="t_tutorial_status_info">
-          <Key>
-            <PropertyRef Name="character_guid" />
-          </Key>
-          <Property Name="character_guid" Type="Decimal" Nullable="false" />
-          <Property Name="beginner_map_win_count" Type="Int32" Nullable="false" />
-          <Property Name="match_count" Type="Int32" Nullable="false" />
-          <Property Name="quick_match_count" Type="Int32" Nullable="false" />
-          <Property Name="is_close_notify_tutorial" Type="SByte" Nullable="false" />
-          <Property Name="is_close_notify_mini_tutorial" Type="SByte" Nullable="false" />
-          <Property Name="create_time" Type="DateTime" Nullable="false" />
-          <Property Name="modify_time" Type="DateTime" Nullable="false" />
-        </EntityType>
-      </Schema>
-    </edmx:ConceptualModels>
-    <!-- C-S mapping content -->
-    <edmx:Mappings>
-      <Mapping Space="C-S" xmlns="http://schemas.microsoft.com/ado/2009/11/mapping/cs">
-        <EntityContainerMapping StorageEntityContainer="DataCenterModelStoreContainer" CdmEntityContainer="DataCenterEntities">
-          <EntitySetMapping Name="t_account">
-            <EntityTypeMapping TypeName="DataCenterModel.t_account">
-              <MappingFragment StoreEntitySet="t_account">
-                <ScalarProperty Name="account" ColumnName="account" />
-                <ScalarProperty Name="account_guid" ColumnName="account_guid" />
-                <ScalarProperty Name="sessionkey" ColumnName="sessionkey" />
-                <ScalarProperty Name="v" ColumnName="v" />
-                <ScalarProperty Name="s" ColumnName="s" />
-                <ScalarProperty Name="active_code" ColumnName="active_code" />
-                <ScalarProperty Name="active_code_used" ColumnName="active_code_used" />
-                <ScalarProperty Name="first_char_guid" ColumnName="first_char_guid" />
-                <ScalarProperty Name="gm_level" ColumnName="gm_level" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_account_active_code">
-            <EntityTypeMapping TypeName="DataCenterModel.t_account_active_code">
-              <MappingFragment StoreEntitySet="t_account_active_code">
-                <ScalarProperty Name="account" ColumnName="account" />
-                <ScalarProperty Name="gain_active_codes" ColumnName="gain_active_codes" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_account_login_auth_response_cookie">
-            <EntityTypeMapping TypeName="DataCenterModel.t_account_login_auth_response_cookie">
-              <MappingFragment StoreEntitySet="t_account_login_auth_response_cookie">
-                <ScalarProperty Name="account" ColumnName="account" />
-                <ScalarProperty Name="aid" ColumnName="aid" />
-                <ScalarProperty Name="ssn" ColumnName="ssn" />
-                <ScalarProperty Name="gamepoint" ColumnName="gamepoint" />
-                <ScalarProperty Name="balance" ColumnName="balance" />
-                <ScalarProperty Name="sn" ColumnName="sn" />
-                <ScalarProperty Name="user_type" ColumnName="user_type" />
-                <ScalarProperty Name="otpstat" ColumnName="otpstat" />
-                <ScalarProperty Name="otpuptime" ColumnName="otpuptime" />
-                <ScalarProperty Name="infosafe" ColumnName="infosafe" />
-                <ScalarProperty Name="phonestat" ColumnName="phonestat" />
-                <ScalarProperty Name="ppcstat" ColumnName="ppcstat" />
-                <ScalarProperty Name="ppccoord" ColumnName="ppccoord" />
-                <ScalarProperty Name="mppstat" ColumnName="mppstat" />
-                <ScalarProperty Name="rnstat" ColumnName="rnstat" />
-                <ScalarProperty Name="regtime" ColumnName="regtime" />
-                <ScalarProperty Name="mobileno" ColumnName="mobileno" />
-                <ScalarProperty Name="need_activate_game" ColumnName="need_activate_game" />
-                <ScalarProperty Name="game_flag" ColumnName="game_flag" />
-                <ScalarProperty Name="deactivated" ColumnName="deactivated" />
-                <ScalarProperty Name="uidcount" ColumnName="uidcount" />
-                <ScalarProperty Name="newtm" ColumnName="newtm" />
-                <ScalarProperty Name="vipstatus" ColumnName="vipstatus" />
-                <ScalarProperty Name="is_vip_phone_trusty" ColumnName="is_vip_phone_trusty" />
-                <ScalarProperty Name="is_vip_addr_trusty" ColumnName="is_vip_addr_trusty" />
-                <ScalarProperty Name="real_name_flag" ColumnName="real_name_flag" />
-                <ScalarProperty Name="mobileisactivated" ColumnName="mobileisactivated" />
-                <ScalarProperty Name="secu_info_ready" ColumnName="secu_info_ready" />
-                <ScalarProperty Name="secu_info_pin_ma" ColumnName="secu_info_pin_ma" />
-                <ScalarProperty Name="secu_info_id_num" ColumnName="secu_info_id_num" />
-                <ScalarProperty Name="id_num" ColumnName="id_num" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_active_code">
-            <EntityTypeMapping TypeName="DataCenterModel.t_active_code">
-              <MappingFragment StoreEntitySet="t_active_code">
-                <ScalarProperty Name="active_code" ColumnName="active_code" />
-                <ScalarProperty Name="code_type" ColumnName="code_type" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="grant_type" ColumnName="grant_type" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_attribute">
-            <EntityTypeMapping TypeName="DataCenterModel.t_attribute">
-              <MappingFragment StoreEntitySet="t_attribute">
-                <ScalarProperty Name="guid" ColumnName="guid" />
-                <ScalarProperty Name="id" ColumnName="id" />
-                <ScalarProperty Name="sub_id" ColumnName="sub_id" />
-                <ScalarProperty Name="value" ColumnName="value" />
-                <ScalarProperty Name="attr_type" ColumnName="attr_type" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_auction_item">
-            <EntityTypeMapping TypeName="DataCenterModel.t_auction_item">
-              <MappingFragment StoreEntitySet="t_auction_item">
-                <ScalarProperty Name="item_guid" ColumnName="item_guid" />
-                <ScalarProperty Name="seller_guid" ColumnName="seller_guid" />
-                <ScalarProperty Name="seller_name" ColumnName="seller_name" />
-                <ScalarProperty Name="seller_ip" ColumnName="seller_ip" />
-                <ScalarProperty Name="auction_class" ColumnName="auction_class" />
-                <ScalarProperty Name="item_name" ColumnName="item_name" />
-                <ScalarProperty Name="item_id" ColumnName="item_id" />
-                <ScalarProperty Name="assets_type" ColumnName="assets_type" />
-                <ScalarProperty Name="deposit" ColumnName="deposit" />
-                <ScalarProperty Name="sum_price" ColumnName="sum_price" />
-                <ScalarProperty Name="unit_price" ColumnName="unit_price" />
-                <ScalarProperty Name="expire_time" ColumnName="expire_time" />
-                <ScalarProperty Name="tran_guid" ColumnName="tran_guid" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_available_map">
-            <EntityTypeMapping TypeName="DataCenterModel.t_available_map">
-              <MappingFragment StoreEntitySet="t_available_map">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="map_type" ColumnName="map_type" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_battle_gameover_statistic">
-            <EntityTypeMapping TypeName="DataCenterModel.t_battle_gameover_statistic">
-              <MappingFragment StoreEntitySet="t_battle_gameover_statistic">
-                <ScalarProperty Name="battle_guid" ColumnName="battle_guid" />
-                <ScalarProperty Name="gameover_statistic" ColumnName="gameover_statistic" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_battle_kill_detail">
-            <EntityTypeMapping TypeName="DataCenterModel.t_battle_kill_detail">
-              <MappingFragment StoreEntitySet="t_battle_kill_detail">
-                <ScalarProperty Name="kill_id" ColumnName="kill_id" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="battle_guid" ColumnName="battle_guid" />
-                <ScalarProperty Name="kill_type" ColumnName="kill_type" />
-                <ScalarProperty Name="kill_name" ColumnName="kill_name" />
-                <ScalarProperty Name="kill_guid" ColumnName="kill_guid" />
-                <ScalarProperty Name="assist_name" ColumnName="assist_name" />
-                <ScalarProperty Name="kill_time" ColumnName="kill_time" />
-                <ScalarProperty Name="killed_name" ColumnName="killed_name" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_battle_summary">
-            <EntityTypeMapping TypeName="DataCenterModel.t_battle_summary">
-              <MappingFragment StoreEntitySet="t_battle_summary">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="battle_guid" ColumnName="battle_guid" />
-                <ScalarProperty Name="pvp_or_pve" ColumnName="pvp_or_pve" />
-                <ScalarProperty Name="is_win" ColumnName="is_win" />
-                <ScalarProperty Name="is_mvp" ColumnName="is_mvp" />
-                <ScalarProperty Name="is_most_kill_person" ColumnName="is_most_kill_person" />
-                <ScalarProperty Name="is_most_assist" ColumnName="is_most_assist" />
-                <ScalarProperty Name="is_most_money" ColumnName="is_most_money" />
-                <ScalarProperty Name="is_down_tower" ColumnName="is_down_tower" />
-                <ScalarProperty Name="is_most_kill_friend" ColumnName="is_most_kill_friend" />
-                <ScalarProperty Name="is_lost_mvp" ColumnName="is_lost_mvp" />
-                <ScalarProperty Name="is_s_pve_map" ColumnName="is_s_pve_map" />
-                <ScalarProperty Name="is_first_blood" ColumnName="is_first_blood" />
-                <ScalarProperty Name="is_pve_most_kill_boss" ColumnName="is_pve_most_kill_boss" />
-                <ScalarProperty Name="is_pve_most_take_damage" ColumnName="is_pve_most_take_damage" />
-                <ScalarProperty Name="is_pve_most_healing" ColumnName="is_pve_most_healing" />
-                <ScalarProperty Name="is_pve_most_damage" ColumnName="is_pve_most_damage" />
-                <ScalarProperty Name="map_type" ColumnName="map_type" />
-                <ScalarProperty Name="battle_date" ColumnName="battle_date" />
-                <ScalarProperty Name="battle_time" ColumnName="battle_time" />
-                <ScalarProperty Name="is_escape" ColumnName="is_escape" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="match_type" ColumnName="match_type" />
-                <ScalarProperty Name="is_reinforce" ColumnName="is_reinforce" />
-                <ScalarProperty Name="pvp_kill_count" ColumnName="pvp_kill_count" />
-                <ScalarProperty Name="pvp_assist_count" ColumnName="pvp_assist_count" />
-                <ScalarProperty Name="pvp_dead_count" ColumnName="pvp_dead_count" />
-                <ScalarProperty Name="pvp_most_continuous_kill_number" ColumnName="pvp_most_continuous_kill_number" />
-                <ScalarProperty Name="pvp_score" ColumnName="pvp_score" />
-                <ScalarProperty Name="pve_boss_kill" ColumnName="pve_boss_kill" />
-                <ScalarProperty Name="pve_kill_hostile_soldier" ColumnName="pve_kill_hostile_soldier" />
-                <ScalarProperty Name="pve_total_money" ColumnName="pve_total_money" />
-                <ScalarProperty Name="pve_get_level" ColumnName="pve_get_level" />
-                <ScalarProperty Name="is_employ_battle" ColumnName="is_employ_battle" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_beginner_group_config">
-            <EntityTypeMapping TypeName="DataCenterModel.t_beginner_group_config">
-              <MappingFragment StoreEntitySet="t_beginner_group_config">
-                <ScalarProperty Name="aid" ColumnName="aid" />
-                <ScalarProperty Name="max_group_id" ColumnName="max_group_id" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_beginner_group_cong">
-            <EntityTypeMapping TypeName="DataCenterModel.t_beginner_group_cong">
-              <MappingFragment StoreEntitySet="t_beginner_group_cong">
-                <ScalarProperty Name="group_guid" ColumnName="group_guid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="character_level" ColumnName="character_level" />
-                <ScalarProperty Name="cong_guid_list" ColumnName="cong_guid_list" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_beginner_group_event">
-            <EntityTypeMapping TypeName="DataCenterModel.t_beginner_group_event">
-              <MappingFragment StoreEntitySet="t_beginner_group_event">
-                <ScalarProperty Name="event_guid" ColumnName="event_guid" />
-                <ScalarProperty Name="beginner_group_guid" ColumnName="beginner_group_guid" />
-                <ScalarProperty Name="event_id" ColumnName="event_id" />
-                <ScalarProperty Name="event_content" ColumnName="event_content" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_activity">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_activity">
-              <MappingFragment StoreEntitySet="t_challenge_activity">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="activity_status" ColumnName="activity_status" />
-                <ScalarProperty Name="start_time" ColumnName="start_time" />
-                <ScalarProperty Name="battle_id" ColumnName="battle_id" />
-                <ScalarProperty Name="challenger_win" ColumnName="challenger_win" />
-                <ScalarProperty Name="kfz_best_hero" ColumnName="kfz_best_hero" />
-                <ScalarProperty Name="game_over_time" ColumnName="game_over_time" />
-                <ScalarProperty Name="challenger_win_bet" ColumnName="challenger_win_bet" />
-                <ScalarProperty Name="challenger_lose_bet" ColumnName="challenger_lose_bet" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_activity_schedule">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_activity_schedule">
-              <MappingFragment StoreEntitySet="t_challenge_activity_schedule">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="elect_from_time" ColumnName="elect_from_time" />
-                <ScalarProperty Name="elect_to_time" ColumnName="elect_to_time" />
-                <ScalarProperty Name="guess_from_time" ColumnName="guess_from_time" />
-                <ScalarProperty Name="guess_to_time" ColumnName="guess_to_time" />
-                <ScalarProperty Name="reward_from_time" ColumnName="reward_from_time" />
-                <ScalarProperty Name="reward_to_time" ColumnName="reward_to_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_character_elect_hero">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_character_elect_hero">
-              <MappingFragment StoreEntitySet="t_challenge_character_elect_hero">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_elect_hero_stat">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_elect_hero_stat">
-              <MappingFragment StoreEntitySet="t_challenge_elect_hero_stat">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="game_position" ColumnName="game_position" />
-                <ScalarProperty Name="vote_count" ColumnName="vote_count" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_game_player">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_game_player">
-              <MappingFragment StoreEntitySet="t_challenge_game_player">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="is_win" ColumnName="is_win" />
-                <ScalarProperty Name="faction" ColumnName="faction" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="title" ColumnName="title" />
-                <ScalarProperty Name="platform_title_id" ColumnName="platform_title_id" />
-                <ScalarProperty Name="character_name" ColumnName="character_name" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_guess_game_over">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_guess_game_over">
-              <MappingFragment StoreEntitySet="t_challenge_guess_game_over">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="challenger_win" ColumnName="challenger_win" />
-                <ScalarProperty Name="challenger_win_bet" ColumnName="challenger_win_bet" />
-                <ScalarProperty Name="kfz_best_hero" ColumnName="kfz_best_hero" />
-                <ScalarProperty Name="kfz_best_hero_bet" ColumnName="kfz_best_hero_bet" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_guess_reward">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_guess_reward">
-              <MappingFragment StoreEntitySet="t_challenge_guess_reward">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="winner_guess_silver" ColumnName="winner_guess_silver" />
-                <ScalarProperty Name="best_hero_guess_silver" ColumnName="best_hero_guess_silver" />
-                <ScalarProperty Name="is_taked" ColumnName="is_taked" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_kfz_hero">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_kfz_hero">
-              <MappingFragment StoreEntitySet="t_challenge_kfz_hero">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="game_position" ColumnName="game_position" />
-                <ScalarProperty Name="best_bet" ColumnName="best_bet" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_statue_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_statue_info">
-              <MappingFragment StoreEntitySet="t_challenge_statue_info">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="from_time" ColumnName="from_time" />
-                <ScalarProperty Name="to_time" ColumnName="to_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_challenge_task_reward">
-            <EntityTypeMapping TypeName="DataCenterModel.t_challenge_task_reward">
-              <MappingFragment StoreEntitySet="t_challenge_task_reward">
-                <ScalarProperty Name="activity_id" ColumnName="activity_id" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="reward_type" ColumnName="reward_type" />
-                <ScalarProperty Name="task_id" ColumnName="task_id" />
-                <ScalarProperty Name="is_taked" ColumnName="is_taked" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character">
-              <MappingFragment StoreEntitySet="t_character">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="general_class" ColumnName="general_class" />
-                <ScalarProperty Name="character_name" ColumnName="character_name" />
-                <ScalarProperty Name="sex" ColumnName="sex" />
-                <ScalarProperty Name="account_id" ColumnName="account_id" />
-                <ScalarProperty Name="playing_map_server_key" ColumnName="playing_map_server_key" />
-                <ScalarProperty Name="group_guid" ColumnName="group_guid" />
-                <ScalarProperty Name="room_guid" ColumnName="room_guid" />
-                <ScalarProperty Name="general_ghost" ColumnName="general_ghost" />
-                <ScalarProperty Name="kingdom" ColumnName="kingdom" />
-                <ScalarProperty Name="create_ip" ColumnName="create_ip" />
-                <ScalarProperty Name="area_id" ColumnName="area_id" />
-                <ScalarProperty Name="account" ColumnName="account" />
-                <ScalarProperty Name="default_display_id" ColumnName="default_display_id" />
-                <ScalarProperty Name="selected_title_type" ColumnName="selected_title_type" />
-                <ScalarProperty Name="last_login_time" ColumnName="last_login_time" />
-                <ScalarProperty Name="login_ip" ColumnName="login_ip" />
-                <ScalarProperty Name="is_first_login" ColumnName="is_first_login" />
-                <ScalarProperty Name="has_newly_mail" ColumnName="has_newly_mail" />
-                <ScalarProperty Name="location" ColumnName="location" />
-                <ScalarProperty Name="history_silver" ColumnName="history_silver" />
-                <ScalarProperty Name="history_charge_gold" ColumnName="history_charge_gold" />
-                <ScalarProperty Name="history_free_gold" ColumnName="history_free_gold" />
-                <ScalarProperty Name="rank_bonus_title_id" ColumnName="rank_bonus_title_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="recent_flee_buff_id" ColumnName="recent_flee_buff_id" />
-                <ScalarProperty Name="add_buff_yday" ColumnName="add_buff_yday" />
-                <ScalarProperty Name="need_rename" ColumnName="need_rename" />
-                <ScalarProperty Name="can_gain_active_code_item" ColumnName="can_gain_active_code_item" />
-                <ScalarProperty Name="total_online_seconds" ColumnName="total_online_seconds" />
-                <ScalarProperty Name="city_server_name" ColumnName="city_server_name" />
-                <ScalarProperty Name="last_login_realtime" ColumnName="last_login_realtime" />
-                <ScalarProperty Name="anti_addiction_online_time" ColumnName="anti_addiction_online_time" />
-                <ScalarProperty Name="anti_addiction_offline_time" ColumnName="anti_addiction_offline_time" />
-                <ScalarProperty Name="gs_active_code" ColumnName="gs_active_code" />
-                <ScalarProperty Name="ban_login_expired_time" ColumnName="ban_login_expired_time" />
-                <ScalarProperty Name="ban_chat_expired_time" ColumnName="ban_chat_expired_time" />
-                <ScalarProperty Name="pve_equipment_max_strengthen_level" ColumnName="pve_equipment_max_strengthen_level" />
-                <ScalarProperty Name="pve_equipment_active_scheme_id" ColumnName="pve_equipment_active_scheme_id" />
-                <ScalarProperty Name="pos_x" ColumnName="pos_x" />
-                <ScalarProperty Name="pos_y" ColumnName="pos_y" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_achievement">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_achievement">
-              <MappingFragment StoreEntitySet="t_character_achievement">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="achievement_id" ColumnName="achievement_id" />
-                <ScalarProperty Name="event_count" ColumnName="event_count" />
-                <ScalarProperty Name="is_accomplished" ColumnName="is_accomplished" />
-                <ScalarProperty Name="accomplish_time" ColumnName="accomplish_time" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="battle_guid" ColumnName="battle_guid" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_appearance">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_appearance">
-              <MappingFragment StoreEntitySet="t_character_appearance">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="appearance_type" ColumnName="appearance_type" />
-                <ScalarProperty Name="headdress" ColumnName="headdress" />
-                <ScalarProperty Name="wing" ColumnName="wing" />
-                <ScalarProperty Name="clothes" ColumnName="clothes" />
-                <ScalarProperty Name="weapon" ColumnName="weapon" />
-                <ScalarProperty Name="magic_weapon" ColumnName="magic_weapon" />
-                <ScalarProperty Name="mounts" ColumnName="mounts" />
-                <ScalarProperty Name="face" ColumnName="face" />
-                <ScalarProperty Name="riding_status" ColumnName="riding_status" />
-                <ScalarProperty Name="color1" ColumnName="color1" />
-                <ScalarProperty Name="color2" ColumnName="color2" />
-                <ScalarProperty Name="color3" ColumnName="color3" />
-                <ScalarProperty Name="color4" ColumnName="color4" />
-                <ScalarProperty Name="color5" ColumnName="color5" />
-                <ScalarProperty Name="default_visual" ColumnName="default_visual" />
-                <ScalarProperty Name="default_face" ColumnName="default_face" />
-                <ScalarProperty Name="default_headdress" ColumnName="default_headdress" />
-                <ScalarProperty Name="color_scheme_id" ColumnName="color_scheme_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_assets">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_assets">
-              <MappingFragment StoreEntitySet="t_character_assets">
-                <ScalarProperty Name="assets_id" ColumnName="assets_id" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="assets_type" ColumnName="assets_type" />
-                <ScalarProperty Name="balance" ColumnName="balance" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_default_fighting_options">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_default_fighting_options">
-              <MappingFragment StoreEntitySet="t_character_default_fighting_options">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="last_common_spell_series_id" ColumnName="last_common_spell_series_id" />
-                <ScalarProperty Name="last_rune_scheme_id" ColumnName="last_rune_scheme_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_item">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_item">
-              <MappingFragment StoreEntitySet="t_character_item">
-                <ScalarProperty Name="item_guid" ColumnName="item_guid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="item_id" ColumnName="item_id" />
-                <ScalarProperty Name="slot" ColumnName="slot" />
-                <ScalarProperty Name="item_count" ColumnName="item_count" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="source" ColumnName="source" />
-                <ScalarProperty Name="is_bound" ColumnName="is_bound" />
-                <ScalarProperty Name="location" ColumnName="location" />
-                <ScalarProperty Name="attributes" ColumnName="attributes" />
-                <ScalarProperty Name="buy_time" ColumnName="buy_time" />
-                <ScalarProperty Name="expire_time" ColumnName="expire_time" />
-                <ScalarProperty Name="buy_type" ColumnName="buy_type" />
-                <ScalarProperty Name="pay_type" ColumnName="pay_type" />
-                <ScalarProperty Name="pay_yuanbao" ColumnName="pay_yuanbao" />
-                <ScalarProperty Name="free_yuanbao" ColumnName="free_yuanbao" />
-                <ScalarProperty Name="reiki_count" ColumnName="reiki_count" />
-                <ScalarProperty Name="durability_count" ColumnName="durability_count" />
-                <ScalarProperty Name="recast_count" ColumnName="recast_count" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_options">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_options">
-              <MappingFragment StoreEntitySet="t_character_options">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="rune_not_show_binding_tips" ColumnName="rune_not_show_binding_tips" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_character_questionnaire">
-            <EntityTypeMapping TypeName="DataCenterModel.t_character_questionnaire">
-              <MappingFragment StoreEntitySet="t_character_questionnaire">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="questionnaire_id" ColumnName="questionnaire_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_charge_list">
-            <EntityTypeMapping TypeName="DataCenterModel.t_charge_list">
-              <MappingFragment StoreEntitySet="t_charge_list">
-                <ScalarProperty Name="charge_listid" ColumnName="charge_listid" />
-                <ScalarProperty Name="charge_sn" ColumnName="charge_sn" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="account" ColumnName="account" />
-                <ScalarProperty Name="ip" ColumnName="ip" />
-                <ScalarProperty Name="pay_points" ColumnName="pay_points" />
-                <ScalarProperty Name="charge_yuanbao" ColumnName="charge_yuanbao" />
-                <ScalarProperty Name="free_yuanbao" ColumnName="free_yuanbao" />
-                <ScalarProperty Name="url_parameters" ColumnName="url_parameters" />
-                <ScalarProperty Name="charge_state" ColumnName="charge_state" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="retry_times" ColumnName="retry_times" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_city_buff">
-            <EntityTypeMapping TypeName="DataCenterModel.t_city_buff">
-              <MappingFragment StoreEntitySet="t_city_buff">
-                <ScalarProperty Name="buff_guid" ColumnName="buff_guid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="buff_id" ColumnName="buff_id" />
-                <ScalarProperty Name="buff_time" ColumnName="buff_time" />
-                <ScalarProperty Name="stack" ColumnName="stack" />
-                <ScalarProperty Name="buff_values" ColumnName="buff_values" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_city_task_finish_sub_state">
-            <EntityTypeMapping TypeName="DataCenterModel.t_city_task_finish_sub_state">
-              <MappingFragment StoreEntitySet="t_city_task_finish_sub_state">
-                <ScalarProperty Name="task_guid" ColumnName="task_guid" />
-                <ScalarProperty Name="city_task_sub_state_type" ColumnName="city_task_sub_state_type" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="total_count" ColumnName="total_count" />
-                <ScalarProperty Name="finish_count" ColumnName="finish_count" />
-                <ScalarProperty Name="detail" ColumnName="detail" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_city_task_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_city_task_info">
-              <MappingFragment StoreEntitySet="t_city_task_info">
-                <ScalarProperty Name="task_guid" ColumnName="task_guid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="task_id" ColumnName="task_id" />
-                <ScalarProperty Name="state" ColumnName="state" />
-                <ScalarProperty Name="finish_timestamp" ColumnName="finish_timestamp" />
-                <ScalarProperty Name="accept_time" ColumnName="accept_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_client_config">
-            <EntityTypeMapping TypeName="DataCenterModel.t_client_config">
-              <MappingFragment StoreEntitySet="t_client_config">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="map_type" ColumnName="map_type" />
-                <ScalarProperty Name="key_setting" ColumnName="key_setting" />
-                <ScalarProperty Name="use_dota_key" ColumnName="use_dota_key" />
-                <ScalarProperty Name="shop_using_price_classify" ColumnName="shop_using_price_classify" />
-                <ScalarProperty Name="client_config_str" ColumnName="client_config_str" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_common_spell">
-            <EntityTypeMapping TypeName="DataCenterModel.t_common_spell">
-              <MappingFragment StoreEntitySet="t_common_spell">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="common_spell_id" ColumnName="common_spell_id" />
-                <ScalarProperty Name="common_spell_series" ColumnName="common_spell_series" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_daily_online_time">
-            <EntityTypeMapping TypeName="DataCenterModel.t_daily_online_time">
-              <MappingFragment StoreEntitySet="t_daily_online_time">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="login_date" ColumnName="login_date" />
-                <ScalarProperty Name="online_time" ColumnName="online_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_employ_notice_status">
-            <EntityTypeMapping TypeName="DataCenterModel.t_employ_notice_status">
-              <MappingFragment StoreEntitySet="t_employ_notice_status">
-                <ScalarProperty Name="employ_notice_status_id" ColumnName="employ_notice_status_id" />
-                <ScalarProperty Name="publisher_guid" ColumnName="publisher_guid" />
-                <ScalarProperty Name="applicant_guid" ColumnName="applicant_guid" />
-                <ScalarProperty Name="status" ColumnName="status" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_employ_relation">
-            <EntityTypeMapping TypeName="DataCenterModel.t_employ_relation">
-              <MappingFragment StoreEntitySet="t_employ_relation">
-                <ScalarProperty Name="employ_relation_id" ColumnName="employ_relation_id" />
-                <ScalarProperty Name="employer_guid" ColumnName="employer_guid" />
-                <ScalarProperty Name="employee_guid" ColumnName="employee_guid" />
-                <ScalarProperty Name="assets_type" ColumnName="assets_type" />
-                <ScalarProperty Name="price" ColumnName="price" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_employee_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_employee_info">
-              <MappingFragment StoreEntitySet="t_employee_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="employee_experience" ColumnName="employee_experience" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_employee_notice">
-            <EntityTypeMapping TypeName="DataCenterModel.t_employee_notice">
-              <MappingFragment StoreEntitySet="t_employee_notice">
-                <ScalarProperty Name="employee_guid" ColumnName="employee_guid" />
-                <ScalarProperty Name="apply_type" ColumnName="apply_type" />
-                <ScalarProperty Name="assets_type" ColumnName="assets_type" />
-                <ScalarProperty Name="price" ColumnName="price" />
-                <ScalarProperty Name="publish_time" ColumnName="publish_time" />
-                <ScalarProperty Name="expire_time" ColumnName="expire_time" />
-                <ScalarProperty Name="success" ColumnName="success" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_employer_notice">
-            <EntityTypeMapping TypeName="DataCenterModel.t_employer_notice">
-              <MappingFragment StoreEntitySet="t_employer_notice">
-                <ScalarProperty Name="employer_guid" ColumnName="employer_guid" />
-                <ScalarProperty Name="want_type" ColumnName="want_type" />
-                <ScalarProperty Name="employee_level_condition" ColumnName="employee_level_condition" />
-                <ScalarProperty Name="player_level_condition" ColumnName="player_level_condition" />
-                <ScalarProperty Name="player_pvp_score_condition" ColumnName="player_pvp_score_condition" />
-                <ScalarProperty Name="assets_type" ColumnName="assets_type" />
-                <ScalarProperty Name="price" ColumnName="price" />
-                <ScalarProperty Name="publish_time" ColumnName="publish_time" />
-                <ScalarProperty Name="expire_time" ColumnName="expire_time" />
-                <ScalarProperty Name="success" ColumnName="success" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_fighting_evaluation_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_fighting_evaluation_info">
-              <MappingFragment StoreEntitySet="t_fighting_evaluation_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="evaluate_player_guid" ColumnName="evaluate_player_guid" />
-                <ScalarProperty Name="evaluate_type" ColumnName="evaluate_type" />
-                <ScalarProperty Name="evaluate_time" ColumnName="evaluate_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_friend">
-            <EntityTypeMapping TypeName="DataCenterModel.t_friend">
-              <MappingFragment StoreEntitySet="t_friend">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="friend_guid" ColumnName="friend_guid" />
-                <ScalarProperty Name="group_id" ColumnName="group_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_friend_ban_match">
-            <EntityTypeMapping TypeName="DataCenterModel.t_friend_ban_match">
-              <MappingFragment StoreEntitySet="t_friend_ban_match">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="ban_guid" ColumnName="ban_guid" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_friend_group">
-            <EntityTypeMapping TypeName="DataCenterModel.t_friend_group">
-              <MappingFragment StoreEntitySet="t_friend_group">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="group_id" ColumnName="group_id" />
-                <ScalarProperty Name="group_name" ColumnName="group_name" />
-                <ScalarProperty Name="is_sys_group" ColumnName="is_sys_group" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_game_hero_use_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_game_hero_use_info">
-              <MappingFragment StoreEntitySet="t_game_hero_use_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="use_count" ColumnName="use_count" />
-                <ScalarProperty Name="pvp_score" ColumnName="pvp_score" />
-                <ScalarProperty Name="pvp_score_uptime" ColumnName="pvp_score_uptime" />
-                <ScalarProperty Name="mvp_count" ColumnName="mvp_count" />
-                <ScalarProperty Name="mvp_count_uptime" ColumnName="mvp_count_uptime" />
-                <ScalarProperty Name="achievement" ColumnName="achievement" />
-                <ScalarProperty Name="achievement_uptime" ColumnName="achievement_uptime" />
-                <ScalarProperty Name="loser_mvp_count" ColumnName="loser_mvp_count" />
-                <ScalarProperty Name="loser_mvp_count_uptime" ColumnName="loser_mvp_count_uptime" />
-                <ScalarProperty Name="daily_kill_count" ColumnName="daily_kill_count" />
-                <ScalarProperty Name="daily_kill_count_uptime" ColumnName="daily_kill_count_uptime" />
-                <ScalarProperty Name="daily_dead_count" ColumnName="daily_dead_count" />
-                <ScalarProperty Name="daily_dead_count_uptime" ColumnName="daily_dead_count_uptime" />
-                <ScalarProperty Name="daily_assist_count" ColumnName="daily_assist_count" />
-                <ScalarProperty Name="daily_assist_count_uptime" ColumnName="daily_assist_count_uptime" />
-                <ScalarProperty Name="daily_total_money" ColumnName="daily_total_money" />
-                <ScalarProperty Name="daily_total_money_uptime" ColumnName="daily_total_money_uptime" />
-                <ScalarProperty Name="daily_kill_friend_soldier" ColumnName="daily_kill_friend_soldier" />
-                <ScalarProperty Name="daily_kill_friend_soldier_uptime" ColumnName="daily_kill_friend_soldier_uptime" />
-                <ScalarProperty Name="win_count" ColumnName="win_count" />
-                <ScalarProperty Name="trueskill" ColumnName="trueskill" />
-                <ScalarProperty Name="total_kill_count" ColumnName="total_kill_count" />
-                <ScalarProperty Name="total_assist_count" ColumnName="total_assist_count" />
-                <ScalarProperty Name="total_dead_count" ColumnName="total_dead_count" />
-                <ScalarProperty Name="total_first_blood" ColumnName="total_first_blood" />
-                <ScalarProperty Name="total_killed_by_first_blood" ColumnName="total_killed_by_first_blood" />
-                <ScalarProperty Name="total_get_money" ColumnName="total_get_money" />
-                <ScalarProperty Name="total_kill_hostile_soldier" ColumnName="total_kill_hostile_soldier" />
-                <ScalarProperty Name="total_kill_friend_soldier" ColumnName="total_kill_friend_soldier" />
-                <ScalarProperty Name="total_destroy_hostile_tower" ColumnName="total_destroy_hostile_tower" />
-                <ScalarProperty Name="total_destroy_friend_tower" ColumnName="total_destroy_friend_tower" />
-                <ScalarProperty Name="total_kill_monster_number" ColumnName="total_kill_monster_number" />
-                <ScalarProperty Name="most_continuous_kill_number" ColumnName="most_continuous_kill_number" />
-                <ScalarProperty Name="total_physics_damage" ColumnName="total_physics_damage" />
-                <ScalarProperty Name="total_magic_damage" ColumnName="total_magic_damage" />
-                <ScalarProperty Name="max_kill_hostile_soldier_times" ColumnName="max_kill_hostile_soldier_times" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="score_update_count" ColumnName="score_update_count" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_game_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_game_info">
-              <MappingFragment StoreEntitySet="t_game_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="character_name" ColumnName="character_name" />
-                <ScalarProperty Name="register_area" ColumnName="register_area" />
-                <ScalarProperty Name="character_level" ColumnName="character_level" />
-                <ScalarProperty Name="experience" ColumnName="experience" />
-                <ScalarProperty Name="experience_uptime" ColumnName="experience_uptime" />
-                <ScalarProperty Name="stage_score" ColumnName="stage_score" />
-                <ScalarProperty Name="stage_score_uptime" ColumnName="stage_score_uptime" />
-                <ScalarProperty Name="win_count" ColumnName="win_count" />
-                <ScalarProperty Name="lose_count" ColumnName="lose_count" />
-                <ScalarProperty Name="flee_count" ColumnName="flee_count" />
-                <ScalarProperty Name="max_kill_games" ColumnName="max_kill_games" />
-                <ScalarProperty Name="max_assist_games" ColumnName="max_assist_games" />
-                <ScalarProperty Name="max_destroy_hostile_towner_games" ColumnName="max_destroy_hostile_towner_games" />
-                <ScalarProperty Name="first_blood_games" ColumnName="first_blood_games" />
-                <ScalarProperty Name="max_money_games" ColumnName="max_money_games" />
-                <ScalarProperty Name="kill_boss_count" ColumnName="kill_boss_count" />
-                <ScalarProperty Name="kill_boss_count_uptime" ColumnName="kill_boss_count_uptime" />
-                <ScalarProperty Name="max_money" ColumnName="max_money" />
-                <ScalarProperty Name="max_assist" ColumnName="max_assist" />
-                <ScalarProperty Name="max_kill" ColumnName="max_kill" />
-                <ScalarProperty Name="exploit_value" ColumnName="exploit_value" />
-                <ScalarProperty Name="pass_level_count" ColumnName="pass_level_count" />
-                <ScalarProperty Name="lose_level_count" ColumnName="lose_level_count" />
-                <ScalarProperty Name="get_s_count" ColumnName="get_s_count" />
-                <ScalarProperty Name="last_level_up_time" ColumnName="last_level_up_time" />
-                <ScalarProperty Name="mean" ColumnName="mean" />
-                <ScalarProperty Name="deviation" ColumnName="deviation" />
-                <ScalarProperty Name="total_kill_boss_number" ColumnName="total_kill_boss_number" />
-                <ScalarProperty Name="played_time" ColumnName="played_time" />
-                <ScalarProperty Name="in_city_time" ColumnName="in_city_time" />
-                <ScalarProperty Name="in_match_time" ColumnName="in_match_time" />
-                <ScalarProperty Name="in_room_time" ColumnName="in_room_time" />
-                <ScalarProperty Name="arena_match_score" ColumnName="arena_match_score" />
-                <ScalarProperty Name="funny_match_score" ColumnName="funny_match_score" />
-                <ScalarProperty Name="good_reputation_count" ColumnName="good_reputation_count" />
-                <ScalarProperty Name="wujiangshilian_play_time" ColumnName="wujiangshilian_play_time" />
-                <ScalarProperty Name="youzhou_last_play_soldier_count" ColumnName="youzhou_last_play_soldier_count" />
-                <ScalarProperty Name="youzhou_last_play_soldier_level" ColumnName="youzhou_last_play_soldier_level" />
-                <ScalarProperty Name="vip_exp" ColumnName="vip_exp" />
-                <ScalarProperty Name="vip_exp_accumulate" ColumnName="vip_exp_accumulate" />
-                <ScalarProperty Name="last_vip_exp_up_time" ColumnName="last_vip_exp_up_time" />
-                <ScalarProperty Name="employ_pvp_win_count_room" ColumnName="employ_pvp_win_count_room" />
-                <ScalarProperty Name="employ_pvp_lose_count_room" ColumnName="employ_pvp_lose_count_room" />
-                <ScalarProperty Name="employ_pvp_flee_count_room" ColumnName="employ_pvp_flee_count_room" />
-                <ScalarProperty Name="employ_pvp_win_count_match" ColumnName="employ_pvp_win_count_match" />
-                <ScalarProperty Name="employ_pvp_lose_count_match" ColumnName="employ_pvp_lose_count_match" />
-                <ScalarProperty Name="employ_pvp_flee_count_match" ColumnName="employ_pvp_flee_count_match" />
-                <ScalarProperty Name="employ_pve_pass_level_count" ColumnName="employ_pve_pass_level_count" />
-                <ScalarProperty Name="employ_pve_lose_level_count" ColumnName="employ_pve_lose_level_count" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_gs_code">
-            <EntityTypeMapping TypeName="DataCenterModel.t_gs_code">
-              <MappingFragment StoreEntitySet="t_gs_code">
-                <ScalarProperty Name="active_code" ColumnName="active_code" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="character_name" ColumnName="character_name" />
-                <ScalarProperty Name="invitee_guid" ColumnName="invitee_guid" />
-                <ScalarProperty Name="notify_inviter" ColumnName="notify_inviter" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_hero_color_scheme">
-            <EntityTypeMapping TypeName="DataCenterModel.t_hero_color_scheme">
-              <MappingFragment StoreEntitySet="t_hero_color_scheme">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="color_scheme_id" ColumnName="color_scheme_id" />
-                <ScalarProperty Name="color1" ColumnName="color1" />
-                <ScalarProperty Name="color2" ColumnName="color2" />
-                <ScalarProperty Name="color3" ColumnName="color3" />
-                <ScalarProperty Name="color4" ColumnName="color4" />
-                <ScalarProperty Name="color5" ColumnName="color5" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_hero_level_state">
-            <EntityTypeMapping TypeName="DataCenterModel.t_hero_level_state">
-              <MappingFragment StoreEntitySet="t_hero_level_state">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="level" ColumnName="level" />
-                <ScalarProperty Name="selected_free_hero" ColumnName="selected_free_hero" />
-                <ScalarProperty Name="selected_discount_hero" ColumnName="selected_discount_hero" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_hero_pet">
-            <EntityTypeMapping TypeName="DataCenterModel.t_hero_pet">
-              <MappingFragment StoreEntitySet="t_hero_pet">
-                <ScalarProperty Name="guid" ColumnName="guid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="name" ColumnName="name" />
-                <ScalarProperty Name="location" ColumnName="location" />
-                <ScalarProperty Name="level" ColumnName="level" />
-                <ScalarProperty Name="expr" ColumnName="expr" />
-                <ScalarProperty Name="closeness" ColumnName="closeness" />
-                <ScalarProperty Name="closeness_up_fail" ColumnName="closeness_up_fail" />
-                <ScalarProperty Name="merge_count" ColumnName="merge_count" />
-                <ScalarProperty Name="merge_time" ColumnName="merge_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_hero_suggest_equipment">
-            <EntityTypeMapping TypeName="DataCenterModel.t_hero_suggest_equipment">
-              <MappingFragment StoreEntitySet="t_hero_suggest_equipment">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="plan_id" ColumnName="plan_id" />
-                <ScalarProperty Name="plan_description" ColumnName="plan_description" />
-                <ScalarProperty Name="item_id0" ColumnName="item_id0" />
-                <ScalarProperty Name="item_id1" ColumnName="item_id1" />
-                <ScalarProperty Name="item_id2" ColumnName="item_id2" />
-                <ScalarProperty Name="item_id3" ColumnName="item_id3" />
-                <ScalarProperty Name="item_id4" ColumnName="item_id4" />
-                <ScalarProperty Name="item_id5" ColumnName="item_id5" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_hero_unlock_hero">
-            <EntityTypeMapping TypeName="DataCenterModel.t_hero_unlock_hero">
-              <MappingFragment StoreEntitySet="t_hero_unlock_hero">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="level" ColumnName="level" />
-                <ScalarProperty Name="cur_color_scheme_id" ColumnName="cur_color_scheme_id" />
-                <ScalarProperty Name="scheme_unlock_status" ColumnName="scheme_unlock_status" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_illegal_term_rules">
-            <EntityTypeMapping TypeName="DataCenterModel.t_illegal_term_rules">
-              <MappingFragment StoreEntitySet="t_illegal_term_rules">
-                <ScalarProperty Name="regex" ColumnName="regex" />
-                <ScalarProperty Name="id" ColumnName="id" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_item_roll_list">
-            <EntityTypeMapping TypeName="DataCenterModel.t_item_roll_list">
-              <MappingFragment StoreEntitySet="t_item_roll_list">
-                <ScalarProperty Name="item_roll_guid" ColumnName="item_roll_guid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="item_guid" ColumnName="item_guid" />
-                <ScalarProperty Name="item_id" ColumnName="item_id" />
-                <ScalarProperty Name="item_name" ColumnName="item_name" />
-                <ScalarProperty Name="source" ColumnName="source" />
-                <ScalarProperty Name="is_bound" ColumnName="is_bound" />
-                <ScalarProperty Name="attributes" ColumnName="attributes" />
-                <ScalarProperty Name="buy_time" ColumnName="buy_time" />
-                <ScalarProperty Name="expire_time" ColumnName="expire_time" />
-                <ScalarProperty Name="buy_type" ColumnName="buy_type" />
-                <ScalarProperty Name="pay_type" ColumnName="pay_type" />
-                <ScalarProperty Name="pay_yuanbao" ColumnName="pay_yuanbao" />
-                <ScalarProperty Name="free_yuanbao" ColumnName="free_yuanbao" />
-                <ScalarProperty Name="previous_count" ColumnName="previous_count" />
-                <ScalarProperty Name="previous_location" ColumnName="previous_location" />
-                <ScalarProperty Name="count" ColumnName="count" />
-                <ScalarProperty Name="location" ColumnName="location" />
-                <ScalarProperty Name="change_type" ColumnName="change_type" />
-                <ScalarProperty Name="billing_state" ColumnName="billing_state" />
-                <ScalarProperty Name="charge_gold_balance" ColumnName="charge_gold_balance" />
-                <ScalarProperty Name="free_gold_balance" ColumnName="free_gold_balance" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_login_reward">
-            <EntityTypeMapping TypeName="DataCenterModel.t_login_reward">
-              <MappingFragment StoreEntitySet="t_login_reward">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="year_day" ColumnName="year_day" />
-                <ScalarProperty Name="reward_id" ColumnName="reward_id" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_mail">
-            <EntityTypeMapping TypeName="DataCenterModel.t_mail">
-              <MappingFragment StoreEntitySet="t_mail">
-                <ScalarProperty Name="mail_guid" ColumnName="mail_guid" />
-                <ScalarProperty Name="checked" ColumnName="checked" />
-                <ScalarProperty Name="is_read" ColumnName="is_read" />
-                <ScalarProperty Name="is_system_mail" ColumnName="is_system_mail" />
-                <ScalarProperty Name="sender_guid" ColumnName="sender_guid" />
-                <ScalarProperty Name="sender_name" ColumnName="sender_name" />
-                <ScalarProperty Name="receiver_guid" ColumnName="receiver_guid" />
-                <ScalarProperty Name="receiver_name" ColumnName="receiver_name" />
-                <ScalarProperty Name="mail_subject" ColumnName="mail_subject" />
-                <ScalarProperty Name="mail_body" ColumnName="mail_body" />
-                <ScalarProperty Name="silver" ColumnName="silver" />
-                <ScalarProperty Name="charge_gold" ColumnName="charge_gold" />
-                <ScalarProperty Name="money_is_taked" ColumnName="money_is_taked" />
-                <ScalarProperty Name="item_count" ColumnName="item_count" />
-                <ScalarProperty Name="expire_time" ColumnName="expire_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_mail_item">
-            <EntityTypeMapping TypeName="DataCenterModel.t_mail_item">
-              <MappingFragment StoreEntitySet="t_mail_item">
-                <ScalarProperty Name="item_guid" ColumnName="item_guid" />
-                <ScalarProperty Name="mail_guid" ColumnName="mail_guid" />
-                <ScalarProperty Name="is_taked" ColumnName="is_taked" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_mall_items_sales_count">
-            <EntityTypeMapping TypeName="DataCenterModel.t_mall_items_sales_count">
-              <MappingFragment StoreEntitySet="t_mall_items_sales_count">
-                <ScalarProperty Name="item_id" ColumnName="item_id" />
-                <ScalarProperty Name="sale_count" ColumnName="sale_count" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_map_play_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_map_play_info">
-              <MappingFragment StoreEntitySet="t_map_play_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="map_type" ColumnName="map_type" />
-                <ScalarProperty Name="play_count" ColumnName="play_count" />
-                <ScalarProperty Name="win_count" ColumnName="win_count" />
-                <ScalarProperty Name="last_play_date" ColumnName="last_play_date" />
-                <ScalarProperty Name="total_play_time" ColumnName="total_play_time" />
-                <ScalarProperty Name="today_play_time" ColumnName="today_play_time" />
-                <ScalarProperty Name="current_level" ColumnName="current_level" />
-                <ScalarProperty Name="max_score" ColumnName="max_score" />
-                <ScalarProperty Name="kill_boss_count" ColumnName="kill_boss_count" />
-                <ScalarProperty Name="kill_hostile_soldier" ColumnName="kill_hostile_soldier" />
-                <ScalarProperty Name="max_total_damage" ColumnName="max_total_damage" />
-                <ScalarProperty Name="max_total_suffer_damage" ColumnName="max_total_suffer_damage" />
-                <ScalarProperty Name="max_total_heal" ColumnName="max_total_heal" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_map_play_info_hero">
-            <EntityTypeMapping TypeName="DataCenterModel.t_map_play_info_hero">
-              <MappingFragment StoreEntitySet="t_map_play_info_hero">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="map_type" ColumnName="map_type" />
-                <ScalarProperty Name="hero_id" ColumnName="hero_id" />
-                <ScalarProperty Name="play_count" ColumnName="play_count" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_map_play_info_hero_pet">
-            <EntityTypeMapping TypeName="DataCenterModel.t_map_play_info_hero_pet">
-              <MappingFragment StoreEntitySet="t_map_play_info_hero_pet">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="map_type" ColumnName="map_type" />
-                <ScalarProperty Name="guid" ColumnName="guid" />
-                <ScalarProperty Name="play_count" ColumnName="play_count" />
-                <ScalarProperty Name="play_count_s" ColumnName="play_count_s" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_meta">
-            <EntityTypeMapping TypeName="DataCenterModel.t_meta">
-              <MappingFragment StoreEntitySet="t_meta">
-                <ScalarProperty Name="meta_key" ColumnName="meta_key" />
-                <ScalarProperty Name="meta_value" ColumnName="meta_value" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_offline_message">
-            <EntityTypeMapping TypeName="DataCenterModel.t_offline_message">
-              <MappingFragment StoreEntitySet="t_offline_message">
-                <ScalarProperty Name="fid" ColumnName="fid" />
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="proto_name" ColumnName="proto_name" />
-                <ScalarProperty Name="content" ColumnName="content" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_pve_equipment_scheme">
-            <EntityTypeMapping TypeName="DataCenterModel.t_pve_equipment_scheme">
-              <MappingFragment StoreEntitySet="t_pve_equipment_scheme">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="scheme_id" ColumnName="scheme_id" />
-                <ScalarProperty Name="scheme_name" ColumnName="scheme_name" />
-                <ScalarProperty Name="slot0_item_guid" ColumnName="slot0_item_guid" />
-                <ScalarProperty Name="slot1_item_guid" ColumnName="slot1_item_guid" />
-                <ScalarProperty Name="slot2_item_guid" ColumnName="slot2_item_guid" />
-                <ScalarProperty Name="slot3_item_guid" ColumnName="slot3_item_guid" />
-                <ScalarProperty Name="slot4_item_guid" ColumnName="slot4_item_guid" />
-                <ScalarProperty Name="slot5_item_guid" ColumnName="slot5_item_guid" />
-                <ScalarProperty Name="slot6_item_guid" ColumnName="slot6_item_guid" />
-                <ScalarProperty Name="slot7_item_guid" ColumnName="slot7_item_guid" />
-                <ScalarProperty Name="slot8_item_guid" ColumnName="slot8_item_guid" />
-                <ScalarProperty Name="slot9_item_guid" ColumnName="slot9_item_guid" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_pve_equipment_strength">
-            <EntityTypeMapping TypeName="DataCenterModel.t_pve_equipment_strength">
-              <MappingFragment StoreEntitySet="t_pve_equipment_strength">
-                <ScalarProperty Name="guid" ColumnName="guid" />
-                <ScalarProperty Name="strength_lv" ColumnName="strength_lv" />
-                <ScalarProperty Name="strength_value" ColumnName="strength_value" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_questionnaire">
-            <EntityTypeMapping TypeName="DataCenterModel.t_questionnaire">
-              <MappingFragment StoreEntitySet="t_questionnaire">
-                <ScalarProperty Name="questionnaire_id" ColumnName="questionnaire_id" />
-                <ScalarProperty Name="content" ColumnName="content" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_rune_scheme">
-            <EntityTypeMapping TypeName="DataCenterModel.t_rune_scheme">
-              <MappingFragment StoreEntitySet="t_rune_scheme">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="scheme_id" ColumnName="scheme_id" />
-                <ScalarProperty Name="scheme_name" ColumnName="scheme_name" />
-                <ScalarProperty Name="slot0_item_guid" ColumnName="slot0_item_guid" />
-                <ScalarProperty Name="slot1_item_guid" ColumnName="slot1_item_guid" />
-                <ScalarProperty Name="slot2_item_guid" ColumnName="slot2_item_guid" />
-                <ScalarProperty Name="slot3_item_guid" ColumnName="slot3_item_guid" />
-                <ScalarProperty Name="slot4_item_guid" ColumnName="slot4_item_guid" />
-                <ScalarProperty Name="slot5_item_guid" ColumnName="slot5_item_guid" />
-                <ScalarProperty Name="slot6_item_guid" ColumnName="slot6_item_guid" />
-                <ScalarProperty Name="slot7_item_guid" ColumnName="slot7_item_guid" />
-                <ScalarProperty Name="slot8_item_guid" ColumnName="slot8_item_guid" />
-                <ScalarProperty Name="slot9_item_guid" ColumnName="slot9_item_guid" />
-                <ScalarProperty Name="slot10_item_guid" ColumnName="slot10_item_guid" />
-                <ScalarProperty Name="slot11_item_guid" ColumnName="slot11_item_guid" />
-                <ScalarProperty Name="slot12_item_guid" ColumnName="slot12_item_guid" />
-                <ScalarProperty Name="slot13_item_guid" ColumnName="slot13_item_guid" />
-                <ScalarProperty Name="slot14_item_guid" ColumnName="slot14_item_guid" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_social_group_basic">
-            <EntityTypeMapping TypeName="DataCenterModel.t_social_group_basic">
-              <MappingFragment StoreEntitySet="t_social_group_basic">
-                <ScalarProperty Name="group_guid" ColumnName="group_guid" />
-                <ScalarProperty Name="group_name" ColumnName="group_name" />
-                <ScalarProperty Name="group_type" ColumnName="group_type" />
-                <ScalarProperty Name="owner_guid" ColumnName="owner_guid" />
-                <ScalarProperty Name="owner_name" ColumnName="owner_name" />
-                <ScalarProperty Name="member_size" ColumnName="member_size" />
-                <ScalarProperty Name="manager_size" ColumnName="manager_size" />
-                <ScalarProperty Name="bulletin" ColumnName="bulletin" />
-                <ScalarProperty Name="join_rule" ColumnName="join_rule" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_social_group_manager">
-            <EntityTypeMapping TypeName="DataCenterModel.t_social_group_manager">
-              <MappingFragment StoreEntitySet="t_social_group_manager">
-                <ScalarProperty Name="group_guid" ColumnName="group_guid" />
-                <ScalarProperty Name="manager_guid" ColumnName="manager_guid" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_social_group_member">
-            <EntityTypeMapping TypeName="DataCenterModel.t_social_group_member">
-              <MappingFragment StoreEntitySet="t_social_group_member">
-                <ScalarProperty Name="group_guid" ColumnName="group_guid" />
-                <ScalarProperty Name="member_guid" ColumnName="member_guid" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_title_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_title_info">
-              <MappingFragment StoreEntitySet="t_title_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="title_id" ColumnName="title_id" />
-                <ScalarProperty Name="new_title" ColumnName="new_title" />
-                <ScalarProperty Name="valid_time" ColumnName="valid_time" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_treasure">
-            <EntityTypeMapping TypeName="DataCenterModel.t_treasure">
-              <MappingFragment StoreEntitySet="t_treasure">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="daily_count" ColumnName="daily_count" />
-                <ScalarProperty Name="daily_count_uptime" ColumnName="daily_count_uptime" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_tutorial">
-            <EntityTypeMapping TypeName="DataCenterModel.t_tutorial">
-              <MappingFragment StoreEntitySet="t_tutorial">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="is_first_login" ColumnName="is_first_login" />
-                <ScalarProperty Name="close_beginner_map_guide" ColumnName="close_beginner_map_guide" />
-                <ScalarProperty Name="match_count" ColumnName="match_count" />
-                <ScalarProperty Name="quick_match_count" ColumnName="quick_match_count" />
-                <ScalarProperty Name="close_compound_hero_guide" ColumnName="close_compound_hero_guide" />
-                <ScalarProperty Name="gain_hero_pet_item" ColumnName="gain_hero_pet_item" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </MappingFragment>
-            </EntityTypeMapping>
-          </EntitySetMapping>
-          <EntitySetMapping Name="t_tutorial_status_info">
-            <EntityTypeMapping TypeName="DataCenterModel.t_tutorial_status_info">
-              <MappingFragment StoreEntitySet="t_tutorial_status_info">
-                <ScalarProperty Name="character_guid" ColumnName="character_guid" />
-                <ScalarProperty Name="beginner_map_win_count" ColumnName="beginner_map_win_count" />
-                <ScalarProperty Name="match_count" ColumnName="match_count" />
-                <ScalarProperty Name="quick_match_count" ColumnName="quick_match_count" />
-                <ScalarProperty Name="is_close_notify_tutorial" ColumnName="is_close_notify_tutorial" />
-                <ScalarProperty Name="is_close_notify_mini_tutorial" ColumnName="is_close_notify_mini_tutorial" />
-                <ScalarProperty Name="create_time" ColumnName="create_time" />
-                <ScalarProperty Name="modify_time" ColumnName="modify_time" />
-              </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="CodeGenerationStrategy" Value="无" />
-      </DesignerInfoPropertySet>
-    </Options>
-    <!-- Diagram content (shape and connector positions) -->
-    <Diagrams></Diagrams>
-  </Designer>
-</edmx:Edmx>

+ 0 - 88
CSharp/App/DataCenter/DataCenter.edmx.diagram

@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<edmx:Edmx Version="3.0" xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx">
- <!-- EF Designer content (DO NOT EDIT MANUALLY BELOW HERE) -->
-  <edmx:Designer xmlns="http://schemas.microsoft.com/ado/2009/11/edmx">
-    <!-- Diagram content (shape and connector positions) -->
-    <edmx:Diagrams>
-      <Diagram DiagramId="a74023b8f93047ad8d99207e15cc333f" Name="关系图1">
-        <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" />
-        <EntityTypeShape EntityType="DataCenterModel.t_active_code" Width="1.5" PointX="4.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_attribute" Width="1.5" PointX="4.75" PointY="3.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_auction_item" Width="1.5" PointX="6.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_available_map" Width="1.5" PointX="6.75" PointY="5.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_battle_gameover_statistic" Width="1.5" PointX="8.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_battle_kill_detail" Width="1.5" PointX="8.75" PointY="3.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_battle_summary" Width="1.5" PointX="4.75" PointY="8.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_beginner_group_config" Width="1.5" PointX="6.75" PointY="8.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_beginner_group_cong" Width="1.5" PointX="8.75" PointY="7.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_beginner_group_event" Width="1.5" PointX="10.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_activity" Width="1.5" PointX="10.75" PointY="3.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_activity_schedule" Width="1.5" PointX="10.75" PointY="7.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_character_elect_hero" Width="1.5" PointX="6.75" PointY="11.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_elect_hero_stat" Width="1.5" PointX="8.75" PointY="11.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_game_player" Width="1.5" PointX="10.75" PointY="11.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_guess_game_over" Width="1.5" PointX="12.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_guess_reward" Width="1.5" PointX="0.75" PointY="12.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_kfz_hero" Width="1.5" PointX="12.75" PointY="4.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_statue_info" Width="1.5" PointX="12.75" PointY="7.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_challenge_task_reward" Width="1.5" PointX="12.75" PointY="10.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character" Width="1.5" PointX="14.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_achievement" Width="1.5" PointX="6.75" PointY="14.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_appearance" Width="1.5" PointX="14.75" PointY="10.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_assets" Width="1.5" PointX="8.75" PointY="15.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_default_fighting_options" Width="1.5" PointX="10.75" PointY="15.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_item" Width="1.5" PointX="16.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_options" Width="1.5" PointX="0.75" PointY="16.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_character_questionnaire" Width="1.5" PointX="16.75" PointY="6.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_charge_list" Width="1.5" PointX="16.75" PointY="9.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_city_buff" Width="1.5" PointX="12.75" PointY="16.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_city_task_finish_sub_state" Width="1.5" PointX="16.75" PointY="14.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_city_task_info" Width="1.5" PointX="2.75" PointY="17.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_client_config" Width="1.5" PointX="18.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_common_spell" Width="1.5" PointX="18.75" PointY="4.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_daily_online_time" Width="1.5" PointX="4.75" PointY="18.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_employ_notice_status" Width="1.5" PointX="6.75" PointY="18.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_employ_relation" Width="1.5" PointX="18.75" PointY="7.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_employee_info" Width="1.5" PointX="8.75" PointY="18.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_employee_notice" Width="1.5" PointX="18.75" PointY="11.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_employer_notice" Width="1.5" PointX="14.75" PointY="18.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_fighting_evaluation_info" Width="1.5" PointX="18.75" PointY="15.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_friend" Width="1.5" PointX="16.75" PointY="18.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_friend_ban_match" Width="1.5" PointX="18.75" PointY="18.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_friend_group" Width="1.5" PointX="20.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_game_hero_use_info" Width="1.5" PointX="20.75" PointY="3.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_game_info" Width="1.5" PointX="10.75" PointY="20.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_gs_code" Width="1.5" PointX="20.75" PointY="13.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_hero_color_scheme" Width="1.5" PointX="20.75" PointY="17.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_hero_level_state" Width="1.5" PointX="0.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_hero_pet" Width="1.5" PointX="2.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_hero_suggest_equipment" Width="1.5" PointX="4.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_hero_unlock_hero" Width="1.5" PointX="6.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_illegal_term_rules" Width="1.5" PointX="16.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_item_roll_list" Width="1.5" PointX="18.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_login_reward" Width="1.5" PointX="20.75" PointY="21.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_mail" Width="1.5" PointX="22.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_mail_item" Width="1.5" PointX="22.75" PointY="6.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_mall_items_sales_count" Width="1.5" PointX="22.75" PointY="9.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_map_play_info" Width="1.5" PointX="22.75" PointY="12.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_map_play_info_hero" Width="1.5" PointX="22.75" PointY="17.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_map_play_info_hero_pet" Width="1.5" PointX="22.75" PointY="20.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_meta" Width="1.5" PointX="12.75" PointY="23.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_offline_message" Width="1.5" PointX="24.75" PointY="0.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_pve_equipment_scheme" Width="1.5" PointX="24.75" PointY="3.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_pve_equipment_strength" Width="1.5" PointX="24.75" PointY="8.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_questionnaire" Width="1.5" PointX="24.75" PointY="11.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_rune_scheme" Width="1.5" PointX="24.75" PointY="14.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_social_group_basic" Width="1.5" PointX="14.75" PointY="24.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_social_group_manager" Width="1.5" PointX="24.75" PointY="20.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_social_group_member" Width="1.5" PointX="20.75" PointY="24.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_title_info" Width="1.5" PointX="22.75" PointY="24.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_treasure" Width="1.5" PointX="24.75" PointY="23.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_tutorial" Width="1.5" PointX="6.75" PointY="25.75" IsExpanded="true" />
-        <EntityTypeShape EntityType="DataCenterModel.t_tutorial_status_info" Width="1.5" PointX="26.75" PointY="0.75" IsExpanded="true" />
-      </Diagram>
-    </edmx:Diagrams>
-  </edmx:Designer>
-</edmx:Edmx>

+ 0 - 845
CSharp/App/DataCenter/DataCenter.tt

@@ -1,845 +0,0 @@
-<#@ template language="C#" debug="false" hostspecific="true"#>
-<#@ include file="EF.Utility.CS.ttinclude"#><#@ 
- output extension=".cs"#><#
-
-const string inputFile = @"DataCenter.edmx";
-var textTransform = DynamicTextTransformation.Create(this);
-var code = new CodeGenerationTools(this);
-var ef = new MetadataTools(this);
-var typeMapper = new TypeMapper(code, ef, textTransform.Errors);
-var	fileManager = EntityFrameworkTemplateFileManager.Create(this);
-var itemCollection = new EdmMetadataLoader(textTransform.Host, textTransform.Errors).CreateEdmItemCollection(inputFile);
-var codeStringGenerator = new CodeStringGenerator(code, typeMapper, ef);
-
-if (!typeMapper.VerifyCaseInsensitiveTypeUniqueness(typeMapper.GetAllGlobalItems(itemCollection), inputFile))
-{
-    return string.Empty;
-}
-
-WriteHeader(codeStringGenerator, fileManager);
-
-foreach (var entity in typeMapper.GetItemsToGenerate<EntityType>(itemCollection))
-{
-    fileManager.StartNewFile(entity.Name + ".cs");
-    BeginNamespace(code);
-#>
-<#=codeStringGenerator.UsingDirectives(inHeader: false)#>
-<#=codeStringGenerator.EntityClassOpening(entity)#>
-{
-<#
-    var propertiesWithDefaultValues = typeMapper.GetPropertiesWithDefaultValues(entity);
-    var collectionNavigationProperties = typeMapper.GetCollectionNavigationProperties(entity);
-    var complexProperties = typeMapper.GetComplexProperties(entity);
-
-    if (propertiesWithDefaultValues.Any() || collectionNavigationProperties.Any() || complexProperties.Any())
-    {
-#>
-    public <#=code.Escape(entity)#>()
-    {
-<#
-        foreach (var edmProperty in propertiesWithDefaultValues)
-        {
-#>
-        this.<#=code.Escape(edmProperty)#> = <#=typeMapper.CreateLiteral(edmProperty.DefaultValue)#>;
-<#
-        }
-
-        foreach (var navigationProperty in collectionNavigationProperties)
-        {
-#>
-        this.<#=code.Escape(navigationProperty)#> = new HashSet<<#=typeMapper.GetTypeName(navigationProperty.ToEndMember.GetEntityType())#>>();
-<#
-        }
-
-        foreach (var complexProperty in complexProperties)
-        {
-#>
-        this.<#=code.Escape(complexProperty)#> = new <#=typeMapper.GetTypeName(complexProperty.TypeUsage)#>();
-<#
-        }
-#>
-    }
-
-<#
-    }
-
-    var simpleProperties = typeMapper.GetSimpleProperties(entity);
-    if (simpleProperties.Any())
-    {
-        foreach (var edmProperty in simpleProperties)
-        {
-#>
-    <#=codeStringGenerator.Property(edmProperty)#>
-<#
-        }
-    }
-
-    if (complexProperties.Any())
-    {
-#>
-
-<#
-        foreach(var complexProperty in complexProperties)
-        {
-#>
-    <#=codeStringGenerator.Property(complexProperty)#>
-<#
-        }
-    }
-
-    var navigationProperties = typeMapper.GetNavigationProperties(entity);
-    if (navigationProperties.Any())
-    {
-#>
-
-<#
-        foreach (var navigationProperty in navigationProperties)
-        {
-#>
-    <#=codeStringGenerator.NavigationProperty(navigationProperty)#>
-<#
-        }
-    }
-#>
-}
-<#
-    EndNamespace(code);
-}
-
-foreach (var complex in typeMapper.GetItemsToGenerate<ComplexType>(itemCollection))
-{
-    fileManager.StartNewFile(complex.Name + ".cs");
-    BeginNamespace(code);
-#>
-<#=codeStringGenerator.UsingDirectives(inHeader: false, includeCollections: false)#>
-<#=Accessibility.ForType(complex)#> partial class <#=code.Escape(complex)#>
-{
-<#
-    var complexProperties = typeMapper.GetComplexProperties(complex);
-    var propertiesWithDefaultValues = typeMapper.GetPropertiesWithDefaultValues(complex);
-
-    if (propertiesWithDefaultValues.Any() || complexProperties.Any())
-    {
-#>
-    public <#=code.Escape(complex)#>()
-    {
-<#
-        foreach (var edmProperty in propertiesWithDefaultValues)
-        {
-#>
-        this.<#=code.Escape(edmProperty)#> = <#=typeMapper.CreateLiteral(edmProperty.DefaultValue)#>;
-<#
-        }
-
-        foreach (var complexProperty in complexProperties)
-        {
-#>
-        this.<#=code.Escape(complexProperty)#> = new <#=typeMapper.GetTypeName(complexProperty.TypeUsage)#>();
-<#
-        }
-#>
-    }
-
-<#
-    }
-
-    var simpleProperties = typeMapper.GetSimpleProperties(complex);
-    if (simpleProperties.Any())
-    {
-        foreach(var edmProperty in simpleProperties)
-        {
-#>
-    <#=codeStringGenerator.Property(edmProperty)#>
-<#
-        }
-    }
-
-    if (complexProperties.Any())
-    {
-#>
-
-<#
-        foreach(var edmProperty in complexProperties)
-        {
-#>
-    <#=codeStringGenerator.Property(edmProperty)#>
-<#
-        }
-    }
-#>
-}
-<#
-    EndNamespace(code);
-}
-
-foreach (var enumType in typeMapper.GetEnumItemsToGenerate(itemCollection))
-{
-    fileManager.StartNewFile(enumType.Name + ".cs");
-    BeginNamespace(code);
-#>
-<#=codeStringGenerator.UsingDirectives(inHeader: false, includeCollections: false)#>
-<#
-    if (typeMapper.EnumIsFlags(enumType))
-    {
-#>
-[Flags]
-<#
-    }
-#>
-<#=codeStringGenerator.EnumOpening(enumType)#>
-{
-<#
-    var foundOne = false;
-    
-    foreach (MetadataItem member in typeMapper.GetEnumMembers(enumType))
-    {
-        foundOne = true;
-#>
-    <#=code.Escape(typeMapper.GetEnumMemberName(member))#> = <#=typeMapper.GetEnumMemberValue(member)#>,
-<#
-    }
-
-    if (foundOne)
-    {
-        this.GenerationEnvironment.Remove(this.GenerationEnvironment.Length - 3, 1);
-    }
-#>
-}
-<#
-    EndNamespace(code);
-}
-
-fileManager.Process();
-
-#>
-<#+
-
-public void WriteHeader(CodeStringGenerator codeStringGenerator, EntityFrameworkTemplateFileManager fileManager)
-{
-    fileManager.StartHeader();
-#>
-//------------------------------------------------------------------------------
-// <auto-generated>
-// <#=GetResourceString("Template_GeneratedCodeCommentLine1")#>
-//
-// <#=GetResourceString("Template_GeneratedCodeCommentLine2")#>
-// <#=GetResourceString("Template_GeneratedCodeCommentLine3")#>
-// </auto-generated>
-//------------------------------------------------------------------------------
-<#=codeStringGenerator.UsingDirectives(inHeader: true)#>
-<#+
-    fileManager.EndBlock();
-}
-
-public void BeginNamespace(CodeGenerationTools code)
-{
-    var codeNamespace = code.VsNamespaceSuggestion();
-    if (!String.IsNullOrEmpty(codeNamespace))
-    {
-#>
-namespace <#=code.EscapeNamespace(codeNamespace)#>
-{
-<#+
-        PushIndent("    ");
-    }
-}
-
-public void EndNamespace(CodeGenerationTools code)
-{
-    if (!String.IsNullOrEmpty(code.VsNamespaceSuggestion()))
-    {
-        PopIndent();
-#>
-}
-<#+
-    }
-}
-
-public const string TemplateId = "CSharp_DbContext_Types_EF5";
-
-public class CodeStringGenerator
-{
-    private readonly CodeGenerationTools _code;
-    private readonly TypeMapper _typeMapper;
-    private readonly MetadataTools _ef;
-
-    public CodeStringGenerator(CodeGenerationTools code, TypeMapper typeMapper, MetadataTools ef)
-    {
-        ArgumentNotNull(code, "code");
-        ArgumentNotNull(typeMapper, "typeMapper");
-        ArgumentNotNull(ef, "ef");
-
-        _code = code;
-        _typeMapper = typeMapper;
-        _ef = ef;
-    }
-
-    public string Property(EdmProperty edmProperty)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1} {2} {{ {3}get; {4}set; }}",
-            Accessibility.ForProperty(edmProperty),
-            _typeMapper.GetTypeName(edmProperty.TypeUsage),
-            _code.Escape(edmProperty),
-            _code.SpaceAfter(Accessibility.ForGetter(edmProperty)),
-            _code.SpaceAfter(Accessibility.ForSetter(edmProperty)));
-    }
-
-    public string NavigationProperty(NavigationProperty navigationProperty)
-    {
-        var endType = _typeMapper.GetTypeName(navigationProperty.ToEndMember.GetEntityType());
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1} {2} {{ {3}get; {4}set; }}",
-            AccessibilityAndVirtual(Accessibility.ForProperty(navigationProperty)),
-            navigationProperty.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many ? ("ICollection<" + endType + ">") : endType,
-            _code.Escape(navigationProperty),
-            _code.SpaceAfter(Accessibility.ForGetter(navigationProperty)),
-            _code.SpaceAfter(Accessibility.ForSetter(navigationProperty)));
-    }
-    
-    public string AccessibilityAndVirtual(string accessibility)
-    {
-        return accessibility + (accessibility != "private" ? " virtual" : "");
-    }
-    
-    public string EntityClassOpening(EntityType entity)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1}partial class {2}{3}",
-            Accessibility.ForType(entity),
-            _code.SpaceAfter(_code.AbstractOption(entity)),
-            _code.Escape(entity),
-            _code.StringBefore(" : ", _typeMapper.GetTypeName(entity.BaseType)));
-    }
-    
-    public string EnumOpening(SimpleType enumType)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} enum {1} : {2}",
-            Accessibility.ForType(enumType),
-            _code.Escape(enumType),
-            _code.Escape(_typeMapper.UnderlyingClrType(enumType)));
-        }
-    
-    public void WriteFunctionParameters(EdmFunction edmFunction, Action<string, string, string, string> writeParameter)
-    {
-        var parameters = FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef);
-        foreach (var parameter in parameters.Where(p => p.NeedsLocalVariable))
-        {
-            var isNotNull = parameter.IsNullableOfT ? parameter.FunctionParameterName + ".HasValue" : parameter.FunctionParameterName + " != null";
-            var notNullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", " + parameter.FunctionParameterName + ")";
-            var nullInit = "new ObjectParameter(\"" + parameter.EsqlParameterName + "\", typeof(" + parameter.RawClrTypeName + "))";
-            writeParameter(parameter.LocalVariableName, isNotNull, notNullInit, nullInit);
-        }
-    }
-    
-    public string ComposableFunctionMethod(EdmFunction edmFunction, string modelNamespace)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} IQueryable<{1}> {2}({3})",
-            AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)),
-            _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace),
-            _code.Escape(edmFunction),
-            string.Join(", ", parameters.Select(p => p.FunctionParameterType + " " + p.FunctionParameterName).ToArray()));
-    }
-    
-    public string ComposableCreateQuery(EdmFunction edmFunction, string modelNamespace)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "return ((IObjectContextAdapter)this).ObjectContext.CreateQuery<{0}>(\"[{1}].[{2}]({3})\"{4});",
-            _typeMapper.GetTypeName(_typeMapper.GetReturnType(edmFunction), modelNamespace),
-            edmFunction.NamespaceName,
-            edmFunction.Name,
-            string.Join(", ", parameters.Select(p => "@" + p.EsqlParameterName).ToArray()),
-            _code.StringBefore(", ", string.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray())));
-    }
-    
-    public string FunctionMethod(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        var returnType = _typeMapper.GetReturnType(edmFunction);
-
-        var paramList = String.Join(", ", parameters.Select(p => p.FunctionParameterType + " " + p.FunctionParameterName).ToArray());
-        if (includeMergeOption)
-        {
-            paramList = _code.StringAfter(paramList, ", ") + "MergeOption mergeOption";
-        }
-
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} {1} {2}({3})",
-            AccessibilityAndVirtual(Accessibility.ForMethod(edmFunction)),
-            returnType == null ? "int" : "ObjectResult<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">",
-            _code.Escape(edmFunction),
-            paramList);
-    }
-    
-    public string ExecuteFunction(EdmFunction edmFunction, string modelNamespace, bool includeMergeOption)
-    {
-        var parameters = _typeMapper.GetParameters(edmFunction);
-        var returnType = _typeMapper.GetReturnType(edmFunction);
-
-        var callParams = _code.StringBefore(", ", String.Join(", ", parameters.Select(p => p.ExecuteParameterName).ToArray()));
-        if (includeMergeOption)
-        {
-            callParams = ", mergeOption" + callParams;
-        }
-        
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "return ((IObjectContextAdapter)this).ObjectContext.ExecuteFunction{0}(\"{1}\"{2});",
-            returnType == null ? "" : "<" + _typeMapper.GetTypeName(returnType, modelNamespace) + ">",
-            edmFunction.Name,
-            callParams);
-    }
-    
-    public string DbSet(EntitySet entitySet)
-    {
-        return string.Format(
-            CultureInfo.InvariantCulture,
-            "{0} DbSet<{1}> {2} {{ get; set; }}",
-            Accessibility.ForReadOnlyProperty(entitySet),
-            _typeMapper.GetTypeName(entitySet.ElementType),
-            _code.Escape(entitySet));
-    }
-
-    public string UsingDirectives(bool inHeader, bool includeCollections = true)
-    {
-        return inHeader == string.IsNullOrEmpty(_code.VsNamespaceSuggestion())
-            ? string.Format(
-                CultureInfo.InvariantCulture,
-                "{0}using System;{1}" +
-                "{2}",
-                inHeader ? Environment.NewLine : "",
-                includeCollections ? (Environment.NewLine + "using System.Collections.Generic;") : "",
-                inHeader ? "" : Environment.NewLine)
-            : "";
-    }
-}
-
-public class TypeMapper
-{
-    private const string ExternalTypeNameAttributeName = @"http://schemas.microsoft.com/ado/2006/04/codegeneration:ExternalTypeName";
-
-    private readonly System.Collections.IList _errors;
-    private readonly CodeGenerationTools _code;
-    private readonly MetadataTools _ef;
-
-    public TypeMapper(CodeGenerationTools code, MetadataTools ef, System.Collections.IList errors)
-    {
-        ArgumentNotNull(code, "code");
-        ArgumentNotNull(ef, "ef");
-        ArgumentNotNull(errors, "errors");
-
-        _code = code;
-        _ef = ef;
-        _errors = errors;
-    }
-
-    public string GetTypeName(TypeUsage typeUsage)
-    {
-        return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace: null);
-    }
-
-    public string GetTypeName(EdmType edmType)
-    {
-        return GetTypeName(edmType, isNullable: null, modelNamespace: null);
-    }
-
-    public string GetTypeName(TypeUsage typeUsage, string modelNamespace)
-    {
-        return typeUsage == null ? null : GetTypeName(typeUsage.EdmType, _ef.IsNullable(typeUsage), modelNamespace);
-    }
-
-    public string GetTypeName(EdmType edmType, string modelNamespace)
-    {
-        return GetTypeName(edmType, isNullable: null, modelNamespace: modelNamespace);
-    }
-
-    public string GetTypeName(EdmType edmType, bool? isNullable, string modelNamespace)
-    {
-        if (edmType == null)
-        {
-            return null;
-        }
-
-        var collectionType = edmType as CollectionType;
-        if (collectionType != null)
-        {
-            return String.Format(CultureInfo.InvariantCulture, "ICollection<{0}>", GetTypeName(collectionType.TypeUsage, modelNamespace));
-        }
-
-        var typeName = _code.Escape(edmType.MetadataProperties
-                                .Where(p => p.Name == ExternalTypeNameAttributeName)
-                                .Select(p => (string)p.Value)
-                                .FirstOrDefault())
-            ?? (modelNamespace != null && edmType.NamespaceName != modelNamespace ?
-                _code.CreateFullName(_code.EscapeNamespace(edmType.NamespaceName), _code.Escape(edmType)) :
-                _code.Escape(edmType));
-
-        if (edmType is StructuralType)
-        {
-            return typeName;
-        }
-
-        if (edmType is SimpleType)
-        {
-            var clrType = UnderlyingClrType(edmType);
-            if (!IsEnumType(edmType))
-            {
-                typeName = _code.Escape(clrType);
-            }
-
-            return clrType.IsValueType && isNullable == true ?
-                String.Format(CultureInfo.InvariantCulture, "Nullable<{0}>", typeName) :
-                typeName;
-        }
-
-        throw new ArgumentException("edmType");
-    }
-    
-    public Type UnderlyingClrType(EdmType edmType)
-    {
-        ArgumentNotNull(edmType, "edmType");
-
-        var primitiveType = edmType as PrimitiveType;
-        if (primitiveType != null)
-        {
-            return primitiveType.ClrEquivalentType;
-        }
-
-        if (IsEnumType(edmType))
-        {
-            return GetEnumUnderlyingType(edmType).ClrEquivalentType;
-        }
-
-        return typeof(object);
-    }
-    
-    public object GetEnumMemberValue(MetadataItem enumMember)
-    {
-        ArgumentNotNull(enumMember, "enumMember");
-        
-        var valueProperty = enumMember.GetType().GetProperty("Value");
-        return valueProperty == null ? null : valueProperty.GetValue(enumMember, null);
-    }
-    
-    public string GetEnumMemberName(MetadataItem enumMember)
-    {
-        ArgumentNotNull(enumMember, "enumMember");
-        
-        var nameProperty = enumMember.GetType().GetProperty("Name");
-        return nameProperty == null ? null : (string)nameProperty.GetValue(enumMember, null);
-    }
-
-    public System.Collections.IEnumerable GetEnumMembers(EdmType enumType)
-    {
-        ArgumentNotNull(enumType, "enumType");
-
-        var membersProperty = enumType.GetType().GetProperty("Members");
-        return membersProperty != null 
-            ? (System.Collections.IEnumerable)membersProperty.GetValue(enumType, null)
-            : Enumerable.Empty<MetadataItem>();
-    }
-    
-    public bool EnumIsFlags(EdmType enumType)
-    {
-        ArgumentNotNull(enumType, "enumType");
-        
-        var isFlagsProperty = enumType.GetType().GetProperty("IsFlags");
-        return isFlagsProperty != null && (bool)isFlagsProperty.GetValue(enumType, null);
-    }
-
-    public bool IsEnumType(GlobalItem edmType)
-    {
-        ArgumentNotNull(edmType, "edmType");
-
-        return edmType.GetType().Name == "EnumType";
-    }
-
-    public PrimitiveType GetEnumUnderlyingType(EdmType enumType)
-    {
-        ArgumentNotNull(enumType, "enumType");
-
-        return (PrimitiveType)enumType.GetType().GetProperty("UnderlyingType").GetValue(enumType, null);
-    }
-
-    public string CreateLiteral(object value)
-    {
-        if (value == null || value.GetType() != typeof(TimeSpan))
-        {
-            return _code.CreateLiteral(value);
-        }
-
-        return string.Format(CultureInfo.InvariantCulture, "new TimeSpan({0})", ((TimeSpan)value).Ticks);
-    }
-    
-    public bool VerifyCaseInsensitiveTypeUniqueness(IEnumerable<string> types, string sourceFile)
-    {
-        ArgumentNotNull(types, "types");
-        ArgumentNotNull(sourceFile, "sourceFile");
-        
-        var hash = new HashSet<string>(StringComparer.InvariantCultureIgnoreCase);
-        if (types.Any(item => !hash.Add(item)))
-        {
-            _errors.Add(
-                new CompilerError(sourceFile, -1, -1, "6023",
-                    String.Format(CultureInfo.CurrentCulture, GetResourceString("Template_CaseInsensitiveTypeConflict"))));
-            return false;
-        }
-        return true;
-    }
-    
-    public IEnumerable<SimpleType> GetEnumItemsToGenerate(IEnumerable<GlobalItem> itemCollection)
-    {
-        return GetItemsToGenerate<SimpleType>(itemCollection)
-            .Where(e => IsEnumType(e));
-    }
-    
-    public IEnumerable<T> GetItemsToGenerate<T>(IEnumerable<GlobalItem> itemCollection) where T: EdmType
-    {
-        return itemCollection
-            .OfType<T>()
-            .Where(i => !i.MetadataProperties.Any(p => p.Name == ExternalTypeNameAttributeName))
-            .OrderBy(i => i.Name);
-    }
-
-    public IEnumerable<string> GetAllGlobalItems(IEnumerable<GlobalItem> itemCollection)
-    {
-        return itemCollection
-            .Where(i => i is EntityType || i is ComplexType || i is EntityContainer || IsEnumType(i))
-            .Select(g => GetGlobalItemName(g));
-    }
-
-    public string GetGlobalItemName(GlobalItem item)
-    {
-        if (item is EdmType)
-        {
-            return ((EdmType)item).Name;
-        }
-        else
-        {
-            return ((EntityContainer)item).Name;
-        }
-    }
-
-    public IEnumerable<EdmProperty> GetSimpleProperties(EntityType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type);
-    }
-    
-    public IEnumerable<EdmProperty> GetSimpleProperties(ComplexType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type);
-    }
-    
-    public IEnumerable<EdmProperty> GetComplexProperties(EntityType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type);
-    }
-    
-    public IEnumerable<EdmProperty> GetComplexProperties(ComplexType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is ComplexType && p.DeclaringType == type);
-    }
-
-    public IEnumerable<EdmProperty> GetPropertiesWithDefaultValues(EntityType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null);
-    }
-    
-    public IEnumerable<EdmProperty> GetPropertiesWithDefaultValues(ComplexType type)
-    {
-        return type.Properties.Where(p => p.TypeUsage.EdmType is SimpleType && p.DeclaringType == type && p.DefaultValue != null);
-    }
-
-    public IEnumerable<NavigationProperty> GetNavigationProperties(EntityType type)
-    {
-        return type.NavigationProperties.Where(np => np.DeclaringType == type);
-    }
-    
-    public IEnumerable<NavigationProperty> GetCollectionNavigationProperties(EntityType type)
-    {
-        return type.NavigationProperties.Where(np => np.DeclaringType == type && np.ToEndMember.RelationshipMultiplicity == RelationshipMultiplicity.Many);
-    }
-    
-    public FunctionParameter GetReturnParameter(EdmFunction edmFunction)
-    {
-        ArgumentNotNull(edmFunction, "edmFunction");
-
-        var returnParamsProperty = edmFunction.GetType().GetProperty("ReturnParameters");
-        return returnParamsProperty == null
-            ? edmFunction.ReturnParameter
-            : ((IEnumerable<FunctionParameter>)returnParamsProperty.GetValue(edmFunction, null)).FirstOrDefault();
-    }
-
-    public bool IsComposable(EdmFunction edmFunction)
-    {
-        ArgumentNotNull(edmFunction, "edmFunction");
-
-        var isComposableProperty = edmFunction.GetType().GetProperty("IsComposableAttribute");
-        return isComposableProperty != null && (bool)isComposableProperty.GetValue(edmFunction, null);
-    }
-
-    public IEnumerable<FunctionImportParameter> GetParameters(EdmFunction edmFunction)
-    {
-        return FunctionImportParameter.Create(edmFunction.Parameters, _code, _ef);
-    }
-
-    public TypeUsage GetReturnType(EdmFunction edmFunction)
-    {
-        var returnParam = GetReturnParameter(edmFunction);
-        return returnParam == null ? null : _ef.GetElementType(returnParam.TypeUsage);
-    }
-    
-    public bool GenerateMergeOptionFunction(EdmFunction edmFunction, bool includeMergeOption)
-    {
-        var returnType = GetReturnType(edmFunction);
-        return !includeMergeOption && returnType != null && returnType.EdmType.BuiltInTypeKind == BuiltInTypeKind.EntityType;
-    }
-}
-
-public class EdmMetadataLoader
-{
-    private readonly IDynamicHost _host;
-    private readonly System.Collections.IList _errors;
-
-    public EdmMetadataLoader(IDynamicHost host, System.Collections.IList errors)
-    {
-        ArgumentNotNull(host, "host");
-        ArgumentNotNull(errors, "errors");
-
-        _host = host;
-        _errors = errors;
-    }
-
-    public IEnumerable<GlobalItem> CreateEdmItemCollection(string sourcePath)
-    {
-        ArgumentNotNull(sourcePath, "sourcePath");
-
-        if (!ValidateInputPath(sourcePath))
-        {
-            return new EdmItemCollection();
-        }
-
-        var schemaElement = LoadRootElement(_host.ResolvePath(sourcePath));
-        if (schemaElement != null)
-        {
-            using (var reader = schemaElement.CreateReader())
-            {
-                IList<EdmSchemaError> errors;
-                var itemCollection = MetadataItemCollectionFactory.CreateEdmItemCollection(new[] { reader }, out errors);
-
-                ProcessErrors(errors, sourcePath);
-
-                return itemCollection;
-            }
-        }
-        return new EdmItemCollection();
-    }
-
-    public string GetModelNamespace(string sourcePath)
-    {
-        ArgumentNotNull(sourcePath, "sourcePath");
-
-        if (!ValidateInputPath(sourcePath))
-        {
-            return string.Empty;
-        }
-
-        var model = LoadRootElement(_host.ResolvePath(sourcePath));
-        if (model == null)
-        {
-            return string.Empty;
-        }
-
-        var attribute = model.Attribute("Namespace");
-        return attribute != null ? attribute.Value : "";
-    }
-
-    private bool ValidateInputPath(string sourcePath)
-    {
-        if (sourcePath == "$" + "edmxInputFile" + "$")
-        {
-            _errors.Add(
-                new CompilerError(_host.TemplateFile ?? sourcePath, 0, 0, string.Empty,
-                    GetResourceString("Template_ReplaceVsItemTemplateToken")));
-            return false;
-        }
-
-        return true;
-    }
-
-    public XElement LoadRootElement(string sourcePath)
-    {
-        ArgumentNotNull(sourcePath, "sourcePath");
-
-        var root = XElement.Load(sourcePath, LoadOptions.SetBaseUri | LoadOptions.SetLineInfo);
-        return root.Elements()
-            .Where(e => e.Name.LocalName == "Runtime")
-            .Elements()
-            .Where(e => e.Name.LocalName == "ConceptualModels")
-            .Elements()
-            .Where(e => e.Name.LocalName == "Schema")
-            .FirstOrDefault()
-                ?? root;
-    }
-
-    private void ProcessErrors(IEnumerable<EdmSchemaError> errors, string sourceFilePath)
-    {
-        foreach (var error in errors)
-        {
-            _errors.Add(
-                new CompilerError(
-                    error.SchemaLocation ?? sourceFilePath,
-                    error.Line,
-                    error.Column,
-                    error.ErrorCode.ToString(CultureInfo.InvariantCulture),
-                    error.Message)
-                {
-                    IsWarning = error.Severity == EdmSchemaErrorSeverity.Warning
-                });
-        }
-    }
-    
-    public bool IsLazyLoadingEnabled(EntityContainer container)
-    {
-        string lazyLoadingAttributeValue;
-        var lazyLoadingAttributeName = MetadataConstants.EDM_ANNOTATION_09_02 + ":LazyLoadingEnabled";
-        bool isLazyLoading;
-        return !MetadataTools.TryGetStringMetadataPropertySetting(container, lazyLoadingAttributeName, out lazyLoadingAttributeValue)
-            || !bool.TryParse(lazyLoadingAttributeValue, out isLazyLoading)
-            || isLazyLoading;
-    }
-}
-
-public static void ArgumentNotNull<T>(T arg, string name) where T : class
-{
-    if (arg == null)
-    {
-        throw new ArgumentNullException(name);
-    }
-}
-    
-private static readonly Lazy<System.Resources.ResourceManager> ResourceManager =
-    new Lazy<System.Resources.ResourceManager>(
-        () => new System.Resources.ResourceManager("System.Data.Entity.Design", typeof(MetadataItemCollectionFactory).Assembly), isThreadSafe: true);
-
-public static string GetResourceString(string resourceName)
-{
-    ArgumentNotNull(resourceName, "resourceName");
-
-    return ResourceManager.Value.GetString(resourceName, null);
-}
-
-#>

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

@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<packages>
-  <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.6.4" targetFramework="net45" />
-  <package id="MySQL.Data.Entities" version="6.5.4.0" targetFramework="net45" />
-</packages>

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

@@ -1,36 +0,0 @@
-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")]

+ 0 - 29
CSharp/App/DataCenter/t_account.cs

@@ -1,29 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_account
-    {
-        public string account { get; set; }
-        public Nullable<decimal> account_guid { get; set; }
-        public byte[] sessionkey { get; set; }
-        public string v { get; set; }
-        public string s { get; set; }
-        public string active_code { get; set; }
-        public Nullable<bool> active_code_used { get; set; }
-        public Nullable<decimal> first_char_guid { get; set; }
-        public Nullable<int> gm_level { get; set; }
-        public Nullable<System.DateTime> create_time { get; set; }
-        public Nullable<System.DateTime> modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_account_active_code.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_account_active_code
-    {
-        public string account { get; set; }
-        public string gain_active_codes { get; set; }
-        public Nullable<System.DateTime> create_time { get; set; }
-        public Nullable<System.DateTime> modify_time { get; set; }
-    }
-}

+ 0 - 51
CSharp/App/DataCenter/t_account_login_auth_response_cookie.cs

@@ -1,51 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_account_login_auth_response_cookie
-    {
-        public string account { get; set; }
-        public string aid { get; set; }
-        public string ssn { get; set; }
-        public string gamepoint { get; set; }
-        public string balance { get; set; }
-        public string sn { get; set; }
-        public string user_type { get; set; }
-        public string otpstat { get; set; }
-        public string otpuptime { get; set; }
-        public string infosafe { get; set; }
-        public string phonestat { get; set; }
-        public string ppcstat { get; set; }
-        public string ppccoord { get; set; }
-        public string mppstat { get; set; }
-        public string rnstat { get; set; }
-        public string regtime { get; set; }
-        public string mobileno { get; set; }
-        public string need_activate_game { get; set; }
-        public string game_flag { get; set; }
-        public string deactivated { get; set; }
-        public string uidcount { get; set; }
-        public string newtm { get; set; }
-        public string vipstatus { get; set; }
-        public string is_vip_phone_trusty { get; set; }
-        public string is_vip_addr_trusty { get; set; }
-        public string real_name_flag { get; set; }
-        public string mobileisactivated { get; set; }
-        public string secu_info_ready { get; set; }
-        public string secu_info_pin_ma { get; set; }
-        public string secu_info_id_num { get; set; }
-        public string id_num { get; set; }
-        public Nullable<System.DateTime> create_time { get; set; }
-        public Nullable<System.DateTime> modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_active_code.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_active_code
-    {
-        public string active_code { get; set; }
-        public int code_type { get; set; }
-        public decimal character_guid { get; set; }
-        public int grant_type { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_attribute.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_attribute
-    {
-        public decimal guid { get; set; }
-        public int id { get; set; }
-        public int sub_id { get; set; }
-        public double value { get; set; }
-        public int attr_type { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 33
CSharp/App/DataCenter/t_auction_item.cs

@@ -1,33 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_auction_item
-    {
-        public decimal item_guid { get; set; }
-        public decimal seller_guid { get; set; }
-        public string seller_name { get; set; }
-        public string seller_ip { get; set; }
-        public short auction_class { get; set; }
-        public string item_name { get; set; }
-        public int item_id { get; set; }
-        public short assets_type { get; set; }
-        public int deposit { get; set; }
-        public int sum_price { get; set; }
-        public float unit_price { get; set; }
-        public System.DateTime expire_time { get; set; }
-        public decimal tran_guid { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_available_map.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_available_map
-    {
-        public decimal character_guid { get; set; }
-        public string map_type { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_battle_gameover_statistic.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_battle_gameover_statistic
-    {
-        public decimal battle_guid { get; set; }
-        public byte[] gameover_statistic { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 29
CSharp/App/DataCenter/t_battle_kill_detail.cs

@@ -1,29 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_battle_kill_detail
-    {
-        public decimal kill_id { get; set; }
-        public decimal character_guid { get; set; }
-        public decimal battle_guid { get; set; }
-        public long kill_type { get; set; }
-        public string kill_name { get; set; }
-        public Nullable<decimal> kill_guid { get; set; }
-        public string assist_name { get; set; }
-        public Nullable<int> kill_time { get; set; }
-        public string killed_name { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 54
CSharp/App/DataCenter/t_battle_summary.cs

@@ -1,54 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_battle_summary
-    {
-        public decimal character_guid { get; set; }
-        public decimal battle_guid { get; set; }
-        public Nullable<bool> pvp_or_pve { get; set; }
-        public Nullable<bool> is_win { get; set; }
-        public Nullable<bool> is_mvp { get; set; }
-        public Nullable<bool> is_most_kill_person { get; set; }
-        public Nullable<bool> is_most_assist { get; set; }
-        public Nullable<bool> is_most_money { get; set; }
-        public Nullable<bool> is_down_tower { get; set; }
-        public Nullable<bool> is_most_kill_friend { get; set; }
-        public Nullable<bool> is_lost_mvp { get; set; }
-        public Nullable<bool> is_s_pve_map { get; set; }
-        public Nullable<bool> is_first_blood { get; set; }
-        public Nullable<bool> is_pve_most_kill_boss { get; set; }
-        public Nullable<bool> is_pve_most_take_damage { get; set; }
-        public Nullable<bool> is_pve_most_healing { get; set; }
-        public Nullable<bool> is_pve_most_damage { get; set; }
-        public string map_type { get; set; }
-        public string battle_date { get; set; }
-        public Nullable<int> battle_time { get; set; }
-        public Nullable<bool> is_escape { get; set; }
-        public Nullable<int> hero_id { get; set; }
-        public Nullable<int> match_type { get; set; }
-        public Nullable<bool> is_reinforce { get; set; }
-        public Nullable<int> pvp_kill_count { get; set; }
-        public Nullable<int> pvp_assist_count { get; set; }
-        public Nullable<int> pvp_dead_count { get; set; }
-        public Nullable<int> pvp_most_continuous_kill_number { get; set; }
-        public Nullable<int> pvp_score { get; set; }
-        public Nullable<int> pve_boss_kill { get; set; }
-        public Nullable<int> pve_kill_hostile_soldier { get; set; }
-        public Nullable<int> pve_total_money { get; set; }
-        public Nullable<int> pve_get_level { get; set; }
-        public Nullable<bool> is_employ_battle { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_beginner_group_config.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_beginner_group_config
-    {
-        public decimal aid { get; set; }
-        public Nullable<int> max_group_id { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public System.DateTime create_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_beginner_group_cong.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_beginner_group_cong
-    {
-        public decimal group_guid { get; set; }
-        public decimal character_guid { get; set; }
-        public int character_level { get; set; }
-        public byte[] cong_guid_list { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_beginner_group_event.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_beginner_group_event
-    {
-        public decimal event_guid { get; set; }
-        public decimal beginner_group_guid { get; set; }
-        public int event_id { get; set; }
-        public byte[] event_content { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 29
CSharp/App/DataCenter/t_challenge_activity.cs

@@ -1,29 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_activity
-    {
-        public string activity_id { get; set; }
-        public int activity_status { get; set; }
-        public System.DateTime start_time { get; set; }
-        public decimal battle_id { get; set; }
-        public bool challenger_win { get; set; }
-        public int kfz_best_hero { get; set; }
-        public Nullable<System.DateTime> game_over_time { get; set; }
-        public long challenger_win_bet { get; set; }
-        public long challenger_lose_bet { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 27
CSharp/App/DataCenter/t_challenge_activity_schedule.cs

@@ -1,27 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_activity_schedule
-    {
-        public string activity_id { get; set; }
-        public System.DateTime elect_from_time { get; set; }
-        public System.DateTime elect_to_time { get; set; }
-        public System.DateTime guess_from_time { get; set; }
-        public System.DateTime guess_to_time { get; set; }
-        public System.DateTime reward_from_time { get; set; }
-        public System.DateTime reward_to_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_challenge_character_elect_hero.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_character_elect_hero
-    {
-        public decimal character_guid { get; set; }
-        public string activity_id { get; set; }
-        public int hero_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_challenge_elect_hero_stat.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_elect_hero_stat
-    {
-        public string activity_id { get; set; }
-        public int hero_id { get; set; }
-        public int game_position { get; set; }
-        public int vote_count { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 28
CSharp/App/DataCenter/t_challenge_game_player.cs

@@ -1,28 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_game_player
-    {
-        public string activity_id { get; set; }
-        public decimal character_guid { get; set; }
-        public bool is_win { get; set; }
-        public int faction { get; set; }
-        public int hero_id { get; set; }
-        public string title { get; set; }
-        public int platform_title_id { get; set; }
-        public string character_name { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 26
CSharp/App/DataCenter/t_challenge_guess_game_over.cs

@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_guess_game_over
-    {
-        public decimal character_guid { get; set; }
-        public string activity_id { get; set; }
-        public bool challenger_win { get; set; }
-        public int challenger_win_bet { get; set; }
-        public int kfz_best_hero { get; set; }
-        public int kfz_best_hero_bet { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_challenge_guess_reward.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_guess_reward
-    {
-        public string activity_id { get; set; }
-        public decimal character_guid { get; set; }
-        public int winner_guess_silver { get; set; }
-        public int best_hero_guess_silver { get; set; }
-        public bool is_taked { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_challenge_kfz_hero.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_kfz_hero
-    {
-        public string activity_id { get; set; }
-        public int hero_id { get; set; }
-        public int game_position { get; set; }
-        public long best_bet { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_challenge_statue_info.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_statue_info
-    {
-        public string activity_id { get; set; }
-        public System.DateTime from_time { get; set; }
-        public System.DateTime to_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_challenge_task_reward.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_challenge_task_reward
-    {
-        public string activity_id { get; set; }
-        public decimal character_guid { get; set; }
-        public int reward_type { get; set; }
-        public int task_id { get; set; }
-        public bool is_taked { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 60
CSharp/App/DataCenter/t_character.cs

@@ -1,60 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character
-    {
-        public decimal character_guid { get; set; }
-        public int general_class { get; set; }
-        public string character_name { get; set; }
-        public int sex { get; set; }
-        public decimal account_id { get; set; }
-        public string playing_map_server_key { get; set; }
-        public decimal group_guid { get; set; }
-        public decimal room_guid { get; set; }
-        public int general_ghost { get; set; }
-        public int kingdom { get; set; }
-        public string create_ip { get; set; }
-        public int area_id { get; set; }
-        public string account { get; set; }
-        public int default_display_id { get; set; }
-        public int selected_title_type { get; set; }
-        public long last_login_time { get; set; }
-        public string login_ip { get; set; }
-        public bool is_first_login { get; set; }
-        public bool has_newly_mail { get; set; }
-        public string location { get; set; }
-        public long history_silver { get; set; }
-        public long history_charge_gold { get; set; }
-        public long history_free_gold { get; set; }
-        public int rank_bonus_title_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public int recent_flee_buff_id { get; set; }
-        public int add_buff_yday { get; set; }
-        public sbyte need_rename { get; set; }
-        public bool can_gain_active_code_item { get; set; }
-        public long total_online_seconds { get; set; }
-        public string city_server_name { get; set; }
-        public string last_login_realtime { get; set; }
-        public int anti_addiction_online_time { get; set; }
-        public int anti_addiction_offline_time { get; set; }
-        public string gs_active_code { get; set; }
-        public Nullable<long> ban_login_expired_time { get; set; }
-        public Nullable<long> ban_chat_expired_time { get; set; }
-        public int pve_equipment_max_strengthen_level { get; set; }
-        public int pve_equipment_active_scheme_id { get; set; }
-        public double pos_x { get; set; }
-        public double pos_y { get; set; }
-    }
-}

+ 0 - 27
CSharp/App/DataCenter/t_character_achievement.cs

@@ -1,27 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_achievement
-    {
-        public decimal character_guid { get; set; }
-        public int achievement_id { get; set; }
-        public Nullable<int> event_count { get; set; }
-        public bool is_accomplished { get; set; }
-        public Nullable<System.DateTime> accomplish_time { get; set; }
-        public Nullable<int> hero_id { get; set; }
-        public decimal battle_guid { get; set; }
-        public Nullable<System.DateTime> create_time { get; set; }
-        public Nullable<System.DateTime> modify_time { get; set; }
-    }
-}

+ 0 - 39
CSharp/App/DataCenter/t_character_appearance.cs

@@ -1,39 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_appearance
-    {
-        public decimal character_guid { get; set; }
-        public int appearance_type { get; set; }
-        public decimal headdress { get; set; }
-        public decimal wing { get; set; }
-        public decimal clothes { get; set; }
-        public decimal weapon { get; set; }
-        public decimal magic_weapon { get; set; }
-        public decimal mounts { get; set; }
-        public decimal face { get; set; }
-        public int riding_status { get; set; }
-        public long color1 { get; set; }
-        public long color2 { get; set; }
-        public long color3 { get; set; }
-        public long color4 { get; set; }
-        public long color5 { get; set; }
-        public int default_visual { get; set; }
-        public int default_face { get; set; }
-        public int default_headdress { get; set; }
-        public int color_scheme_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_character_assets.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_assets
-    {
-        public long assets_id { get; set; }
-        public decimal character_guid { get; set; }
-        public short assets_type { get; set; }
-        public long balance { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_character_default_fighting_options.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_default_fighting_options
-    {
-        public decimal character_guid { get; set; }
-        public int last_common_spell_series_id { get; set; }
-        public int last_rune_scheme_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 38
CSharp/App/DataCenter/t_character_item.cs

@@ -1,38 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_item
-    {
-        public decimal item_guid { get; set; }
-        public decimal character_guid { get; set; }
-        public int item_id { get; set; }
-        public int slot { get; set; }
-        public int item_count { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public int source { get; set; }
-        public bool is_bound { get; set; }
-        public int location { get; set; }
-        public byte[] attributes { get; set; }
-        public System.DateTime buy_time { get; set; }
-        public System.DateTime expire_time { get; set; }
-        public int buy_type { get; set; }
-        public int pay_type { get; set; }
-        public int pay_yuanbao { get; set; }
-        public int free_yuanbao { get; set; }
-        public int reiki_count { get; set; }
-        public int durability_count { get; set; }
-        public int recast_count { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_character_options.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_options
-    {
-        public decimal character_guid { get; set; }
-        public string rune_not_show_binding_tips { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_character_questionnaire.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_character_questionnaire
-    {
-        public decimal character_guid { get; set; }
-        public decimal questionnaire_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 31
CSharp/App/DataCenter/t_charge_list.cs

@@ -1,31 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_charge_list
-    {
-        public string charge_listid { get; set; }
-        public string charge_sn { get; set; }
-        public decimal character_guid { get; set; }
-        public string account { get; set; }
-        public string ip { get; set; }
-        public int pay_points { get; set; }
-        public int charge_yuanbao { get; set; }
-        public int free_yuanbao { get; set; }
-        public string url_parameters { get; set; }
-        public int charge_state { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public int retry_times { get; set; }
-    }
-}

+ 0 - 26
CSharp/App/DataCenter/t_city_buff.cs

@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_city_buff
-    {
-        public decimal buff_guid { get; set; }
-        public decimal character_guid { get; set; }
-        public int buff_id { get; set; }
-        public int buff_time { get; set; }
-        public int stack { get; set; }
-        public byte[] buff_values { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 26
CSharp/App/DataCenter/t_city_task_finish_sub_state.cs

@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_city_task_finish_sub_state
-    {
-        public decimal task_guid { get; set; }
-        public int city_task_sub_state_type { get; set; }
-        public decimal character_guid { get; set; }
-        public int total_count { get; set; }
-        public int finish_count { get; set; }
-        public string detail { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 26
CSharp/App/DataCenter/t_city_task_info.cs

@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_city_task_info
-    {
-        public decimal task_guid { get; set; }
-        public decimal character_guid { get; set; }
-        public int task_id { get; set; }
-        public int state { get; set; }
-        public decimal finish_timestamp { get; set; }
-        public decimal accept_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 26
CSharp/App/DataCenter/t_client_config.cs

@@ -1,26 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_client_config
-    {
-        public decimal character_guid { get; set; }
-        public string map_type { get; set; }
-        public string key_setting { get; set; }
-        public bool use_dota_key { get; set; }
-        public bool shop_using_price_classify { get; set; }
-        public byte[] client_config_str { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_common_spell.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_common_spell
-    {
-        public decimal character_guid { get; set; }
-        public int common_spell_id { get; set; }
-        public int common_spell_series { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_daily_online_time.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_daily_online_time
-    {
-        public decimal character_guid { get; set; }
-        public string login_date { get; set; }
-        public int online_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public System.DateTime create_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_employ_notice_status.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_employ_notice_status
-    {
-        public int employ_notice_status_id { get; set; }
-        public decimal publisher_guid { get; set; }
-        public decimal applicant_guid { get; set; }
-        public decimal status { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_employ_relation.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_employ_relation
-    {
-        public int employ_relation_id { get; set; }
-        public decimal employer_guid { get; set; }
-        public decimal employee_guid { get; set; }
-        public int assets_type { get; set; }
-        public int price { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_employee_info.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_employee_info
-    {
-        public decimal character_guid { get; set; }
-        public int employee_experience { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 27
CSharp/App/DataCenter/t_employee_notice.cs

@@ -1,27 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_employee_notice
-    {
-        public decimal employee_guid { get; set; }
-        public int apply_type { get; set; }
-        public int assets_type { get; set; }
-        public int price { get; set; }
-        public System.DateTime publish_time { get; set; }
-        public System.DateTime expire_time { get; set; }
-        public bool success { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 30
CSharp/App/DataCenter/t_employer_notice.cs

@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_employer_notice
-    {
-        public decimal employer_guid { get; set; }
-        public int want_type { get; set; }
-        public int employee_level_condition { get; set; }
-        public int player_level_condition { get; set; }
-        public int player_pvp_score_condition { get; set; }
-        public int assets_type { get; set; }
-        public int price { get; set; }
-        public System.DateTime publish_time { get; set; }
-        public System.DateTime expire_time { get; set; }
-        public bool success { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_fighting_evaluation_info.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_fighting_evaluation_info
-    {
-        public decimal character_guid { get; set; }
-        public decimal evaluate_player_guid { get; set; }
-        public int evaluate_type { get; set; }
-        public string evaluate_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_friend.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_friend
-    {
-        public decimal character_guid { get; set; }
-        public decimal friend_guid { get; set; }
-        public int group_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_friend_ban_match.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_friend_ban_match
-    {
-        public decimal character_guid { get; set; }
-        public decimal ban_guid { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_friend_group.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_friend_group
-    {
-        public decimal character_guid { get; set; }
-        public int group_id { get; set; }
-        public string group_name { get; set; }
-        public sbyte is_sys_group { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 59
CSharp/App/DataCenter/t_game_hero_use_info.cs

@@ -1,59 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_game_hero_use_info
-    {
-        public decimal character_guid { get; set; }
-        public int hero_id { get; set; }
-        public int use_count { get; set; }
-        public int pvp_score { get; set; }
-        public long pvp_score_uptime { get; set; }
-        public int mvp_count { get; set; }
-        public long mvp_count_uptime { get; set; }
-        public int achievement { get; set; }
-        public long achievement_uptime { get; set; }
-        public int loser_mvp_count { get; set; }
-        public long loser_mvp_count_uptime { get; set; }
-        public int daily_kill_count { get; set; }
-        public long daily_kill_count_uptime { get; set; }
-        public int daily_dead_count { get; set; }
-        public long daily_dead_count_uptime { get; set; }
-        public int daily_assist_count { get; set; }
-        public long daily_assist_count_uptime { get; set; }
-        public int daily_total_money { get; set; }
-        public long daily_total_money_uptime { get; set; }
-        public int daily_kill_friend_soldier { get; set; }
-        public long daily_kill_friend_soldier_uptime { get; set; }
-        public int win_count { get; set; }
-        public double trueskill { get; set; }
-        public long total_kill_count { get; set; }
-        public long total_assist_count { get; set; }
-        public long total_dead_count { get; set; }
-        public long total_first_blood { get; set; }
-        public long total_killed_by_first_blood { get; set; }
-        public long total_get_money { get; set; }
-        public long total_kill_hostile_soldier { get; set; }
-        public long total_kill_friend_soldier { get; set; }
-        public long total_destroy_hostile_tower { get; set; }
-        public long total_destroy_friend_tower { get; set; }
-        public long total_kill_monster_number { get; set; }
-        public long most_continuous_kill_number { get; set; }
-        public long total_physics_damage { get; set; }
-        public long total_magic_damage { get; set; }
-        public int max_kill_hostile_soldier_times { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public int score_update_count { get; set; }
-    }
-}

+ 0 - 70
CSharp/App/DataCenter/t_game_info.cs

@@ -1,70 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_game_info
-    {
-        public decimal character_guid { get; set; }
-        public string character_name { get; set; }
-        public int register_area { get; set; }
-        public int character_level { get; set; }
-        public int experience { get; set; }
-        public long experience_uptime { get; set; }
-        public int stage_score { get; set; }
-        public long stage_score_uptime { get; set; }
-        public int win_count { get; set; }
-        public int lose_count { get; set; }
-        public int flee_count { get; set; }
-        public int max_kill_games { get; set; }
-        public int max_assist_games { get; set; }
-        public int max_destroy_hostile_towner_games { get; set; }
-        public int first_blood_games { get; set; }
-        public int max_money_games { get; set; }
-        public int kill_boss_count { get; set; }
-        public long kill_boss_count_uptime { get; set; }
-        public int max_money { get; set; }
-        public int max_assist { get; set; }
-        public int max_kill { get; set; }
-        public int exploit_value { get; set; }
-        public int pass_level_count { get; set; }
-        public int lose_level_count { get; set; }
-        public int get_s_count { get; set; }
-        public long last_level_up_time { get; set; }
-        public double mean { get; set; }
-        public double deviation { get; set; }
-        public decimal total_kill_boss_number { get; set; }
-        public decimal played_time { get; set; }
-        public decimal in_city_time { get; set; }
-        public decimal in_match_time { get; set; }
-        public decimal in_room_time { get; set; }
-        public int arena_match_score { get; set; }
-        public int funny_match_score { get; set; }
-        public int good_reputation_count { get; set; }
-        public int wujiangshilian_play_time { get; set; }
-        public int youzhou_last_play_soldier_count { get; set; }
-        public int youzhou_last_play_soldier_level { get; set; }
-        public int vip_exp { get; set; }
-        public Nullable<int> vip_exp_accumulate { get; set; }
-        public Nullable<long> last_vip_exp_up_time { get; set; }
-        public int employ_pvp_win_count_room { get; set; }
-        public int employ_pvp_lose_count_room { get; set; }
-        public int employ_pvp_flee_count_room { get; set; }
-        public int employ_pvp_win_count_match { get; set; }
-        public int employ_pvp_lose_count_match { get; set; }
-        public int employ_pvp_flee_count_match { get; set; }
-        public int employ_pve_pass_level_count { get; set; }
-        public int employ_pve_lose_level_count { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_gs_code.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_gs_code
-    {
-        public string active_code { get; set; }
-        public decimal character_guid { get; set; }
-        public string character_name { get; set; }
-        public decimal invitee_guid { get; set; }
-        public int notify_inviter { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 28
CSharp/App/DataCenter/t_hero_color_scheme.cs

@@ -1,28 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_hero_color_scheme
-    {
-        public decimal character_guid { get; set; }
-        public int hero_id { get; set; }
-        public int color_scheme_id { get; set; }
-        public long color1 { get; set; }
-        public long color2 { get; set; }
-        public long color3 { get; set; }
-        public long color4 { get; set; }
-        public long color5 { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_hero_level_state.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_hero_level_state
-    {
-        public decimal character_guid { get; set; }
-        public int level { get; set; }
-        public Nullable<bool> selected_free_hero { get; set; }
-        public Nullable<bool> selected_discount_hero { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 31
CSharp/App/DataCenter/t_hero_pet.cs

@@ -1,31 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_hero_pet
-    {
-        public decimal guid { get; set; }
-        public decimal character_guid { get; set; }
-        public int hero_id { get; set; }
-        public string name { get; set; }
-        public int location { get; set; }
-        public int level { get; set; }
-        public int expr { get; set; }
-        public int closeness { get; set; }
-        public int closeness_up_fail { get; set; }
-        public int merge_count { get; set; }
-        public System.DateTime merge_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 30
CSharp/App/DataCenter/t_hero_suggest_equipment.cs

@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_hero_suggest_equipment
-    {
-        public decimal character_guid { get; set; }
-        public int hero_id { get; set; }
-        public int plan_id { get; set; }
-        public string plan_description { get; set; }
-        public Nullable<int> item_id0 { get; set; }
-        public Nullable<int> item_id1 { get; set; }
-        public Nullable<int> item_id2 { get; set; }
-        public Nullable<int> item_id3 { get; set; }
-        public Nullable<int> item_id4 { get; set; }
-        public Nullable<int> item_id5 { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_hero_unlock_hero.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_hero_unlock_hero
-    {
-        public decimal character_guid { get; set; }
-        public int hero_id { get; set; }
-        public Nullable<int> level { get; set; }
-        public int cur_color_scheme_id { get; set; }
-        public decimal scheme_unlock_status { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 20
CSharp/App/DataCenter/t_illegal_term_rules.cs

@@ -1,20 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_illegal_term_rules
-    {
-        public byte[] regex { get; set; }
-        public long id { get; set; }
-    }
-}

+ 0 - 42
CSharp/App/DataCenter/t_item_roll_list.cs

@@ -1,42 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_item_roll_list
-    {
-        public decimal item_roll_guid { get; set; }
-        public decimal character_guid { get; set; }
-        public decimal item_guid { get; set; }
-        public long item_id { get; set; }
-        public string item_name { get; set; }
-        public int source { get; set; }
-        public int is_bound { get; set; }
-        public byte[] attributes { get; set; }
-        public System.DateTime buy_time { get; set; }
-        public System.DateTime expire_time { get; set; }
-        public int buy_type { get; set; }
-        public int pay_type { get; set; }
-        public int pay_yuanbao { get; set; }
-        public int free_yuanbao { get; set; }
-        public int previous_count { get; set; }
-        public int previous_location { get; set; }
-        public int count { get; set; }
-        public int location { get; set; }
-        public int change_type { get; set; }
-        public int billing_state { get; set; }
-        public int charge_gold_balance { get; set; }
-        public int free_gold_balance { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public System.DateTime create_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_login_reward.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_login_reward
-    {
-        public decimal character_guid { get; set; }
-        public int year_day { get; set; }
-        public int reward_id { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 35
CSharp/App/DataCenter/t_mail.cs

@@ -1,35 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_mail
-    {
-        public decimal mail_guid { get; set; }
-        public bool @checked { get; set; }
-        public bool is_read { get; set; }
-        public bool is_system_mail { get; set; }
-        public decimal sender_guid { get; set; }
-        public string sender_name { get; set; }
-        public decimal receiver_guid { get; set; }
-        public string receiver_name { get; set; }
-        public string mail_subject { get; set; }
-        public string mail_body { get; set; }
-        public int silver { get; set; }
-        public int charge_gold { get; set; }
-        public bool money_is_taked { get; set; }
-        public int item_count { get; set; }
-        public System.DateTime expire_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_mail_item.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_mail_item
-    {
-        public decimal item_guid { get; set; }
-        public decimal mail_guid { get; set; }
-        public bool is_taked { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_mall_items_sales_count.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_mall_items_sales_count
-    {
-        public int item_id { get; set; }
-        public Nullable<int> sale_count { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 34
CSharp/App/DataCenter/t_map_play_info.cs

@@ -1,34 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_map_play_info
-    {
-        public decimal character_guid { get; set; }
-        public string map_type { get; set; }
-        public int play_count { get; set; }
-        public int win_count { get; set; }
-        public decimal last_play_date { get; set; }
-        public decimal total_play_time { get; set; }
-        public int today_play_time { get; set; }
-        public int current_level { get; set; }
-        public int max_score { get; set; }
-        public int kill_boss_count { get; set; }
-        public long kill_hostile_soldier { get; set; }
-        public int max_total_damage { get; set; }
-        public int max_total_suffer_damage { get; set; }
-        public int max_total_heal { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_map_play_info_hero.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_map_play_info_hero
-    {
-        public decimal character_guid { get; set; }
-        public string map_type { get; set; }
-        public long hero_id { get; set; }
-        public int play_count { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 25
CSharp/App/DataCenter/t_map_play_info_hero_pet.cs

@@ -1,25 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_map_play_info_hero_pet
-    {
-        public decimal character_guid { get; set; }
-        public string map_type { get; set; }
-        public decimal guid { get; set; }
-        public int play_count { get; set; }
-        public int play_count_s { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 20
CSharp/App/DataCenter/t_meta.cs

@@ -1,20 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_meta
-    {
-        public string meta_key { get; set; }
-        public string meta_value { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_offline_message.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_offline_message
-    {
-        public decimal fid { get; set; }
-        public decimal character_guid { get; set; }
-        public string proto_name { get; set; }
-        public string content { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 33
CSharp/App/DataCenter/t_pve_equipment_scheme.cs

@@ -1,33 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_pve_equipment_scheme
-    {
-        public decimal character_guid { get; set; }
-        public int scheme_id { get; set; }
-        public string scheme_name { get; set; }
-        public decimal slot0_item_guid { get; set; }
-        public decimal slot1_item_guid { get; set; }
-        public decimal slot2_item_guid { get; set; }
-        public decimal slot3_item_guid { get; set; }
-        public decimal slot4_item_guid { get; set; }
-        public decimal slot5_item_guid { get; set; }
-        public decimal slot6_item_guid { get; set; }
-        public decimal slot7_item_guid { get; set; }
-        public decimal slot8_item_guid { get; set; }
-        public decimal slot9_item_guid { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_pve_equipment_strength.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_pve_equipment_strength
-    {
-        public decimal guid { get; set; }
-        public int strength_lv { get; set; }
-        public double strength_value { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_questionnaire.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_questionnaire
-    {
-        public decimal questionnaire_id { get; set; }
-        public string content { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 38
CSharp/App/DataCenter/t_rune_scheme.cs

@@ -1,38 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_rune_scheme
-    {
-        public decimal character_guid { get; set; }
-        public int scheme_id { get; set; }
-        public string scheme_name { get; set; }
-        public decimal slot0_item_guid { get; set; }
-        public decimal slot1_item_guid { get; set; }
-        public decimal slot2_item_guid { get; set; }
-        public decimal slot3_item_guid { get; set; }
-        public decimal slot4_item_guid { get; set; }
-        public decimal slot5_item_guid { get; set; }
-        public decimal slot6_item_guid { get; set; }
-        public decimal slot7_item_guid { get; set; }
-        public decimal slot8_item_guid { get; set; }
-        public decimal slot9_item_guid { get; set; }
-        public decimal slot10_item_guid { get; set; }
-        public decimal slot11_item_guid { get; set; }
-        public decimal slot12_item_guid { get; set; }
-        public decimal slot13_item_guid { get; set; }
-        public decimal slot14_item_guid { get; set; }
-        public Nullable<System.DateTime> create_time { get; set; }
-        public Nullable<System.DateTime> modify_time { get; set; }
-    }
-}

+ 0 - 29
CSharp/App/DataCenter/t_social_group_basic.cs

@@ -1,29 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_social_group_basic
-    {
-        public decimal group_guid { get; set; }
-        public string group_name { get; set; }
-        public int group_type { get; set; }
-        public decimal owner_guid { get; set; }
-        public string owner_name { get; set; }
-        public int member_size { get; set; }
-        public int manager_size { get; set; }
-        public string bulletin { get; set; }
-        public int join_rule { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public System.DateTime create_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_social_group_manager.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_social_group_manager
-    {
-        public decimal group_guid { get; set; }
-        public decimal manager_guid { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public System.DateTime create_time { get; set; }
-    }
-}

+ 0 - 22
CSharp/App/DataCenter/t_social_group_member.cs

@@ -1,22 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_social_group_member
-    {
-        public decimal group_guid { get; set; }
-        public decimal member_guid { get; set; }
-        public System.DateTime modify_time { get; set; }
-        public System.DateTime create_time { get; set; }
-    }
-}

+ 0 - 24
CSharp/App/DataCenter/t_title_info.cs

@@ -1,24 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_title_info
-    {
-        public decimal character_guid { get; set; }
-        public int title_id { get; set; }
-        public Nullable<bool> new_title { get; set; }
-        public int valid_time { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 23
CSharp/App/DataCenter/t_treasure.cs

@@ -1,23 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_treasure
-    {
-        public decimal character_guid { get; set; }
-        public int daily_count { get; set; }
-        public long daily_count_uptime { get; set; }
-        public System.DateTime create_time { get; set; }
-        public System.DateTime modify_time { get; set; }
-    }
-}

+ 0 - 27
CSharp/App/DataCenter/t_tutorial.cs

@@ -1,27 +0,0 @@
-//------------------------------------------------------------------------------
-// <auto-generated>
-//    此代码是根据模板生成的。
-//
-//    手动更改此文件可能会导致应用程序中发生异常行为。
-//    如果重新生成代码,则将覆盖对此文件的手动更改。
-// </auto-generated>
-//------------------------------------------------------------------------------
-
-namespace DataCenter
-{
-    using System;
-    using System.Collections.Generic;
-    
-    public partial class t_tutorial
-    {
-        public decimal character_guid { get; set; }
-        public Nullable<sbyte> is_first_login { get; set; }
-        public Nullable<bool> close_beginner_map_guide { get; set; }
-        public Nullable<int> match_count { get; set; }
-        public Nullable<int> quick_match_count { get; set; }
-        public Nullable<bool> close_compound_hero_guide { get; set; }
-        public Nullable<bool> gain_hero_pet_item { get; set; }
-        public Nullable<System.DateTime> create_time { get; set; }
-        public Nullable<System.DateTime> modify_time { get; set; }
-    }
-}

Některé soubory nejsou zobrazeny, neboť je v těchto rozdílových datech změněno mnoho souborů