using System;
namespace Dapper
{
///
/// Specifies whether a property should be ignored for database operations.
///
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public class IgnorePropertyAttribute : Attribute
{
///
/// Specifies whether a property should be ignored for database operations.
///
/// Whether to ignore this property.
public IgnorePropertyAttribute(bool ignore)
{
Value = ignore;
}
///
/// Whether to ignore this property.
///
public bool Value { get; set; }
}
}