You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
934 B
39 lines
934 B
using System;
|
|
using System.Reflection;
|
|
|
|
namespace Dapper
|
|
{
|
|
partial class SqlMapper
|
|
{
|
|
/// <summary>
|
|
/// Implements this interface to provide custom member mapping
|
|
/// </summary>
|
|
public interface IMemberMap
|
|
{
|
|
/// <summary>
|
|
/// Source DataReader column name
|
|
/// </summary>
|
|
string ColumnName { get; }
|
|
|
|
/// <summary>
|
|
/// Target member type
|
|
/// </summary>
|
|
Type MemberType { get; }
|
|
|
|
/// <summary>
|
|
/// Target property
|
|
/// </summary>
|
|
PropertyInfo Property { get; }
|
|
|
|
/// <summary>
|
|
/// Target field
|
|
/// </summary>
|
|
FieldInfo Field { get; }
|
|
|
|
/// <summary>
|
|
/// Target constructor parameter
|
|
/// </summary>
|
|
ParameterInfo Parameter { get; }
|
|
}
|
|
}
|
|
}
|
|
|