is this a bug? new switch needed?
//2016
/// <summary>
/// Select a rating to indicate the value of the customer account.
/// </summary>
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountratingcode")]
public object AccountRatingCode
{
get
{
return this.GetAttributeValue<object>("accountratingcode");
}
set
{
this.OnPropertyChanging("AccountRatingCode");
this.SetAttributeValue("accountratingcode", value);
this.OnPropertyChanged("AccountRatingCode");
}
}
//old 2015 below
/// <summary>
/// Select a rating to indicate the value of the customer account.
/// </summary>
[Microsoft.Xrm.Sdk.AttributeLogicalNameAttribute("accountratingcode")]
public Microsoft.Xrm.Sdk.OptionSetValue AccountRatingCode
{
get
{
return this.GetAttributeValue<Microsoft.Xrm.Sdk.OptionSetValue>("accountratingcode");
}
set
{
this.OnPropertyChanging("AccountRatingCode");
this.SetAttributeValue("accountratingcode", value);
this.OnPropertyChanged("AccountRatingCode");
}
}