Hi All,
I've been pulling my hair for two days upgrading a 20 projects solutions to 2.6 from 2.0. Almost everything is working but 2 issues.
Before:
/// <summary> The ReferenceNumber property of the Entity Psimtransaction<br/><br/>
/// </summary>
/// <remarks>Mapped on table field: "PSIMTransaction"."ReferenceNumber"<br/>
/// Table field type characteristics (type, precision, scale, length): Int, 10, 0, 0<br/>
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, true</remarks>
public virtual System.Int32 ReferenceNumber
{
get
{
object valueToReturn = base.GetCurrentFieldValue((int)PsimtransactionFieldIndex.ReferenceNumber);
if(valueToReturn == null)
{
valueToReturn = TypeDefaultValue.GetDefaultValue(typeof(System.Int32));
}
return (System.Int32)valueToReturn;
}
set { SetNewFieldValue((int)PsimtransactionFieldIndex.ReferenceNumber, value); }
}
Now:
/// <summary> The ReferenceNumber property of the Entity Psimtransaction<br/><br/>
/// </summary>
/// <remarks>Mapped on table field: "PSIMTransaction"."ReferenceNumber"<br/>
/// Table field type characteristics (type, precision, scale, length): Int, 10, 0, 0<br/>
/// Table field behavior characteristics (is nullable, is PK, is identity): false, false, true</remarks>
public virtual System.Int32 ReferenceNumber
{
get { return (System.Int32)GetValue((int)PsimtransactionFieldIndex.ReferenceNumber, true); }
}
The setter disapear but my code use this setter and it now breaks on this. How can I fix that? To allow code to compile I manually added the setter where I needed it but now I have to test all the application.
Any idea someone ?
Thanx.