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