Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

CRM 2016 SDK CrmSvcUtil is not generating the same signature as 2015 SDK

$
0
0

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");
  }
 }


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>