示例#1
0
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMservice
 /// class.
 /// </summary>
 /// <param name="_organizationidValue">Unique identifier of the
 /// organization with which the service is associated.</param>
 /// <param name="granularity">Describes how often the service is
 /// performed.</param>
 /// <param name="isschedulable">Information about whether the service
 /// can be scheduled.</param>
 /// <param name="_createdbyValue">Unique identifier of the user who
 /// created the service.</param>
 /// <param name="_resourcespecidValue">Unique identifier of the
 /// resource specification with which the service is
 /// associated.</param>
 /// <param name="initialstatuscode">Initial status reason for the
 /// service activity.</param>
 /// <param name="anchoroffset">Used in conjunction with granularity to
 /// describes when services can be performed in relation to midnight on
 /// a given day.</param>
 /// <param name="isvisible">Information about whether the service is
 /// visible to users.</param>
 /// <param name="serviceid">Unique identifier of the associated
 /// service.</param>
 /// <param name="calendarid">Unique identifier of the calendar.</param>
 /// <param name="_createdonbehalfbyValue">Unique identifier of the
 /// delegate user who created the service.</param>
 /// <param name="overriddencreatedon">Date and time that the record was
 /// migrated.</param>
 /// <param name="duration">Duration of the service.</param>
 /// <param name="_modifiedbyValue">Unique identifier of the user who
 /// last modified the service.</param>
 /// <param name="_modifiedonbehalfbyValue">Unique identifier of the
 /// delegate user who last modified the service.</param>
 /// <param name="importsequencenumber">Unique identifier of the data
 /// import or data migration that created this record.</param>
 /// <param name="_strategyidValue">Value that is taken from
 /// PluginTypeId in the Plugin Type record for the scheduling strategy.
 /// This is the ID of the scheduling strategy plug-in associated with
 /// the service.</param>
 /// <param name="name">Name of the service.</param>
 /// <param name="createdon">Date and time when the service was
 /// created.</param>
 /// <param name="modifiedon">Date and time when the service was last
 /// modified.</param>
 /// <param name="versionnumber">Version number of the service.</param>
 /// <param name="showresources">For internal use only.</param>
 /// <param name="description">Description of activity that represents
 /// work done to satisfy a customer's need.</param>
 public MicrosoftDynamicsCRMservice(string _organizationidValue = default(string), string granularity = default(string), bool?isschedulable = default(bool?), string _createdbyValue = default(string), string _resourcespecidValue = default(string), int?initialstatuscode = default(int?), int?anchoroffset = default(int?), bool?isvisible = default(bool?), string serviceid = default(string), string calendarid = default(string), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), int?duration = default(int?), string _modifiedbyValue = default(string), string _modifiedonbehalfbyValue = default(string), int?importsequencenumber = default(int?), string _strategyidValue = default(string), string name = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string versionnumber = default(string), bool?showresources = default(bool?), string description = default(string), MicrosoftDynamicsCRMplugintype strategyid = default(MicrosoftDynamicsCRMplugintype), IList <MicrosoftDynamicsCRMincidentresolution> serviceIncidentresolutions = default(IList <MicrosoftDynamicsCRMincidentresolution>), IList <MicrosoftDynamicsCRMaccount> serviceAccounts = default(IList <MicrosoftDynamicsCRMaccount>), IList <MicrosoftDynamicsCRMserviceappointment> serviceServiceAppointments = default(IList <MicrosoftDynamicsCRMserviceappointment>), IList <MicrosoftDynamicsCRMquoteclose> serviceQuoteclose = default(IList <MicrosoftDynamicsCRMquoteclose>), IList <MicrosoftDynamicsCRMopportunityclose> serviceOpportunityclose = default(IList <MicrosoftDynamicsCRMopportunityclose>), IList <MicrosoftDynamicsCRMphonecall> servicePhonecalls = default(IList <MicrosoftDynamicsCRMphonecall>), IList <MicrosoftDynamicsCRMrecurringappointmentmaster> serviceRecurringappointmentmasters = default(IList <MicrosoftDynamicsCRMrecurringappointmentmaster>), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization), IList <MicrosoftDynamicsCRMfax> serviceFaxes = default(IList <MicrosoftDynamicsCRMfax>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMannotation> serviceAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMtask> serviceTasks = default(IList <MicrosoftDynamicsCRMtask>), IList <MicrosoftDynamicsCRMsocialactivity> serviceSocialactivities = default(IList <MicrosoftDynamicsCRMsocialactivity>), MicrosoftDynamicsCRMcalendar calendaridCalendar = default(MicrosoftDynamicsCRMcalendar), IList <MicrosoftDynamicsCRMsyncerror> serviceSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMorderclose> serviceOrderclose = default(IList <MicrosoftDynamicsCRMorderclose>), IList <MicrosoftDynamicsCRMletter> serviceLetters = default(IList <MicrosoftDynamicsCRMletter>), IList <MicrosoftDynamicsCRMactivitypointer> serviceActivityPointers = default(IList <MicrosoftDynamicsCRMactivitypointer>), IList <MicrosoftDynamicsCRMbulkdeletefailure> serviceBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMcontact> serviceContacts = default(IList <MicrosoftDynamicsCRMcontact>), IList <MicrosoftDynamicsCRMappointment> serviceAppointments = default(IList <MicrosoftDynamicsCRMappointment>), IList <MicrosoftDynamicsCRMduplicaterecord> serviceDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMemail> serviceEmails = default(IList <MicrosoftDynamicsCRMemail>), IList <MicrosoftDynamicsCRMcalendarrule> serviceCalendarRules = default(IList <MicrosoftDynamicsCRMcalendarrule>), MicrosoftDynamicsCRMresourcespec resourcespecid = default(MicrosoftDynamicsCRMresourcespec), IList <MicrosoftDynamicsCRMasyncoperation> serviceAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMduplicaterecord> serviceDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMabsScheduledprocessexecution> absScheduledprocessexecutionServiceServiceid = default(IList <MicrosoftDynamicsCRMabsScheduledprocessexecution>))
 {
     this._organizationidValue = _organizationidValue;
     Granularity               = granularity;
     Isschedulable             = isschedulable;
     this._createdbyValue      = _createdbyValue;
     this._resourcespecidValue = _resourcespecidValue;
     Initialstatuscode         = initialstatuscode;
     Anchoroffset              = anchoroffset;
     Isvisible  = isvisible;
     Serviceid  = serviceid;
     Calendarid = calendarid;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Overriddencreatedon          = overriddencreatedon;
     Duration = duration;
     this._modifiedbyValue         = _modifiedbyValue;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Importsequencenumber          = importsequencenumber;
     this._strategyidValue         = _strategyidValue;
     Name          = name;
     Createdon     = createdon;
     Modifiedon    = modifiedon;
     Versionnumber = versionnumber;
     Showresources = showresources;
     Description   = description;
     Strategyid    = strategyid;
     ServiceIncidentresolutions         = serviceIncidentresolutions;
     ServiceAccounts                    = serviceAccounts;
     ServiceServiceAppointments         = serviceServiceAppointments;
     ServiceQuoteclose                  = serviceQuoteclose;
     ServiceOpportunityclose            = serviceOpportunityclose;
     ServicePhonecalls                  = servicePhonecalls;
     ServiceRecurringappointmentmasters = serviceRecurringappointmentmasters;
     Organizationid          = organizationid;
     ServiceFaxes            = serviceFaxes;
     Modifiedonbehalfby      = modifiedonbehalfby;
     Modifiedby              = modifiedby;
     ServiceAnnotation       = serviceAnnotation;
     ServiceTasks            = serviceTasks;
     ServiceSocialactivities = serviceSocialactivities;
     CalendaridCalendar      = calendaridCalendar;
     ServiceSyncErrors       = serviceSyncErrors;
     Createdby                      = createdby;
     ServiceOrderclose              = serviceOrderclose;
     ServiceLetters                 = serviceLetters;
     ServiceActivityPointers        = serviceActivityPointers;
     ServiceBulkDeleteFailures      = serviceBulkDeleteFailures;
     Createdonbehalfby              = createdonbehalfby;
     ServiceContacts                = serviceContacts;
     ServiceAppointments            = serviceAppointments;
     ServiceDuplicateBaseRecord     = serviceDuplicateBaseRecord;
     ServiceEmails                  = serviceEmails;
     ServiceCalendarRules           = serviceCalendarRules;
     Resourcespecid                 = resourcespecid;
     ServiceAsyncOperations         = serviceAsyncOperations;
     ServiceDuplicateMatchingRecord = serviceDuplicateMatchingRecord;
     AbsScheduledprocessexecutionServiceServiceid = absScheduledprocessexecutionServiceServiceid;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMbookableresource class.
 /// </summary>
 /// <param name="_owneridValue">Unique identifier of the user or team
 /// who owns the record.</param>
 /// <param name="_calendaridValue">Specifies the working days and hours
 /// of the resource.</param>
 /// <param name="overriddencreatedon">Date and time that the record was
 /// migrated.</param>
 /// <param name="modifiedon">Date and time when the record was
 /// modified.</param>
 /// <param name="_modifiedonbehalfbyValue">Unique identifier of the
 /// delegate user who modified the record.</param>
 /// <param name="_owninguserValue">Unique identifier for the user that
 /// owns the record.</param>
 /// <param name="_modifiedbyValue">Unique identifier of the user who
 /// modified the record.</param>
 /// <param name="statuscode">Reason for the status of the Bookable
 /// Resource</param>
 /// <param name="utcconversiontimezonecode">Time zone code that was in
 /// use when the record was created.</param>
 /// <param name="createdon">Date and time when the record was
 /// created.</param>
 /// <param name="_createdonbehalfbyValue">Unique identifier of the
 /// delegate user who created the record.</param>
 /// <param name="timezoneruleversionnumber">For internal use
 /// only.</param>
 /// <param name="_accountidValue">Select the account that represents
 /// this resource.</param>
 /// <param name="resourcetype">Select whether the resource is a user,
 /// equipment, contact, account, generic resource or a group of
 /// resources.</param>
 /// <param name="_transactioncurrencyidValue">Exchange rate for the
 /// currency associated with the BookableResource with respect to the
 /// base currency.</param>
 /// <param name="importsequencenumber">Sequence number of the import
 /// that created this record.</param>
 /// <param name="_owningbusinessunitValue">Unique identifier for the
 /// business unit that owns the record</param>
 /// <param name="_useridValue">Select the user who represents this
 /// resource.</param>
 /// <param name="_contactidValue">Select the contact that represents
 /// this resource.</param>
 /// <param name="bookableresourceid">Unique identifier of the
 /// resource.</param>
 /// <param name="processid">Shows the ID of the process.</param>
 /// <param name="_createdbyValue">Unique identifier of the user who
 /// created the record.</param>
 /// <param name="timezone">Specifies the timezone for the resource's
 /// working hours.</param>
 /// <param name="statecode">Status of the Bookable Resource</param>
 /// <param name="stageid">Shows the ID of the stage.</param>
 /// <param name="traversedpath">For internal use only.</param>
 /// <param name="_owningteamValue">Unique identifier for the team that
 /// owns the record.</param>
 /// <param name="name">Type the name of the resource.</param>
 /// <param name="exchangerate">Exchange rate for the currency
 /// associated with the bookableresource with respect to the base
 /// currency.</param>
 public MicrosoftDynamicsCRMbookableresource(string _owneridValue = default(string), string _calendaridValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _modifiedonbehalfbyValue = default(string), string _owninguserValue = default(string), string _modifiedbyValue = default(string), int?statuscode = default(int?), int?utcconversiontimezonecode = default(int?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _createdonbehalfbyValue = default(string), int?timezoneruleversionnumber = default(int?), string _accountidValue = default(string), int?resourcetype = default(int?), string _transactioncurrencyidValue = default(string), int?importsequencenumber = default(int?), string _owningbusinessunitValue = default(string), string _useridValue = default(string), string _contactidValue = default(string), string bookableresourceid = default(string), string processid = default(string), string _createdbyValue = default(string), int?timezone = default(int?), int?statecode = default(int?), string stageid = default(string), string traversedpath = default(string), string versionnumber = default(string), string _owningteamValue = default(string), string name = default(string), decimal?exchangerate = default(decimal?), MicrosoftDynamicsCRMsystemuser createdbyname = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfbyname = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedbyname = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfbyname = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), IList <MicrosoftDynamicsCRMduplicaterecord> bookableresourceDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMduplicaterecord> bookableresourceDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMannotation> bookableresourceAnnotations = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMasyncoperation> bookableresourceAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMbulkdeletefailure> bookableresourceBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), MicrosoftDynamicsCRMaccount accountId = default(MicrosoftDynamicsCRMaccount), MicrosoftDynamicsCRMcontact contactId = default(MicrosoftDynamicsCRMcontact), IList <MicrosoftDynamicsCRMbookableresourcebooking> bookableresourceBookableresourcebookingResource = default(IList <MicrosoftDynamicsCRMbookableresourcebooking>), IList <MicrosoftDynamicsCRMbookableresourcecategoryassn> bookableresourceBookableresourcecategoryassnResource = default(IList <MicrosoftDynamicsCRMbookableresourcecategoryassn>), IList <MicrosoftDynamicsCRMbookableresourcecharacteristic> bookableresourceBookableresourcecharacteristicResource = default(IList <MicrosoftDynamicsCRMbookableresourcecharacteristic>), IList <MicrosoftDynamicsCRMbookableresourcegroup> bookableresourceBookableresourcegroupChildResource = default(IList <MicrosoftDynamicsCRMbookableresourcegroup>), IList <MicrosoftDynamicsCRMbookableresourcegroup> bookableresourceBookableresourcegroupParentResource = default(IList <MicrosoftDynamicsCRMbookableresourcegroup>), MicrosoftDynamicsCRMsystemuser userId = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMcalendar calendarid = default(MicrosoftDynamicsCRMcalendar), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMsyncerror> bookableResourceSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>))
 {
     this._owneridValue            = _owneridValue;
     this._calendaridValue         = _calendaridValue;
     Overriddencreatedon           = overriddencreatedon;
     Modifiedon                    = modifiedon;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     this._owninguserValue         = _owninguserValue;
     this._modifiedbyValue         = _modifiedbyValue;
     Statuscode                    = statuscode;
     Utcconversiontimezonecode     = utcconversiontimezonecode;
     Createdon = createdon;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Timezoneruleversionnumber    = timezoneruleversionnumber;
     this._accountidValue         = _accountidValue;
     Resourcetype = resourcetype;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Importsequencenumber             = importsequencenumber;
     this._owningbusinessunitValue    = _owningbusinessunitValue;
     this._useridValue    = _useridValue;
     this._contactidValue = _contactidValue;
     Bookableresourceid   = bookableresourceid;
     Processid            = processid;
     this._createdbyValue = _createdbyValue;
     Timezone             = timezone;
     Statecode            = statecode;
     Stageid               = stageid;
     Traversedpath         = traversedpath;
     Versionnumber         = versionnumber;
     this._owningteamValue = _owningteamValue;
     Name                   = name;
     Exchangerate           = exchangerate;
     Createdbyname          = createdbyname;
     Createdonbehalfbyname  = createdonbehalfbyname;
     Modifiedbyname         = modifiedbyname;
     Modifiedonbehalfbyname = modifiedonbehalfbyname;
     Owninguser             = owninguser;
     Owningteam             = owningteam;
     Ownerid                = ownerid;
     Owningbusinessunit     = owningbusinessunit;
     BookableresourceDuplicateMatchingRecord = bookableresourceDuplicateMatchingRecord;
     BookableresourceDuplicateBaseRecord     = bookableresourceDuplicateBaseRecord;
     BookableresourceAnnotations             = bookableresourceAnnotations;
     BookableresourceAsyncOperations         = bookableresourceAsyncOperations;
     BookableresourceBulkDeleteFailures      = bookableresourceBulkDeleteFailures;
     AccountId = accountId;
     ContactId = contactId;
     BookableresourceBookableresourcebookingResource        = bookableresourceBookableresourcebookingResource;
     BookableresourceBookableresourcecategoryassnResource   = bookableresourceBookableresourcecategoryassnResource;
     BookableresourceBookableresourcecharacteristicResource = bookableresourceBookableresourcecharacteristicResource;
     BookableresourceBookableresourcegroupChildResource     = bookableresourceBookableresourcegroupChildResource;
     BookableresourceBookableresourcegroupParentResource    = bookableresourceBookableresourcegroupParentResource;
     UserId                     = userId;
     Calendarid                 = calendarid;
     Transactioncurrencyid      = transactioncurrencyid;
     BookableResourceSyncErrors = bookableResourceSyncErrors;
     CustomInit();
 }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMequipment
 /// class.
 /// </summary>
 /// <param name="_businessunitidValue">Unique identifier of the
 /// associated business unit.</param>
 /// <param name="timezoneruleversionnumber">For internal use
 /// only.</param>
 /// <param name="_transactioncurrencyidValue">Unique identifier of the
 /// currency associated with the equipment.</param>
 /// <param name="isdisabled">Whether the facility/equipment is disabled
 /// or operational.</param>
 /// <param name="skills">Skills needed to operate the
 /// facility/equipment.</param>
 /// <param name="_siteidValue">Site where the facility/equipment is
 /// located.</param>
 /// <param name="timezonecode">Local time zone where the
 /// facility/equipment is located.</param>
 /// <param name="utcconversiontimezonecode">Time zone code that was in
 /// use when the record was created.</param>
 /// <param name="displayinserviceviews">For internal use only.</param>
 /// <param name="emailaddress">Email address of person to contact about
 /// the use of the facility/equipment.</param>
 /// <param name="createdon">Date and time when the facility/equipment
 /// entry was created.</param>
 /// <param name="description">Description of the
 /// facility/equipment.</param>
 /// <param name="overriddencreatedon">Date and time that the record was
 /// migrated.</param>
 /// <param name="_modifiedonbehalfbyValue">Unique identifier of the
 /// delegate user who last modified the equipment.</param>
 /// <param name="name">Name of the facility/equipment.</param>
 /// <param name="_organizationidValue">Unique identifier of the parent
 /// business unit.</param>
 /// <param name="versionnumber">Version number of the
 /// equipment.</param>
 /// <param name="importsequencenumber">Unique identifier of the data
 /// import or data migration that created this record.</param>
 /// <param name="_modifiedbyValue">Unique identifier of the user who
 /// last modified the facility/equipment.</param>
 /// <param name="_createdbyValue">Unique identifier of the user who
 /// created the facility/equipment entry.</param>
 /// <param name="_createdonbehalfbyValue">Unique identifier of the
 /// delegate user who created the equipment.</param>
 /// <param name="exchangerate">Exchange rate for the currency
 /// associated with the equipment with respect to the base
 /// currency.</param>
 /// <param name="modifiedon">Date and time when the facility/equipment
 /// entry was last modified.</param>
 /// <param name="_calendaridValue">Fiscal calendar associated with the
 /// facility/equipment.</param>
 /// <param name="equipmentid">Unique identifier of the
 /// facility/equipment.</param>
 public MicrosoftDynamicsCRMequipment(string _businessunitidValue = default(string), int?timezoneruleversionnumber = default(int?), string _transactioncurrencyidValue = default(string), bool?isdisabled = default(bool?), string skills = default(string), string _siteidValue = default(string), int?timezonecode = default(int?), int?utcconversiontimezonecode = default(int?), bool?displayinserviceviews = default(bool?), string emailaddress = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string description = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string _modifiedonbehalfbyValue = default(string), string name = default(string), string _organizationidValue = default(string), string versionnumber = default(string), int?importsequencenumber = default(int?), string _modifiedbyValue = default(string), string _createdbyValue = default(string), string _createdonbehalfbyValue = default(string), decimal?exchangerate = default(decimal?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _calendaridValue = default(string), string equipmentid = default(string), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMcalendar calendarid = default(MicrosoftDynamicsCRMcalendar), IList <MicrosoftDynamicsCRMasyncoperation> equipmentAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMduplicaterecord> equipmentDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMduplicaterecord> equipmentDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMaccount> equipmentAccounts = default(IList <MicrosoftDynamicsCRMaccount>), MicrosoftDynamicsCRMbusinessunit businessunitidBusinessunit = default(MicrosoftDynamicsCRMbusinessunit), MicrosoftDynamicsCRMsystemuser businessunitidSystemuser = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMbulkdeletefailure> equipmentBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMconnection> equipmentConnections1 = default(IList <MicrosoftDynamicsCRMconnection>), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization), MicrosoftDynamicsCRMsite siteid = default(MicrosoftDynamicsCRMsite), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMannotation> equipmentAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMresource> equipmentResources = default(IList <MicrosoftDynamicsCRMresource>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMemail> equipmentEmailEmailSender = default(IList <MicrosoftDynamicsCRMemail>), IList <MicrosoftDynamicsCRMcontact> equipmentContacts = default(IList <MicrosoftDynamicsCRMcontact>), IList <MicrosoftDynamicsCRMactivityparty> equipmentActivityParties = default(IList <MicrosoftDynamicsCRMactivityparty>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMconnection> equipmentConnections2 = default(IList <MicrosoftDynamicsCRMconnection>), IList <MicrosoftDynamicsCRMsyncerror> equipmentSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser))
 {
     this._businessunitidValue        = _businessunitidValue;
     Timezoneruleversionnumber        = timezoneruleversionnumber;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Isdisabled                    = isdisabled;
     Skills                        = skills;
     this._siteidValue             = _siteidValue;
     Timezonecode                  = timezonecode;
     Utcconversiontimezonecode     = utcconversiontimezonecode;
     Displayinserviceviews         = displayinserviceviews;
     Emailaddress                  = emailaddress;
     Createdon                     = createdon;
     Description                   = description;
     Overriddencreatedon           = overriddencreatedon;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Name = name;
     this._organizationidValue    = _organizationidValue;
     Versionnumber                = versionnumber;
     Importsequencenumber         = importsequencenumber;
     this._modifiedbyValue        = _modifiedbyValue;
     this._createdbyValue         = _createdbyValue;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Exchangerate                     = exchangerate;
     Modifiedon                       = modifiedon;
     this._calendaridValue            = _calendaridValue;
     Equipmentid                      = equipmentid;
     Modifiedby                       = modifiedby;
     Calendarid                       = calendarid;
     EquipmentAsyncOperations         = equipmentAsyncOperations;
     EquipmentDuplicateBaseRecord     = equipmentDuplicateBaseRecord;
     EquipmentDuplicateMatchingRecord = equipmentDuplicateMatchingRecord;
     EquipmentAccounts                = equipmentAccounts;
     BusinessunitidBusinessunit       = businessunitidBusinessunit;
     BusinessunitidSystemuser         = businessunitidSystemuser;
     EquipmentBulkDeleteFailures      = equipmentBulkDeleteFailures;
     EquipmentConnections1            = equipmentConnections1;
     Organizationid                   = organizationid;
     Siteid = siteid;
     Transactioncurrencyid     = transactioncurrencyid;
     EquipmentAnnotation       = equipmentAnnotation;
     EquipmentResources        = equipmentResources;
     Modifiedonbehalfby        = modifiedonbehalfby;
     EquipmentEmailEmailSender = equipmentEmailEmailSender;
     EquipmentContacts         = equipmentContacts;
     EquipmentActivityParties  = equipmentActivityParties;
     Createdby             = createdby;
     EquipmentConnections2 = equipmentConnections2;
     EquipmentSyncErrors   = equipmentSyncErrors;
     Createdonbehalfby     = createdonbehalfby;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMcalendarrule
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMcalendarrule(System.DateTimeOffset?effectiveintervalend = default(System.DateTimeOffset?), bool?ismodified = default(bool?), int?offset = default(int?), string _createdonbehalfbyValue = default(string), string _serviceidValue = default(string), long?versionnumber = default(long?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string name = default(string), string _createdbyValue = default(string), string groupdesignator = default(string), int?duration = default(int?), int?extentcode = default(int?), string description = default(string), double?effort = default(double?), System.DateTimeOffset?starttime = default(System.DateTimeOffset?), string _modifiedonbehalfbyValue = default(string), int?timecode = default(int?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _calendaridValue = default(string), System.DateTimeOffset?endtime = default(System.DateTimeOffset?), bool?isvaried = default(bool?), string _modifiedbyValue = default(string), string calendarruleid = default(string), int?timezonecode = default(int?), int?subcode = default(int?), string pattern = default(string), string businessunitid = default(string), string _innercalendaridValue = default(string), bool?issimple = default(bool?), System.DateTimeOffset?effectiveintervalstart = default(System.DateTimeOffset?), int?rank = default(int?), bool?isselected = default(bool?), string organizationid = default(string), MicrosoftDynamicsCRMcalendar calendarid = default(MicrosoftDynamicsCRMcalendar), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMcalendar innercalendarid = default(MicrosoftDynamicsCRMcalendar), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMservice serviceid = default(MicrosoftDynamicsCRMservice))
 {
     Effectiveintervalend = effectiveintervalend;
     Ismodified           = ismodified;
     Offset = offset;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     this._serviceidValue         = _serviceidValue;
     Versionnumber                 = versionnumber;
     Createdon                     = createdon;
     Name                          = name;
     this._createdbyValue          = _createdbyValue;
     Groupdesignator               = groupdesignator;
     Duration                      = duration;
     Extentcode                    = extentcode;
     Description                   = description;
     Effort                        = effort;
     Starttime                     = starttime;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Timecode                      = timecode;
     Modifiedon                    = modifiedon;
     this._calendaridValue         = _calendaridValue;
     Endtime                       = endtime;
     Isvaried                      = isvaried;
     this._modifiedbyValue         = _modifiedbyValue;
     Calendarruleid                = calendarruleid;
     Timezonecode                  = timezonecode;
     Subcode                       = subcode;
     Pattern                       = pattern;
     Businessunitid                = businessunitid;
     this._innercalendaridValue    = _innercalendaridValue;
     Issimple                      = issimple;
     Effectiveintervalstart        = effectiveintervalstart;
     Rank                          = rank;
     Isselected                    = isselected;
     Organizationid                = organizationid;
     Calendarid                    = calendarid;
     Modifiedby                    = modifiedby;
     Modifiedonbehalfby            = modifiedonbehalfby;
     Innercalendarid               = innercalendarid;
     Createdby                     = createdby;
     Createdonbehalfby             = createdonbehalfby;
     Serviceid                     = serviceid;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMcalendar
 /// class.
 /// </summary>
 /// <param name="_modifiedbyValue">Unique identifier of the user who
 /// last modified the calendar.</param>
 /// <param name="_modifiedonbehalfbyValue">Unique identifier of the
 /// delegate user who last modified the calendar.</param>
 /// <param name="_businessunitidValue">Unique identifier of the
 /// business unit with which the calendar is associated.</param>
 /// <param name="isshared">Calendar is shared by other calendars, such
 /// as the organization calendar.</param>
 /// <param name="primaryuserid">Unique identifier of the primary user
 /// of this calendar.</param>
 /// <param name="description">Calendar used by the scheduling system to
 /// define when an appointment or activity is to occur.</param>
 /// <param name="createdon">Date and time when the calendar was
 /// created.</param>
 /// <param name="_createdonbehalfbyValue">Unique identifier of the
 /// delegate user who created the calendar.</param>
 /// <param name="modifiedon">Date and time when the calendar was last
 /// modified.</param>
 /// <param name="_holidayschedulecalendaridValue">Holiday Schedule
 /// CalendarId</param>
 /// <param name="type">Calendar type, such as User work hour calendar,
 /// or Customer service hour calendar.</param>
 /// <param name="name">Name of the calendar.</param>
 /// <param name="calendarid">Unique identifier of the calendar.</param>
 /// <param name="_createdbyValue">Unique identifier of the user who
 /// created the calendar.</param>
 /// <param name="_organizationidValue">Unique identifier of the
 /// organization with which the calendar is associated.</param>
 public MicrosoftDynamicsCRMcalendar(string _modifiedbyValue = default(string), string _modifiedonbehalfbyValue = default(string), string _businessunitidValue = default(string), bool?isshared = default(bool?), string primaryuserid = default(string), string description = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _holidayschedulecalendaridValue = default(string), int?type = default(int?), string versionnumber = default(string), string name = default(string), string calendarid = default(string), string _createdbyValue = default(string), string _organizationidValue = default(string), IList <MicrosoftDynamicsCRMcalendarrule> calendarCalendarRules = default(IList <MicrosoftDynamicsCRMcalendarrule>), IList <MicrosoftDynamicsCRMequipment> calendarEquipment = default(IList <MicrosoftDynamicsCRMequipment>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMbulkdeletefailure> calendarBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMsla> slabaseBusinesshoursid = default(IList <MicrosoftDynamicsCRMsla>), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMorganization> calendarOrganization = default(IList <MicrosoftDynamicsCRMorganization>), MicrosoftDynamicsCRMbusinessunit businessunitid = default(MicrosoftDynamicsCRMbusinessunit), IList <MicrosoftDynamicsCRMbusinessunit> businessUnitCalendar = default(IList <MicrosoftDynamicsCRMbusinessunit>), IList <MicrosoftDynamicsCRMannotation> calendarAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), MicrosoftDynamicsCRMcalendar holidayschedulecalendarid = default(MicrosoftDynamicsCRMcalendar), IList <MicrosoftDynamicsCRMcalendar> calendarCustomercalendarHolidaycalendar = default(IList <MicrosoftDynamicsCRMcalendar>), IList <MicrosoftDynamicsCRMbookableresource> calendarBookableresources = default(IList <MicrosoftDynamicsCRMbookableresource>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsystemuser> calendarSystemUsers = default(IList <MicrosoftDynamicsCRMsystemuser>), IList <MicrosoftDynamicsCRMservice> calendarServices = default(IList <MicrosoftDynamicsCRMservice>), IList <MicrosoftDynamicsCRMasyncoperation> calendarAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMcalendarrule> innerCalendarCalendarRules = default(IList <MicrosoftDynamicsCRMcalendarrule>), MicrosoftDynamicsCRMorganization organizationid = default(MicrosoftDynamicsCRMorganization))
 {
     this._modifiedbyValue         = _modifiedbyValue;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     this._businessunitidValue     = _businessunitidValue;
     Isshared      = isshared;
     Primaryuserid = primaryuserid;
     Description   = description;
     Createdon     = createdon;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Modifiedon = modifiedon;
     this._holidayschedulecalendaridValue = _holidayschedulecalendaridValue;
     Type                       = type;
     Versionnumber              = versionnumber;
     Name                       = name;
     Calendarid                 = calendarid;
     this._createdbyValue       = _createdbyValue;
     this._organizationidValue  = _organizationidValue;
     CalendarCalendarRules      = calendarCalendarRules;
     CalendarEquipment          = calendarEquipment;
     Createdonbehalfby          = createdonbehalfby;
     CalendarBulkDeleteFailures = calendarBulkDeleteFailures;
     SlabaseBusinesshoursid     = slabaseBusinesshoursid;
     Modifiedby                 = modifiedby;
     CalendarOrganization       = calendarOrganization;
     Businessunitid             = businessunitid;
     BusinessUnitCalendar       = businessUnitCalendar;
     CalendarAnnotation         = calendarAnnotation;
     Holidayschedulecalendarid  = holidayschedulecalendarid;
     CalendarCustomercalendarHolidaycalendar = calendarCustomercalendarHolidaycalendar;
     CalendarBookableresources = calendarBookableresources;
     Createdby                  = createdby;
     CalendarSystemUsers        = calendarSystemUsers;
     CalendarServices           = calendarServices;
     CalendarAsyncOperations    = calendarAsyncOperations;
     Modifiedonbehalfby         = modifiedonbehalfby;
     InnerCalendarCalendarRules = innerCalendarCalendarRules;
     Organizationid             = organizationid;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMsla class.
 /// </summary>
 public MicrosoftDynamicsCRMsla(bool?isdefault = default(bool?), string _modifiedonbehalfbyValue = default(string), string changedattributelist = default(string), string _businesshoursidValue = default(string), string _owningbusinessunitValue = default(string), System.DateTimeOffset?overwritetime = default(System.DateTimeOffset?), bool?ismanaged = default(bool?), string slaid = default(string), string _transactioncurrencyidValue = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), int?objecttypecode = default(int?), string _modifiedbyValue = default(string), int?slatype = default(int?), long?versionnumber = default(long?), string _createdonbehalfbyValue = default(string), int?applicablefrompicklist = default(int?), int?statecode = default(int?), string _owninguserValue = default(string), string applicablefrom = default(string), string name = default(string), string description = default(string), string _workflowidValue = default(string), string _owningteamValue = default(string), string slaidunique = default(string), string _createdbyValue = default(string), int?statuscode = default(int?), string solutionid = default(string), bool?allowpauseresume = default(bool?), object exchangerate = default(object), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _owneridValue = default(string), int?primaryentityotc = default(int?), int?componentstate = default(int?), MicrosoftDynamicsCRMworkflow workflowid = default(MicrosoftDynamicsCRMworkflow), IList <MicrosoftDynamicsCRMinvoice> manualslaInvoice = default(IList <MicrosoftDynamicsCRMinvoice>), IList <MicrosoftDynamicsCRMaccount> manualslaAccount = default(IList <MicrosoftDynamicsCRMaccount>), IList <MicrosoftDynamicsCRMtask> manualslaTask = default(IList <MicrosoftDynamicsCRMtask>), IList <MicrosoftDynamicsCRMincident> slaCases = default(IList <MicrosoftDynamicsCRMincident>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMcalendar businesshoursid = default(MicrosoftDynamicsCRMcalendar), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMincident> manualslaCases = default(IList <MicrosoftDynamicsCRMincident>), IList <MicrosoftDynamicsCRMemail> manualslaEmail = default(IList <MicrosoftDynamicsCRMemail>), IList <MicrosoftDynamicsCRMannotation> slaAnnotation = default(IList <MicrosoftDynamicsCRMannotation>), IList <MicrosoftDynamicsCRMentitlement> slaEntitlement = default(IList <MicrosoftDynamicsCRMentitlement>), IList <MicrosoftDynamicsCRMsyncerror> sLASyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMphonecall> manualslaPhonecall = default(IList <MicrosoftDynamicsCRMphonecall>), IList <MicrosoftDynamicsCRMsalesorder> manualslaSalesorder = default(IList <MicrosoftDynamicsCRMsalesorder>), IList <MicrosoftDynamicsCRMcontact> slaContact = default(IList <MicrosoftDynamicsCRMcontact>), IList <MicrosoftDynamicsCRMopportunity> slaOpportunity = default(IList <MicrosoftDynamicsCRMopportunity>), IList <MicrosoftDynamicsCRMcontact> manualslaContact = default(IList <MicrosoftDynamicsCRMcontact>), IList <MicrosoftDynamicsCRMquote> slaQuote = default(IList <MicrosoftDynamicsCRMquote>), IList <MicrosoftDynamicsCRMquote> manualslaQuote = default(IList <MicrosoftDynamicsCRMquote>), IList <MicrosoftDynamicsCRMactivitypointer> manualslaActivitypointer = default(IList <MicrosoftDynamicsCRMactivitypointer>), IList <MicrosoftDynamicsCRMopportunity> manualslaOpportunity = default(IList <MicrosoftDynamicsCRMopportunity>), IList <MicrosoftDynamicsCRMtask> slaTask = default(IList <MicrosoftDynamicsCRMtask>), IList <MicrosoftDynamicsCRMfax> manualslaFax = default(IList <MicrosoftDynamicsCRMfax>), IList <MicrosoftDynamicsCRMentitlementtemplate> slaEntitlementtemplate = default(IList <MicrosoftDynamicsCRMentitlementtemplate>), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMletter> slaLetter = default(IList <MicrosoftDynamicsCRMletter>), IList <MicrosoftDynamicsCRMlead> manualslaLead = default(IList <MicrosoftDynamicsCRMlead>), IList <MicrosoftDynamicsCRMemail> slaEmail = default(IList <MicrosoftDynamicsCRMemail>), IList <MicrosoftDynamicsCRMsocialactivity> manualslaSocialactivity = default(IList <MicrosoftDynamicsCRMsocialactivity>), IList <MicrosoftDynamicsCRMfax> slaFax = default(IList <MicrosoftDynamicsCRMfax>), IList <MicrosoftDynamicsCRMaccount> slaAccount = default(IList <MicrosoftDynamicsCRMaccount>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMasyncoperation> slabaseAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), IList <MicrosoftDynamicsCRMappointment> manualslaAppointment = default(IList <MicrosoftDynamicsCRMappointment>), IList <MicrosoftDynamicsCRMphonecall> slaPhonecall = default(IList <MicrosoftDynamicsCRMphonecall>), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsocialactivity> slaSocialactivity = default(IList <MicrosoftDynamicsCRMsocialactivity>), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), IList <MicrosoftDynamicsCRMbulkdeletefailure> slabaseBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMappointment> slaAppointment = default(IList <MicrosoftDynamicsCRMappointment>), IList <MicrosoftDynamicsCRMserviceappointment> manualslaServiceappointment = default(IList <MicrosoftDynamicsCRMserviceappointment>), IList <MicrosoftDynamicsCRMslaitem> slaSlaitemSlaId = default(IList <MicrosoftDynamicsCRMslaitem>), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMlead> slaLead = default(IList <MicrosoftDynamicsCRMlead>), IList <MicrosoftDynamicsCRMactivitypointer> slaActivitypointer = default(IList <MicrosoftDynamicsCRMactivitypointer>), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), IList <MicrosoftDynamicsCRMletter> manualslaLetter = default(IList <MicrosoftDynamicsCRMletter>), IList <MicrosoftDynamicsCRMinvoice> slaInvoice = default(IList <MicrosoftDynamicsCRMinvoice>), IList <MicrosoftDynamicsCRMserviceappointment> slaServiceappointment = default(IList <MicrosoftDynamicsCRMserviceappointment>), IList <MicrosoftDynamicsCRMsalesorder> slaSalesorder = default(IList <MicrosoftDynamicsCRMsalesorder>), IList <MicrosoftDynamicsCRMabsScheduledprocessexecution> absScheduledprocessexecutionSlaSlaid = default(IList <MicrosoftDynamicsCRMabsScheduledprocessexecution>), IList <MicrosoftDynamicsCRMabsScheduledprocessexecution> absScheduledprocessexecutionSlaSlainvokedid = default(IList <MicrosoftDynamicsCRMabsScheduledprocessexecution>), IList <MicrosoftDynamicsCRMbcgovCustomaddress> manualslaBcgovCustomaddress = default(IList <MicrosoftDynamicsCRMbcgovCustomaddress>), IList <MicrosoftDynamicsCRMbcgovCustomaddress> slaBcgovCustomaddress = default(IList <MicrosoftDynamicsCRMbcgovCustomaddress>))
 {
     Isdefault = isdefault;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Changedattributelist          = changedattributelist;
     this._businesshoursidValue    = _businesshoursidValue;
     this._owningbusinessunitValue = _owningbusinessunitValue;
     Overwritetime = overwritetime;
     Ismanaged     = ismanaged;
     Slaid         = slaid;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Modifiedon            = modifiedon;
     Objecttypecode        = objecttypecode;
     this._modifiedbyValue = _modifiedbyValue;
     Slatype       = slatype;
     Versionnumber = versionnumber;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Applicablefrompicklist       = applicablefrompicklist;
     Statecode             = statecode;
     this._owninguserValue = _owninguserValue;
     Applicablefrom        = applicablefrom;
     Name                                        = name;
     Description                                 = description;
     this._workflowidValue                       = _workflowidValue;
     this._owningteamValue                       = _owningteamValue;
     Slaidunique                                 = slaidunique;
     this._createdbyValue                        = _createdbyValue;
     Statuscode                                  = statuscode;
     Solutionid                                  = solutionid;
     Allowpauseresume                            = allowpauseresume;
     Exchangerate                                = exchangerate;
     Createdon                                   = createdon;
     this._owneridValue                          = _owneridValue;
     Primaryentityotc                            = primaryentityotc;
     Componentstate                              = componentstate;
     Workflowid                                  = workflowid;
     ManualslaInvoice                            = manualslaInvoice;
     ManualslaAccount                            = manualslaAccount;
     ManualslaTask                               = manualslaTask;
     SlaCases                                    = slaCases;
     Createdby                                   = createdby;
     Businesshoursid                             = businesshoursid;
     Createdonbehalfby                           = createdonbehalfby;
     ManualslaCases                              = manualslaCases;
     ManualslaEmail                              = manualslaEmail;
     SlaAnnotation                               = slaAnnotation;
     SlaEntitlement                              = slaEntitlement;
     SLASyncErrors                               = sLASyncErrors;
     ManualslaPhonecall                          = manualslaPhonecall;
     ManualslaSalesorder                         = manualslaSalesorder;
     SlaContact                                  = slaContact;
     SlaOpportunity                              = slaOpportunity;
     ManualslaContact                            = manualslaContact;
     SlaQuote                                    = slaQuote;
     ManualslaQuote                              = manualslaQuote;
     ManualslaActivitypointer                    = manualslaActivitypointer;
     ManualslaOpportunity                        = manualslaOpportunity;
     SlaTask                                     = slaTask;
     ManualslaFax                                = manualslaFax;
     SlaEntitlementtemplate                      = slaEntitlementtemplate;
     Modifiedby                                  = modifiedby;
     SlaLetter                                   = slaLetter;
     ManualslaLead                               = manualslaLead;
     SlaEmail                                    = slaEmail;
     ManualslaSocialactivity                     = manualslaSocialactivity;
     SlaFax                                      = slaFax;
     SlaAccount                                  = slaAccount;
     Transactioncurrencyid                       = transactioncurrencyid;
     SlabaseAsyncOperations                      = slabaseAsyncOperations;
     Ownerid                                     = ownerid;
     ManualslaAppointment                        = manualslaAppointment;
     SlaPhonecall                                = slaPhonecall;
     Modifiedonbehalfby                          = modifiedonbehalfby;
     SlaSocialactivity                           = slaSocialactivity;
     Owningteam                                  = owningteam;
     SlabaseBulkDeleteFailures                   = slabaseBulkDeleteFailures;
     SlaAppointment                              = slaAppointment;
     ManualslaServiceappointment                 = manualslaServiceappointment;
     SlaSlaitemSlaId                             = slaSlaitemSlaId;
     Owninguser                                  = owninguser;
     SlaLead                                     = slaLead;
     SlaActivitypointer                          = slaActivitypointer;
     Owningbusinessunit                          = owningbusinessunit;
     ManualslaLetter                             = manualslaLetter;
     SlaInvoice                                  = slaInvoice;
     SlaServiceappointment                       = slaServiceappointment;
     SlaSalesorder                               = slaSalesorder;
     AbsScheduledprocessexecutionSlaSlaid        = absScheduledprocessexecutionSlaSlaid;
     AbsScheduledprocessexecutionSlaSlainvokedid = absScheduledprocessexecutionSlaSlainvokedid;
     ManualslaBcgovCustomaddress                 = manualslaBcgovCustomaddress;
     SlaBcgovCustomaddress                       = slaBcgovCustomaddress;
     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();
 }