Rename and Column attributes
Just experienced this:
Renamed a local class field, and the reference in a [Column Storage="xxxx"]
reference wasn't renamed. Here's sample code after the rename:
(Rename "_LastName" to "lastName" ... note the Storage="" in the attribute
still references the old name)
///
[Column(Storage = "_LastName", DbType = "VarChar(30) NOT NULL",
CanBeNull = false)]
public string LastName
{
get
{
return lastName;
}
set
{
lastName = value;
}
}
Please sign in to leave a comment.