Class IdColumn

This attribute defines if the column is used as an Id for the DbMerge or the DbDestination.

Inheritance
IdColumn
Inherited Members
Namespace: ETLBox
Assembly: ETLBox.dll
Syntax
    [AttributeUsage(AttributeTargets.Property)]
public sealed class IdColumn : Attribute
Examples
public class MyPoco : MergeableRow
{
    [IdColumn]
    public int Key { get; set; }
    public string Value {get;set; }
}

Constructors

IdColumn()

This property is used as an Id column for a Merge operation.

Declaration
    public IdColumn()

Properties

IdPropertyName

Name of the property used as Id

Declaration
    public string IdPropertyName { get; set; }
Property Value
TypeDescription
string