Title here
Summary here
This attribute defines if the column is included in the comparison to identify object that exists and needs to be updated.
[AttributeUsage(AttributeTargets.Property)]
public sealed class CompareColumn : Attribute
public class MyPoco
{
[IdColumn]
public int Key { get; set; }
[CompareColumn]
public string Value {get;set; }
}
Marks this property as column used for comparison in a Merge operation
public CompareColumn()
Name of the property used for the comparison if two rows match
public string ComparePropertyName { get; set; }
Type | Description |
---|---|
string |