Hi Team,
I am working on a custom C# code that someone before me in the organisation has created to do some batch job in CRM. I see a class that has been auto created, its basically all fields and entity in CRM i guess, i am adding a new field in CRM anyway and i am sure i have to update this, but not sure how. I dont want to manually do this. Can i autogenerate this code and update it there and if yes how do i do it . Below is the first few lines of the class.
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //------------------------------------------------------------------------------ [assembly: Microsoft.Xrm.Sdk.Client.ProxyTypesAssemblyAttribute()] namespace solutions { [System.Runtime.Serialization.DataContractAttribute()] [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "9.0.0.9154")] public enum AccountState { [System.Runtime.Serialization.EnumMemberAttribute()] Active = 0, [System.Runtime.Serialization.EnumMemberAttribute()] Inactive = 1, } /// <summary> /// Business that represents a customer or potential customer. The company that is billed in business transactions. /// </summary> [System.Runtime.Serialization.DataContractAttribute()] [Microsoft.Xrm.Sdk.Client.EntityLogicalNameAttribute("account")] [System.CodeDom.Compiler.GeneratedCodeAttribute("CrmSvcUtil", "9.0.0.9154")] public partial class Account : Microsoft.Xrm.Sdk.Entity, System.ComponentModel.INotifyPropertyChanging, System.ComponentModel.INotifyPropertyChanged { /// <summary> /// Default Constructor. /// </summary> public Account() : base(EntityLogicalName) { }