#region
using System.Data;
#endregion
namespace CSFrameworkV5.WCFContract
{
///
/// 服务端公共类库
///
public class ServerLibrary
{
///
/// 数据表转换为DataSet
///
/// DataTable
///
public static DataSet TableToDataSet(DataTable table)
{
if (table == null) return new DataSet();
if (table.DataSet != null) return table.DataSet;
var ds = new DataSet();
ds.Tables.Add(table);
return ds;
}
public static void TestAssembly()
{
}
}
}