-
Notifications
You must be signed in to change notification settings - Fork 1
1.2.0 to 2.0.0 Migration
Yakiv Yusin edited this page May 23, 2018
·
1 revision
Release 2.0.0 has breaking change: TableDisplayName
, TableMemberOrder
and TableDefaultValue
attributes are merged to one TableMember
attribute.
This page contains examples of code migrations.
1.2.0
[TableDisplayName("My Property")]
public int A { get; }
2.0.0
[TableMember(DisplayName = "My Property")]
public int A { get; }
1.2.0
[TableMemberOrder(1)]
public int A { get; }
2.0.0
[TableMember(Order = 1)]
public int A { get; }
1.2.0
[TableDefaultValue("Value")]
public int A { get; }
2.0.0
[TableMember(DefaultValue = "Value")]
public int A { get; }
1.2.0
[TableDefaultValue("Value")]
[TableMemberOrder(1)]
public int A { get; }
2.0.0
[TableMember(DefaultValue = "Value", Order = 1)]
public int A { get; }