/// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMgoal class.
 /// </summary>
 public MicrosoftDynamicsCRMgoal(object computedtargetasoftodaypercentageachieved = default(object), string stretchtargetstring = default(string), int?amountdatatype = default(int?), string _owningbusinessunitValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _rollupqueryinprogressintegeridValue = default(string), string _createdbyValue = default(string), int?inprogressinteger = default(int?), bool?rolluponlyfromchildgoals = default(bool?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), System.DateTimeOffset?lastrolledupdate = default(System.DateTimeOffset?), object targetmoneyBase = default(object), string _rollupqueryactualintegeridValue = default(string), int?utcconversiontimezonecode = default(int?), string _modifiedbyValue = default(string), bool?isoverridden = default(bool?), string title = default(string), System.DateTimeOffset?goalenddate = default(System.DateTimeOffset?), string _owningteamValue = default(string), string _rollupqueryactualdecimalidValue = default(string), string _goalowneridValue = default(string), object inprogressdecimal = default(object), bool?consideronlygoalownersrecords = default(bool?), string _rollupquerycustomintegeridValue = default(string), string _rollupqueryactualmoneyidValue = default(string), string entityimageid = default(string), object targetdecimal = default(object), object computedtargetasoftodaymoney = default(object), bool?isoverride = default(bool?), bool?isamount = default(bool?), string _modifiedonbehalfbyValue = default(string), int?computedtargetasoftodayinteger = default(int?), object entityimage = default(object), string treeid = default(string), long?versionnumber = default(long?), long?entityimageTimestamp = default(long?), string _owneridValue = default(string), object percentage = default(object), string actualstring = default(string), object customrollupfieldmoneyBase = default(object), int?stretchtargetinteger = default(int?), object actualmoneyBase = default(object), object targetmoney = default(object), object computedtargetasoftodaymoneyBase = default(object), string entityimageUrl = default(string), int?targetinteger = default(int?), object actualmoney = default(object), string inprogressstring = default(string), System.DateTimeOffset?goalstartdate = default(System.DateTimeOffset?), object inprogressmoneyBase = default(object), string targetstring = default(string), int?fiscalperiod = default(int?), int?statuscode = default(int?), int?statecode = default(int?), object customrollupfieldmoney = default(object), string goalid = default(string), string _rollupquerycustommoneyidValue = default(string), string _owninguserValue = default(string), string _transactioncurrencyidValue = default(string), string _rollupqueryinprogressdecimalidValue = default(string), object exchangerate = default(object), object stretchtargetmoney = default(object), int?importsequencenumber = default(int?), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _goalwitherroridValue = default(string), object actualdecimal = default(object), bool?isfiscalperiodgoal = default(bool?), string customrollupfieldstring = default(string), string _rollupqueryinprogressmoneyidValue = default(string), string _rollupquerycustomdecimalidValue = default(string), string _metricidValue = default(string), int?actualinteger = default(int?), object computedtargetasoftodaydecimal = default(object), object customrollupfielddecimal = default(object), int?fiscalyear = default(int?), object stretchtargetmoneyBase = default(object), object stretchtargetdecimal = default(object), int?timezoneruleversionnumber = default(int?), object inprogressmoney = default(object), int?depth = default(int?), int?rolluperrorcode = default(int?), string _parentgoalidValue = default(string), int?customrollupfieldinteger = default(int?), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMgoalrollupquery rollupqueryactualintegerid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupqueryactualmoneyid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupqueryactualdecimalid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupquerycustomintegerid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupquerycustommoneyid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupquerycustomdecimalid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupqueryinprogressintegerid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupqueryinprogressmoneyid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMgoalrollupquery rollupqueryinprogressdecimalid = default(MicrosoftDynamicsCRMgoalrollupquery), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), MicrosoftDynamicsCRMsystemuser goalowneridSystemuser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMgoal parentgoalid = default(MicrosoftDynamicsCRMgoal), IList <MicrosoftDynamicsCRMgoal> goalParentGoal = default(IList <MicrosoftDynamicsCRMgoal>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), MicrosoftDynamicsCRMmetric metricid = default(MicrosoftDynamicsCRMmetric), IList <MicrosoftDynamicsCRMduplicaterecord> goalDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), MicrosoftDynamicsCRMgoal goalwitherrorid = default(MicrosoftDynamicsCRMgoal), IList <MicrosoftDynamicsCRMgoal> goalRollupErrorGoal = default(IList <MicrosoftDynamicsCRMgoal>), IList <MicrosoftDynamicsCRMconnection> goalConnections2 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMsyncerror> goalSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMannotation> goalAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMconnection> goalConnections1 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMasyncoperation> goalAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMduplicaterecord> goalDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), MicrosoftDynamicsCRMteam goalowneridTeam = default(MicrosoftDynamicsCRMteam))
 {
     Computedtargetasoftodaypercentageachieved = computedtargetasoftodaypercentageachieved;
     Stretchtargetstring           = stretchtargetstring;
     Amountdatatype                = amountdatatype;
     this._owningbusinessunitValue = _owningbusinessunitValue;
     Createdon = createdon;
     this._rollupqueryinprogressintegeridValue = _rollupqueryinprogressintegeridValue;
     this._createdbyValue     = _createdbyValue;
     Inprogressinteger        = inprogressinteger;
     Rolluponlyfromchildgoals = rolluponlyfromchildgoals;
     Overriddencreatedon      = overriddencreatedon;
     Lastrolledupdate         = lastrolledupdate;
     TargetmoneyBase          = targetmoneyBase;
     this._rollupqueryactualintegeridValue = _rollupqueryactualintegeridValue;
     Utcconversiontimezonecode             = utcconversiontimezonecode;
     this._modifiedbyValue = _modifiedbyValue;
     Isoverridden          = isoverridden;
     Title                 = title;
     Goalenddate           = goalenddate;
     this._owningteamValue = _owningteamValue;
     this._rollupqueryactualdecimalidValue = _rollupqueryactualdecimalidValue;
     this._goalowneridValue                = _goalowneridValue;
     Inprogressdecimal                     = inprogressdecimal;
     Consideronlygoalownersrecords         = consideronlygoalownersrecords;
     this._rollupquerycustomintegeridValue = _rollupquerycustomintegeridValue;
     this._rollupqueryactualmoneyidValue   = _rollupqueryactualmoneyidValue;
     Entityimageid = entityimageid;
     Targetdecimal = targetdecimal;
     Computedtargetasoftodaymoney = computedtargetasoftodaymoney;
     Isoverride = isoverride;
     Isamount   = isamount;
     this._modifiedonbehalfbyValue  = _modifiedonbehalfbyValue;
     Computedtargetasoftodayinteger = computedtargetasoftodayinteger;
     Entityimage                               = entityimage;
     Treeid                                    = treeid;
     Versionnumber                             = versionnumber;
     EntityimageTimestamp                      = entityimageTimestamp;
     this._owneridValue                        = _owneridValue;
     Percentage                                = percentage;
     Actualstring                              = actualstring;
     CustomrollupfieldmoneyBase                = customrollupfieldmoneyBase;
     Stretchtargetinteger                      = stretchtargetinteger;
     ActualmoneyBase                           = actualmoneyBase;
     Targetmoney                               = targetmoney;
     ComputedtargetasoftodaymoneyBase          = computedtargetasoftodaymoneyBase;
     EntityimageUrl                            = entityimageUrl;
     Targetinteger                             = targetinteger;
     Actualmoney                               = actualmoney;
     Inprogressstring                          = inprogressstring;
     Goalstartdate                             = goalstartdate;
     InprogressmoneyBase                       = inprogressmoneyBase;
     Targetstring                              = targetstring;
     Fiscalperiod                              = fiscalperiod;
     Statuscode                                = statuscode;
     Statecode                                 = statecode;
     Customrollupfieldmoney                    = customrollupfieldmoney;
     Goalid                                    = goalid;
     this._rollupquerycustommoneyidValue       = _rollupquerycustommoneyidValue;
     this._owninguserValue                     = _owninguserValue;
     this._transactioncurrencyidValue          = _transactioncurrencyidValue;
     this._rollupqueryinprogressdecimalidValue = _rollupqueryinprogressdecimalidValue;
     Exchangerate                              = exchangerate;
     Stretchtargetmoney                        = stretchtargetmoney;
     Importsequencenumber                      = importsequencenumber;
     this._createdonbehalfbyValue              = _createdonbehalfbyValue;
     Modifiedon                                = modifiedon;
     this._goalwitherroridValue                = _goalwitherroridValue;
     Actualdecimal                             = actualdecimal;
     Isfiscalperiodgoal                        = isfiscalperiodgoal;
     Customrollupfieldstring                   = customrollupfieldstring;
     this._rollupqueryinprogressmoneyidValue   = _rollupqueryinprogressmoneyidValue;
     this._rollupquerycustomdecimalidValue     = _rollupquerycustomdecimalidValue;
     this._metricidValue                       = _metricidValue;
     Actualinteger                             = actualinteger;
     Computedtargetasoftodaydecimal            = computedtargetasoftodaydecimal;
     Customrollupfielddecimal                  = customrollupfielddecimal;
     Fiscalyear                                = fiscalyear;
     StretchtargetmoneyBase                    = stretchtargetmoneyBase;
     Stretchtargetdecimal                      = stretchtargetdecimal;
     Timezoneruleversionnumber                 = timezoneruleversionnumber;
     Inprogressmoney                           = inprogressmoney;
     Depth                          = depth;
     Rolluperrorcode                = rolluperrorcode;
     this._parentgoalidValue        = _parentgoalidValue;
     Customrollupfieldinteger       = customrollupfieldinteger;
     Owningteam                     = owningteam;
     Ownerid                        = ownerid;
     Rollupqueryactualintegerid     = rollupqueryactualintegerid;
     Rollupqueryactualmoneyid       = rollupqueryactualmoneyid;
     Rollupqueryactualdecimalid     = rollupqueryactualdecimalid;
     Rollupquerycustomintegerid     = rollupquerycustomintegerid;
     Rollupquerycustommoneyid       = rollupquerycustommoneyid;
     Rollupquerycustomdecimalid     = rollupquerycustomdecimalid;
     Rollupqueryinprogressintegerid = rollupqueryinprogressintegerid;
     Rollupqueryinprogressmoneyid   = rollupqueryinprogressmoneyid;
     Rollupqueryinprogressdecimalid = rollupqueryinprogressdecimalid;
     Createdby                      = createdby;
     Createdonbehalfby              = createdonbehalfby;
     Modifiedby                     = modifiedby;
     Modifiedonbehalfby             = modifiedonbehalfby;
     Owninguser                     = owninguser;
     Owningbusinessunit             = owningbusinessunit;
     GoalowneridSystemuser          = goalowneridSystemuser;
     Parentgoalid                   = parentgoalid;
     GoalParentGoal                 = goalParentGoal;
     Transactioncurrencyid          = transactioncurrencyid;
     Metricid                       = metricid;
     GoalDuplicateMatchingRecord    = goalDuplicateMatchingRecord;
     Goalwitherrorid                = goalwitherrorid;
     GoalRollupErrorGoal            = goalRollupErrorGoal;
     GoalConnections2               = goalConnections2;
     GoalSyncErrors                 = goalSyncErrors;
     GoalAnnotation                 = goalAnnotation;
     GoalConnections1               = goalConnections1;
     GoalAsyncOperations            = goalAsyncOperations;
     GoalDuplicateBaseRecord        = goalDuplicateBaseRecord;
     GoalowneridTeam                = goalowneridTeam;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMannotation
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMannotation(System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), int?importsequencenumber = default(int?), int?filesize = default(int?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string objecttypecode = default(string), string mimetype = default(string), string _modifiedbyValue = default(string), string documentbody = default(string), object documentbodyBinary = default(object), string _owningteamValue = default(string), long?versionnumber = default(long?), string filename = default(string), string notetext = default(string), string _owninguserValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string stepid = default(string), string annotationid = default(string), string langid = default(string), bool?isdocument = default(bool?), string _owningbusinessunitValue = default(string), string _owneridValue = default(string), string _createdonbehalfbyValue = default(string), string _objectidValue = default(string), string subject = default(string), string _modifiedonbehalfbyValue = default(string), string _createdbyValue = default(string), MicrosoftDynamicsCRMknowledgearticle objectidKnowledgearticle = default(MicrosoftDynamicsCRMknowledgearticle), MicrosoftDynamicsCRMentitlement objectidEntitlement = default(MicrosoftDynamicsCRMentitlement), MicrosoftDynamicsCRMentitlementchannel objectidEntitlementchannel = default(MicrosoftDynamicsCRMentitlementchannel), MicrosoftDynamicsCRMentitlementtemplate objectidEntitlementtemplate = default(MicrosoftDynamicsCRMentitlementtemplate), MicrosoftDynamicsCRMbookableresource objectidBookableresource = default(MicrosoftDynamicsCRMbookableresource), MicrosoftDynamicsCRMbookableresourcebooking objectidBookableresourcebooking = default(MicrosoftDynamicsCRMbookableresourcebooking), MicrosoftDynamicsCRMbookableresourcebookingheader objectidBookableresourcebookingheader = default(MicrosoftDynamicsCRMbookableresourcebookingheader), MicrosoftDynamicsCRMbookableresourcecategoryassn objectidBookableresourcecategoryassn = default(MicrosoftDynamicsCRMbookableresourcecategoryassn), MicrosoftDynamicsCRMbookableresourcecharacteristic objectidBookableresourcecharacteristic = default(MicrosoftDynamicsCRMbookableresourcecharacteristic), MicrosoftDynamicsCRMbookableresourcegroup objectidBookableresourcegroup = default(MicrosoftDynamicsCRMbookableresourcegroup), MicrosoftDynamicsCRMknowledgebaserecord objectidKnowledgebaserecord = default(MicrosoftDynamicsCRMknowledgebaserecord), MicrosoftDynamicsCRMaccount objectidAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMlist objectidList = default(MicrosoftDynamicsCRMlist), MicrosoftDynamicsCRMcampaignresponse objectidCampaignresponse = default(MicrosoftDynamicsCRMcampaignresponse), MicrosoftDynamicsCRMkbarticle objectidKbarticle = default(MicrosoftDynamicsCRMkbarticle), MicrosoftDynamicsCRMcampaignactivity objectidCampaignactivity = default(MicrosoftDynamicsCRMcampaignactivity), MicrosoftDynamicsCRMappointment objectidAppointment = default(MicrosoftDynamicsCRMappointment), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), IList <MicrosoftDynamicsCRMbulkdeletefailure> annotationBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMsla objectidSla = default(MicrosoftDynamicsCRMsla), MicrosoftDynamicsCRMcalendar objectidCalendar = default(MicrosoftDynamicsCRMcalendar), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMfax objectidFax = default(MicrosoftDynamicsCRMfax), MicrosoftDynamicsCRMincidentresolution objectidIncidentresolution = default(MicrosoftDynamicsCRMincidentresolution), MicrosoftDynamicsCRMcontact objectidContact = default(MicrosoftDynamicsCRMcontact), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMletter objectidLetter = default(MicrosoftDynamicsCRMletter), MicrosoftDynamicsCRMservice objectidService = default(MicrosoftDynamicsCRMservice), MicrosoftDynamicsCRMsalesorder objectidSalesorder = default(MicrosoftDynamicsCRMsalesorder), MicrosoftDynamicsCRMquoteclose objectidQuoteclose = default(MicrosoftDynamicsCRMquoteclose), MicrosoftDynamicsCRMcompetitor objectidCompetitor = default(MicrosoftDynamicsCRMcompetitor), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMcontract objectidContract = default(MicrosoftDynamicsCRMcontract), MicrosoftDynamicsCRMgoal objectidGoal = default(MicrosoftDynamicsCRMgoal), MicrosoftDynamicsCRMtask objectidTask = default(MicrosoftDynamicsCRMtask), MicrosoftDynamicsCRMemail objectidEmail = default(MicrosoftDynamicsCRMemail), MicrosoftDynamicsCRMorderclose objectidOrderclose = default(MicrosoftDynamicsCRMorderclose), MicrosoftDynamicsCRMworkflow objectidWorkflow = default(MicrosoftDynamicsCRMworkflow), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMincident objectidIncident = default(MicrosoftDynamicsCRMincident), MicrosoftDynamicsCRMequipment objectidEquipment = default(MicrosoftDynamicsCRMequipment), MicrosoftDynamicsCRMcontractdetail objectidContractdetail = default(MicrosoftDynamicsCRMcontractdetail), MicrosoftDynamicsCRMcampaign objectidCampaign = default(MicrosoftDynamicsCRMcampaign), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMasyncoperation> annotationAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMlead objectidLead = default(MicrosoftDynamicsCRMlead), MicrosoftDynamicsCRMmailbox objectidMailbox = default(MicrosoftDynamicsCRMmailbox), MicrosoftDynamicsCRMsocialactivity objectidSocialactivity = default(MicrosoftDynamicsCRMsocialactivity), MicrosoftDynamicsCRMresourcespec objectidResourcespec = default(MicrosoftDynamicsCRMresourcespec), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMduplicaterule objectidDuplicaterule = default(MicrosoftDynamicsCRMduplicaterule), IList <MicrosoftDynamicsCRMsyncerror> annotationSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMserviceappointment objectidServiceappointment = default(MicrosoftDynamicsCRMserviceappointment), MicrosoftDynamicsCRMquote objectidQuote = default(MicrosoftDynamicsCRMquote), MicrosoftDynamicsCRMinvoice objectidInvoice = default(MicrosoftDynamicsCRMinvoice), MicrosoftDynamicsCRMphonecall objectidPhonecall = default(MicrosoftDynamicsCRMphonecall), MicrosoftDynamicsCRMemailserverprofile objectidEmailserverprofile = default(MicrosoftDynamicsCRMemailserverprofile), MicrosoftDynamicsCRMopportunityclose objectidOpportunityclose = default(MicrosoftDynamicsCRMopportunityclose), MicrosoftDynamicsCRMproduct objectidProduct = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMopportunity objectidOpportunity = default(MicrosoftDynamicsCRMopportunity), MicrosoftDynamicsCRMrecurringappointmentmaster objectidRecurringappointmentmaster = default(MicrosoftDynamicsCRMrecurringappointmentmaster), MicrosoftDynamicsCRMbcgovCustomaddress objectidBcgovCustomaddress = default(MicrosoftDynamicsCRMbcgovCustomaddress), MicrosoftDynamicsCRMbcgovLocation objectidBcgovLocation = default(MicrosoftDynamicsCRMbcgovLocation), MicrosoftDynamicsCRMbcgovEquipment objectidBcgovEquipment = default(MicrosoftDynamicsCRMbcgovEquipment), MicrosoftDynamicsCRMbcgovEquipmentlocation objectidBcgovEquipmentlocation = default(MicrosoftDynamicsCRMbcgovEquipmentlocation), MicrosoftDynamicsCRMbcgovRiskassessment objectidBcgovRiskassessment = default(MicrosoftDynamicsCRMbcgovRiskassessment))
 {
     Modifiedon            = modifiedon;
     Importsequencenumber  = importsequencenumber;
     Filesize              = filesize;
     Overriddencreatedon   = overriddencreatedon;
     Objecttypecode        = objecttypecode;
     Mimetype              = mimetype;
     this._modifiedbyValue = _modifiedbyValue;
     Documentbody          = documentbody;
     DocumentbodyBinary    = documentbodyBinary;
     this._owningteamValue = _owningteamValue;
     Versionnumber         = versionnumber;
     Filename              = filename;
     Notetext              = notetext;
     this._owninguserValue = _owninguserValue;
     Createdon             = createdon;
     Stepid       = stepid;
     Annotationid = annotationid;
     Langid       = langid;
     Isdocument   = isdocument;
     this._owningbusinessunitValue = _owningbusinessunitValue;
     this._owneridValue            = _owneridValue;
     this._createdonbehalfbyValue  = _createdonbehalfbyValue;
     this._objectidValue           = _objectidValue;
     Subject = subject;
     this._modifiedonbehalfbyValue          = _modifiedonbehalfbyValue;
     this._createdbyValue                   = _createdbyValue;
     ObjectidKnowledgearticle               = objectidKnowledgearticle;
     ObjectidEntitlement                    = objectidEntitlement;
     ObjectidEntitlementchannel             = objectidEntitlementchannel;
     ObjectidEntitlementtemplate            = objectidEntitlementtemplate;
     ObjectidBookableresource               = objectidBookableresource;
     ObjectidBookableresourcebooking        = objectidBookableresourcebooking;
     ObjectidBookableresourcebookingheader  = objectidBookableresourcebookingheader;
     ObjectidBookableresourcecategoryassn   = objectidBookableresourcecategoryassn;
     ObjectidBookableresourcecharacteristic = objectidBookableresourcecharacteristic;
     ObjectidBookableresourcegroup          = objectidBookableresourcegroup;
     ObjectidKnowledgebaserecord            = objectidKnowledgebaserecord;
     ObjectidAccount              = objectidAccount;
     Modifiedonbehalfby           = modifiedonbehalfby;
     ObjectidList                 = objectidList;
     ObjectidCampaignresponse     = objectidCampaignresponse;
     ObjectidKbarticle            = objectidKbarticle;
     ObjectidCampaignactivity     = objectidCampaignactivity;
     ObjectidAppointment          = objectidAppointment;
     Owningbusinessunit           = owningbusinessunit;
     AnnotationBulkDeleteFailures = annotationBulkDeleteFailures;
     ObjectidSla                = objectidSla;
     ObjectidCalendar           = objectidCalendar;
     Createdby                  = createdby;
     ObjectidFax                = objectidFax;
     ObjectidIncidentresolution = objectidIncidentresolution;
     ObjectidContact            = objectidContact;
     Owninguser                 = owninguser;
     ObjectidLetter             = objectidLetter;
     ObjectidService            = objectidService;
     ObjectidSalesorder         = objectidSalesorder;
     ObjectidQuoteclose         = objectidQuoteclose;
     ObjectidCompetitor         = objectidCompetitor;
     Ownerid                            = ownerid;
     ObjectidContract                   = objectidContract;
     ObjectidGoal                       = objectidGoal;
     ObjectidTask                       = objectidTask;
     ObjectidEmail                      = objectidEmail;
     ObjectidOrderclose                 = objectidOrderclose;
     ObjectidWorkflow                   = objectidWorkflow;
     Createdonbehalfby                  = createdonbehalfby;
     ObjectidIncident                   = objectidIncident;
     ObjectidEquipment                  = objectidEquipment;
     ObjectidContractdetail             = objectidContractdetail;
     ObjectidCampaign                   = objectidCampaign;
     Modifiedby                         = modifiedby;
     AnnotationAsyncOperations          = annotationAsyncOperations;
     ObjectidLead                       = objectidLead;
     ObjectidMailbox                    = objectidMailbox;
     ObjectidSocialactivity             = objectidSocialactivity;
     ObjectidResourcespec               = objectidResourcespec;
     Owningteam                         = owningteam;
     ObjectidDuplicaterule              = objectidDuplicaterule;
     AnnotationSyncErrors               = annotationSyncErrors;
     ObjectidServiceappointment         = objectidServiceappointment;
     ObjectidQuote                      = objectidQuote;
     ObjectidInvoice                    = objectidInvoice;
     ObjectidPhonecall                  = objectidPhonecall;
     ObjectidEmailserverprofile         = objectidEmailserverprofile;
     ObjectidOpportunityclose           = objectidOpportunityclose;
     ObjectidProduct                    = objectidProduct;
     ObjectidOpportunity                = objectidOpportunity;
     ObjectidRecurringappointmentmaster = objectidRecurringappointmentmaster;
     ObjectidBcgovCustomaddress         = objectidBcgovCustomaddress;
     ObjectidBcgovLocation              = objectidBcgovLocation;
     ObjectidBcgovEquipment             = objectidBcgovEquipment;
     ObjectidBcgovEquipmentlocation     = objectidBcgovEquipmentlocation;
     ObjectidBcgovRiskassessment        = objectidBcgovRiskassessment;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMconnection
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMconnection(int?record1objecttypecode = default(int?), string _transactioncurrencyidValue = default(string), int?statecode = default(int?), string _modifiedonbehalfbyValue = default(string), string _record1roleidValue = default(string), System.DateTimeOffset?effectiveend = default(System.DateTimeOffset?), string entityimageUrl = default(string), string _modifiedbyValue = default(string), string name = default(string), object exchangerate = default(object), string _owningteamValue = default(string), int?importsequencenumber = default(int?), string _record2roleidValue = default(string), string _createdbyValue = default(string), int?record2objecttypecode = default(int?), string _owneridValue = default(string), string _owninguserValue = default(string), string _record1idValue = default(string), System.DateTimeOffset?effectivestart = default(System.DateTimeOffset?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string description = default(string), long?versionnumber = default(long?), string entityimageid = default(string), long?entityimageTimestamp = default(long?), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), object entityimage = default(object), int?statuscode = default(int?), string _owningbusinessunitValue = default(string), string _relatedconnectionidValue = default(string), string _record2idValue = default(string), bool?ismaster = default(bool?), string connectionid = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), MicrosoftDynamicsCRMknowledgearticle record1idKnowledgearticle = default(MicrosoftDynamicsCRMknowledgearticle), MicrosoftDynamicsCRMknowledgearticle record2idKnowledgearticle = default(MicrosoftDynamicsCRMknowledgearticle), MicrosoftDynamicsCRMentitlement record1idEntitlement = default(MicrosoftDynamicsCRMentitlement), MicrosoftDynamicsCRMentitlement record2idEntitlement = default(MicrosoftDynamicsCRMentitlement), MicrosoftDynamicsCRMknowledgebaserecord record1idKnowledgebaserecord = default(MicrosoftDynamicsCRMknowledgebaserecord), MicrosoftDynamicsCRMknowledgebaserecord record2idKnowledgebaserecord = default(MicrosoftDynamicsCRMknowledgebaserecord), MicrosoftDynamicsCRMcontact record1idContact = default(MicrosoftDynamicsCRMcontact), MicrosoftDynamicsCRMlead record2idLead = default(MicrosoftDynamicsCRMlead), MicrosoftDynamicsCRMsocialactivity record2idSocialactivity = default(MicrosoftDynamicsCRMsocialactivity), MicrosoftDynamicsCRMtask record2idTask = default(MicrosoftDynamicsCRMtask), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser record1idSystemuser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), MicrosoftDynamicsCRMaccount record2idAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMterritory record1idTerritory = default(MicrosoftDynamicsCRMterritory), MicrosoftDynamicsCRMsystemuser record2idSystemuser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam record2idTeam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMinvoice record1idInvoice = default(MicrosoftDynamicsCRMinvoice), MicrosoftDynamicsCRMquote record1idQuote = default(MicrosoftDynamicsCRMquote), MicrosoftDynamicsCRMterritory record2idTerritory = default(MicrosoftDynamicsCRMterritory), MicrosoftDynamicsCRMcampaignactivity record1idCampaignactivity = default(MicrosoftDynamicsCRMcampaignactivity), MicrosoftDynamicsCRMquote record2idQuote = default(MicrosoftDynamicsCRMquote), MicrosoftDynamicsCRMcampaignactivity record2idCampaignactivity = default(MicrosoftDynamicsCRMcampaignactivity), MicrosoftDynamicsCRMincident record2idIncident = default(MicrosoftDynamicsCRMincident), MicrosoftDynamicsCRMletter record2idLetter = default(MicrosoftDynamicsCRMletter), MicrosoftDynamicsCRMcontract record1idContract = default(MicrosoftDynamicsCRMcontract), MicrosoftDynamicsCRMresourcegroup record2idResourcegroup = default(MicrosoftDynamicsCRMresourcegroup), MicrosoftDynamicsCRMcontract record2idContract = default(MicrosoftDynamicsCRMcontract), MicrosoftDynamicsCRMserviceappointment record2idServiceappointment = default(MicrosoftDynamicsCRMserviceappointment), MicrosoftDynamicsCRMemail record1idEmail = default(MicrosoftDynamicsCRMemail), MicrosoftDynamicsCRMresourcegroup record1idResourcegroup = default(MicrosoftDynamicsCRMresourcegroup), MicrosoftDynamicsCRMlist record2idList = default(MicrosoftDynamicsCRMlist), MicrosoftDynamicsCRMsocialprofile record1idSocialprofile = default(MicrosoftDynamicsCRMsocialprofile), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMpricelevel record2idPricelevel = default(MicrosoftDynamicsCRMpricelevel), MicrosoftDynamicsCRMtask record1idTask = default(MicrosoftDynamicsCRMtask), MicrosoftDynamicsCRMcampaign record1idCampaign = default(MicrosoftDynamicsCRMcampaign), MicrosoftDynamicsCRMsalesorder record2idSalesorder = default(MicrosoftDynamicsCRMsalesorder), MicrosoftDynamicsCRMemail record2idEmail = default(MicrosoftDynamicsCRMemail), MicrosoftDynamicsCRMserviceappointment record1idServiceappointment = default(MicrosoftDynamicsCRMserviceappointment), MicrosoftDynamicsCRMcompetitor record2idCompetitor = default(MicrosoftDynamicsCRMcompetitor), MicrosoftDynamicsCRMsocialprofile record2idSocialprofile = default(MicrosoftDynamicsCRMsocialprofile), MicrosoftDynamicsCRMproduct record2idProduct = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMteam record1idTeam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMconnectionrole record2roleid = default(MicrosoftDynamicsCRMconnectionrole), MicrosoftDynamicsCRMgoal record2idGoal = default(MicrosoftDynamicsCRMgoal), MicrosoftDynamicsCRMposition record1idPosition = default(MicrosoftDynamicsCRMposition), MicrosoftDynamicsCRMrecurringappointmentmaster record1idRecurringappointmentmaster = default(MicrosoftDynamicsCRMrecurringappointmentmaster), MicrosoftDynamicsCRMconstraintbasedgroup record2idConstraintbasedgroup = default(MicrosoftDynamicsCRMconstraintbasedgroup), MicrosoftDynamicsCRMcompetitor record1idCompetitor = default(MicrosoftDynamicsCRMcompetitor), MicrosoftDynamicsCRMopportunity record2idOpportunity = default(MicrosoftDynamicsCRMopportunity), IList <MicrosoftDynamicsCRMasyncoperation> connectionAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMappointment record1idAppointment = default(MicrosoftDynamicsCRMappointment), MicrosoftDynamicsCRMlist record1idList = default(MicrosoftDynamicsCRMlist), MicrosoftDynamicsCRMincident record1idIncident = default(MicrosoftDynamicsCRMincident), MicrosoftDynamicsCRMfax record2idFax = default(MicrosoftDynamicsCRMfax), MicrosoftDynamicsCRMequipment record1idEquipment = default(MicrosoftDynamicsCRMequipment), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMinvoice record2idInvoice = default(MicrosoftDynamicsCRMinvoice), MicrosoftDynamicsCRMproduct record1idProduct = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMconnection relatedconnectionid = default(MicrosoftDynamicsCRMconnection), IList <MicrosoftDynamicsCRMconnection> connectionRelatedConnection = default(IList <MicrosoftDynamicsCRMconnection>), MicrosoftDynamicsCRMrecurringappointmentmaster record2idRecurringappointmentmaster = default(MicrosoftDynamicsCRMrecurringappointmentmaster), MicrosoftDynamicsCRMphonecall record1idPhonecall = default(MicrosoftDynamicsCRMphonecall), MicrosoftDynamicsCRMopportunity record1idOpportunity = default(MicrosoftDynamicsCRMopportunity), MicrosoftDynamicsCRMappointment record2idAppointment = default(MicrosoftDynamicsCRMappointment), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), MicrosoftDynamicsCRMgoal record1idGoal = default(MicrosoftDynamicsCRMgoal), MicrosoftDynamicsCRMsocialactivity record1idSocialactivity = default(MicrosoftDynamicsCRMsocialactivity), MicrosoftDynamicsCRMfax record1idFax = default(MicrosoftDynamicsCRMfax), MicrosoftDynamicsCRMposition record2idPosition = default(MicrosoftDynamicsCRMposition), MicrosoftDynamicsCRMconnectionrole record1roleid = default(MicrosoftDynamicsCRMconnectionrole), MicrosoftDynamicsCRMletter record1idLetter = default(MicrosoftDynamicsCRMletter), IList <MicrosoftDynamicsCRMsyncerror> connectionSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMactivitypointer record2idActivitypointer = default(MicrosoftDynamicsCRMactivitypointer), MicrosoftDynamicsCRMaccount record1idAccount = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMlead record1idLead = default(MicrosoftDynamicsCRMlead), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMconstraintbasedgroup record1idConstraintbasedgroup = default(MicrosoftDynamicsCRMconstraintbasedgroup), MicrosoftDynamicsCRMcontact record2idContact = default(MicrosoftDynamicsCRMcontact), MicrosoftDynamicsCRMequipment record2idEquipment = default(MicrosoftDynamicsCRMequipment), MicrosoftDynamicsCRMactivitypointer record1idActivitypointer = default(MicrosoftDynamicsCRMactivitypointer), MicrosoftDynamicsCRMcampaign record2idCampaign = default(MicrosoftDynamicsCRMcampaign), MicrosoftDynamicsCRMsalesorder record1idSalesorder = default(MicrosoftDynamicsCRMsalesorder), MicrosoftDynamicsCRMphonecall record2idPhonecall = default(MicrosoftDynamicsCRMphonecall), MicrosoftDynamicsCRMpricelevel record1idPricelevel = default(MicrosoftDynamicsCRMpricelevel), MicrosoftDynamicsCRMbcgovCustomaddress record1idBcgovCustomaddress = default(MicrosoftDynamicsCRMbcgovCustomaddress), MicrosoftDynamicsCRMbcgovCustomaddress record2idBcgovCustomaddress = default(MicrosoftDynamicsCRMbcgovCustomaddress), MicrosoftDynamicsCRMbcgovCustomproduct record1idBcgovCustomproduct = default(MicrosoftDynamicsCRMbcgovCustomproduct), MicrosoftDynamicsCRMbcgovCustomproduct record2idBcgovCustomproduct = default(MicrosoftDynamicsCRMbcgovCustomproduct), MicrosoftDynamicsCRMbcgovLocation record1idBcgovLocation = default(MicrosoftDynamicsCRMbcgovLocation), MicrosoftDynamicsCRMbcgovLocation record2idBcgovLocation = default(MicrosoftDynamicsCRMbcgovLocation), MicrosoftDynamicsCRMbcgovEquipment record1idBcgovEquipment = default(MicrosoftDynamicsCRMbcgovEquipment), MicrosoftDynamicsCRMbcgovEquipment record2idBcgovEquipment = default(MicrosoftDynamicsCRMbcgovEquipment), MicrosoftDynamicsCRMbcgovEquipmentlocation record1idBcgovEquipmentlocation = default(MicrosoftDynamicsCRMbcgovEquipmentlocation), MicrosoftDynamicsCRMbcgovEquipmentlocation record2idBcgovEquipmentlocation = default(MicrosoftDynamicsCRMbcgovEquipmentlocation), MicrosoftDynamicsCRMbcgovRiskassessment record1idBcgovRiskassessment = default(MicrosoftDynamicsCRMbcgovRiskassessment), MicrosoftDynamicsCRMbcgovRiskassessment record2idBcgovRiskassessment = default(MicrosoftDynamicsCRMbcgovRiskassessment))
 {
     Record1objecttypecode            = record1objecttypecode;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Statecode = statecode;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     this._record1roleidValue      = _record1roleidValue;
     Effectiveend          = effectiveend;
     EntityimageUrl        = entityimageUrl;
     this._modifiedbyValue = _modifiedbyValue;
     Name                                = name;
     Exchangerate                        = exchangerate;
     this._owningteamValue               = _owningteamValue;
     Importsequencenumber                = importsequencenumber;
     this._record2roleidValue            = _record2roleidValue;
     this._createdbyValue                = _createdbyValue;
     Record2objecttypecode               = record2objecttypecode;
     this._owneridValue                  = _owneridValue;
     this._owninguserValue               = _owninguserValue;
     this._record1idValue                = _record1idValue;
     Effectivestart                      = effectivestart;
     Modifiedon                          = modifiedon;
     Description                         = description;
     Versionnumber                       = versionnumber;
     Entityimageid                       = entityimageid;
     EntityimageTimestamp                = entityimageTimestamp;
     this._createdonbehalfbyValue        = _createdonbehalfbyValue;
     Overriddencreatedon                 = overriddencreatedon;
     Entityimage                         = entityimage;
     Statuscode                          = statuscode;
     this._owningbusinessunitValue       = _owningbusinessunitValue;
     this._relatedconnectionidValue      = _relatedconnectionidValue;
     this._record2idValue                = _record2idValue;
     Ismaster                            = ismaster;
     Connectionid                        = connectionid;
     Createdon                           = createdon;
     Record1idKnowledgearticle           = record1idKnowledgearticle;
     Record2idKnowledgearticle           = record2idKnowledgearticle;
     Record1idEntitlement                = record1idEntitlement;
     Record2idEntitlement                = record2idEntitlement;
     Record1idKnowledgebaserecord        = record1idKnowledgebaserecord;
     Record2idKnowledgebaserecord        = record2idKnowledgebaserecord;
     Record1idContact                    = record1idContact;
     Record2idLead                       = record2idLead;
     Record2idSocialactivity             = record2idSocialactivity;
     Record2idTask                       = record2idTask;
     Modifiedby                          = modifiedby;
     Record1idSystemuser                 = record1idSystemuser;
     Transactioncurrencyid               = transactioncurrencyid;
     Record2idAccount                    = record2idAccount;
     Createdby                           = createdby;
     Record1idTerritory                  = record1idTerritory;
     Record2idSystemuser                 = record2idSystemuser;
     Record2idTeam                       = record2idTeam;
     Record1idInvoice                    = record1idInvoice;
     Record1idQuote                      = record1idQuote;
     Record2idTerritory                  = record2idTerritory;
     Record1idCampaignactivity           = record1idCampaignactivity;
     Record2idQuote                      = record2idQuote;
     Record2idCampaignactivity           = record2idCampaignactivity;
     Record2idIncident                   = record2idIncident;
     Record2idLetter                     = record2idLetter;
     Record1idContract                   = record1idContract;
     Record2idResourcegroup              = record2idResourcegroup;
     Record2idContract                   = record2idContract;
     Record2idServiceappointment         = record2idServiceappointment;
     Record1idEmail                      = record1idEmail;
     Record1idResourcegroup              = record1idResourcegroup;
     Record2idList                       = record2idList;
     Record1idSocialprofile              = record1idSocialprofile;
     Createdonbehalfby                   = createdonbehalfby;
     Record2idPricelevel                 = record2idPricelevel;
     Record1idTask                       = record1idTask;
     Record1idCampaign                   = record1idCampaign;
     Record2idSalesorder                 = record2idSalesorder;
     Record2idEmail                      = record2idEmail;
     Record1idServiceappointment         = record1idServiceappointment;
     Record2idCompetitor                 = record2idCompetitor;
     Record2idSocialprofile              = record2idSocialprofile;
     Record2idProduct                    = record2idProduct;
     Record1idTeam                       = record1idTeam;
     Record2roleid                       = record2roleid;
     Record2idGoal                       = record2idGoal;
     Record1idPosition                   = record1idPosition;
     Record1idRecurringappointmentmaster = record1idRecurringappointmentmaster;
     Record2idConstraintbasedgroup       = record2idConstraintbasedgroup;
     Record1idCompetitor                 = record1idCompetitor;
     Record2idOpportunity                = record2idOpportunity;
     ConnectionAsyncOperations           = connectionAsyncOperations;
     Record1idAppointment                = record1idAppointment;
     Record1idList                       = record1idList;
     Record1idIncident                   = record1idIncident;
     Record2idFax                        = record2idFax;
     Record1idEquipment                  = record1idEquipment;
     Modifiedonbehalfby                  = modifiedonbehalfby;
     Record2idInvoice                    = record2idInvoice;
     Record1idProduct                    = record1idProduct;
     Relatedconnectionid                 = relatedconnectionid;
     ConnectionRelatedConnection         = connectionRelatedConnection;
     Record2idRecurringappointmentmaster = record2idRecurringappointmentmaster;
     Record1idPhonecall                  = record1idPhonecall;
     Record1idOpportunity                = record1idOpportunity;
     Record2idAppointment                = record2idAppointment;
     Owningbusinessunit                  = owningbusinessunit;
     Record1idGoal                       = record1idGoal;
     Record1idSocialactivity             = record1idSocialactivity;
     Record1idFax                        = record1idFax;
     Record2idPosition                   = record2idPosition;
     Record1roleid                       = record1roleid;
     Record1idLetter                     = record1idLetter;
     ConnectionSyncErrors                = connectionSyncErrors;
     Record2idActivitypointer            = record2idActivitypointer;
     Record1idAccount                    = record1idAccount;
     Record1idLead                       = record1idLead;
     Ownerid                             = ownerid;
     Record1idConstraintbasedgroup       = record1idConstraintbasedgroup;
     Record2idContact                    = record2idContact;
     Record2idEquipment                  = record2idEquipment;
     Record1idActivitypointer            = record1idActivitypointer;
     Record2idCampaign                   = record2idCampaign;
     Record1idSalesorder                 = record1idSalesorder;
     Record2idPhonecall                  = record2idPhonecall;
     Record1idPricelevel                 = record1idPricelevel;
     Record1idBcgovCustomaddress         = record1idBcgovCustomaddress;
     Record2idBcgovCustomaddress         = record2idBcgovCustomaddress;
     Record1idBcgovCustomproduct         = record1idBcgovCustomproduct;
     Record2idBcgovCustomproduct         = record2idBcgovCustomproduct;
     Record1idBcgovLocation              = record1idBcgovLocation;
     Record2idBcgovLocation              = record2idBcgovLocation;
     Record1idBcgovEquipment             = record1idBcgovEquipment;
     Record2idBcgovEquipment             = record2idBcgovEquipment;
     Record1idBcgovEquipmentlocation     = record1idBcgovEquipmentlocation;
     Record2idBcgovEquipmentlocation     = record2idBcgovEquipmentlocation;
     Record1idBcgovRiskassessment        = record1idBcgovRiskassessment;
     Record2idBcgovRiskassessment        = record2idBcgovRiskassessment;
     CustomInit();
 }