mirror of
https://github.com/DapperLib/Dapper.git
synced 2026-10-19 06:31:49 +08:00
19 lines
474 B
C#
19 lines
474 B
C#
using System;
|
|
using System.Data;
|
|
#if !DNXCORE50
|
|
namespace Dapper
|
|
{
|
|
sealed class DataTableHandler : Dapper.SqlMapper.ITypeHandler
|
|
{
|
|
public object Parse(Type destinationType, object value)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public void SetValue(IDbDataParameter parameter, object value)
|
|
{
|
|
TableValuedParameter.Set(parameter, value as DataTable, null);
|
|
}
|
|
}
|
|
}
|
|
#endif |