feat: initial commit - HJHA game server full source
6 major server modules (PdkFriendServer/GlobalSever/ServerCore/GameModule/GameNetModule) + game logic (GameFix/GameDAL/ServerData) + network layer (NetWorkMessage) + data layer (ObjectModel) + utilities (MrWu/Core/Config/CloudAPI/dll) + adapters (zyxAdapter/base) .NET 8.0 C# solution, 16 projects, 958 source files
This commit is contained in:
59
MrWu/DB/DataResult.cs
Normal file
59
MrWu/DB/DataResult.cs
Normal file
@ -0,0 +1,59 @@
|
||||
/********************************
|
||||
*
|
||||
* 作者:吴隆健
|
||||
* 创建时间: 2019-06-06 16:07:29
|
||||
*
|
||||
********************************/
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
|
||||
namespace MrWu.DB {
|
||||
/// <summary>
|
||||
/// 定时器执行得到的数据结果集
|
||||
/// </summary>
|
||||
public class DataResult {
|
||||
/// <summary>
|
||||
/// 参数
|
||||
/// </summary>
|
||||
public Dictionary<string, object> pms { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 返回的数据集
|
||||
/// </summary>
|
||||
public DataSet data { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据结果集
|
||||
/// </summary>
|
||||
public DataResult() { }
|
||||
|
||||
/// <summary>
|
||||
/// 数据结果集
|
||||
/// </summary>
|
||||
/// <param name="pms"></param>
|
||||
public DataResult(Dictionary<string, object> pms) {
|
||||
this.pms = pms;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数据结果集
|
||||
/// </summary>
|
||||
/// <param name="data"></param>
|
||||
public DataResult(DataSet data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数据结果集
|
||||
/// </summary>
|
||||
/// <param name="pms">存储过程参数</param>
|
||||
/// <param name="data">返回的数据</param>
|
||||
public DataResult(Dictionary<string, object> pms, DataSet data) {
|
||||
this.pms = pms;
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user