/// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMsalesliteratureitem class.
 /// </summary>
 public MicrosoftDynamicsCRMsalesliteratureitem(string filename = default(string), string organizationid = default(string), string _createdonbehalfbyValue = default(string), string documentbody = default(string), object documentbodyBinary = default(object), string abstractProperty = default(string), int?timezoneruleversionnumber = default(int?), string attacheddocumenturl = default(string), long?versionnumber = default(long?), string authorname = default(string), int?filesize = default(int?), string _modifiedonbehalfbyValue = default(string), string salesliteratureitemid = default(string), string _modifiedbyValue = default(string), int?utcconversiontimezonecode = default(int?), string mimetype = default(string), int?importsequencenumber = default(int?), int?filetypecode = default(int?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string keywords = default(string), string title = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string _createdbyValue = default(string), string _salesliteratureidValue = default(string), string mode = default(string), bool?iscustomerviewable = default(bool?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMsyncerror> salesliteratureitemSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> salesLiteratureItemAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> salesliteratureitemMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMprocesssession> salesLiteratureItemProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), IList <MicrosoftDynamicsCRMbulkdeletefailure> salesLiteratureItemBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> salesliteratureitemPrincipalObjectAttributeAccesses = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMsalesliterature salesliteratureid = default(MicrosoftDynamicsCRMsalesliterature))
 {
     Filename       = filename;
     Organizationid = organizationid;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Documentbody              = documentbody;
     DocumentbodyBinary        = documentbodyBinary;
     AbstractProperty          = abstractProperty;
     Timezoneruleversionnumber = timezoneruleversionnumber;
     Attacheddocumenturl       = attacheddocumenturl;
     Versionnumber             = versionnumber;
     Authorname = authorname;
     Filesize   = filesize;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Salesliteratureitemid         = salesliteratureitemid;
     this._modifiedbyValue         = _modifiedbyValue;
     Utcconversiontimezonecode     = utcconversiontimezonecode;
     Mimetype             = mimetype;
     Importsequencenumber = importsequencenumber;
     Filetypecode         = filetypecode;
     Overriddencreatedon  = overriddencreatedon;
     Keywords             = keywords;
     Title                        = title;
     Createdon                    = createdon;
     this._createdbyValue         = _createdbyValue;
     this._salesliteratureidValue = _salesliteratureidValue;
     Mode = mode;
     Iscustomerviewable                                  = iscustomerviewable;
     Modifiedon                                          = modifiedon;
     Createdby                                           = createdby;
     Createdonbehalfby                                   = createdonbehalfby;
     Modifiedby                                          = modifiedby;
     Modifiedonbehalfby                                  = modifiedonbehalfby;
     SalesliteratureitemSyncErrors                       = salesliteratureitemSyncErrors;
     SalesLiteratureItemAsyncOperations                  = salesLiteratureItemAsyncOperations;
     SalesliteratureitemMailboxTrackingFolders           = salesliteratureitemMailboxTrackingFolders;
     SalesLiteratureItemProcessSessions                  = salesLiteratureItemProcessSessions;
     SalesLiteratureItemBulkDeleteFailures               = salesLiteratureItemBulkDeleteFailures;
     SalesliteratureitemPrincipalObjectAttributeAccesses = salesliteratureitemPrincipalObjectAttributeAccesses;
     Salesliteratureid                                   = salesliteratureid;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMsharepointdocumentlocation class.
 /// </summary>
 public MicrosoftDynamicsCRMsharepointdocumentlocation(string description = default(string), string _owneridValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), int?statuscode = default(int?), string _owningbusinessunitValue = default(string), string userid = default(string), string _transactioncurrencyidValue = default(string), int?locationtype = default(int?), string _owninguserValue = default(string), string absoluteurl = default(string), int?importsequencenumber = default(int?), string _createdbyValue = default(string), string name = default(string), string _modifiedonbehalfbyValue = default(string), string _regardingobjectidValue = default(string), string _parentsiteorlocationValue = default(string), long?versionnumber = default(long?), int?timezoneruleversionnumber = default(int?), int?utcconversiontimezonecode = default(int?), int?statecode = default(int?), string _owningteamValue = default(string), object exchangerate = default(object), string sitecollectionid = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string relativeurl = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _modifiedbyValue = default(string), string sharepointdocumentlocationid = default(string), string _createdonbehalfbyValue = default(string), int?servicetype = default(int?), MicrosoftDynamicsCRMknowledgearticle regardingobjectidKnowledgearticle = default(MicrosoftDynamicsCRMknowledgearticle), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), MicrosoftDynamicsCRMlead regardingobjectidLead = default(MicrosoftDynamicsCRMlead), MicrosoftDynamicsCRMproduct regardingobjectidProduct = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMopportunity regardingobjectidOpportunity = default(MicrosoftDynamicsCRMopportunity), MicrosoftDynamicsCRMquote regardingobjectidQuote = default(MicrosoftDynamicsCRMquote), MicrosoftDynamicsCRMsalesliterature regardingobjectidSalesliterature = default(MicrosoftDynamicsCRMsalesliterature), MicrosoftDynamicsCRMcontact regardingobjectidContact = default(MicrosoftDynamicsCRMcontact), MicrosoftDynamicsCRMincident regardingobjectidIncident = default(MicrosoftDynamicsCRMincident), MicrosoftDynamicsCRMaccount regardingobjectidAccount = default(MicrosoftDynamicsCRMaccount), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> sharepointdocumentlocationPrincipalobjectattributeaccess = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMsharepointdocumentlocation parentsiteorlocationSharepointdocumentlocation = default(MicrosoftDynamicsCRMsharepointdocumentlocation), IList <MicrosoftDynamicsCRMsharepointdocumentlocation> sharepointdocumentlocationParentSharepointdocumentlocation = default(IList <MicrosoftDynamicsCRMsharepointdocumentlocation>), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), IList <MicrosoftDynamicsCRMduplicaterecord> sharePointDocumentLocationDuplicateBaseRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsharepointsite parentsiteorlocationSharepointsite = default(MicrosoftDynamicsCRMsharepointsite), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMkbarticle regardingobjectidKbarticle = default(MicrosoftDynamicsCRMkbarticle), IList <MicrosoftDynamicsCRMduplicaterecord> sharePointDocumentLocationDuplicateMatchingRecord = default(IList <MicrosoftDynamicsCRMduplicaterecord>), IList <MicrosoftDynamicsCRMprocesssession> sharePointDocumentLocationProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), IList <MicrosoftDynamicsCRMsyncerror> sharePointDocumentLocationSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> sharePointDocumentLocationAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>))
 {
     Description                   = description;
     this._owneridValue            = _owneridValue;
     Createdon                     = createdon;
     Statuscode                    = statuscode;
     this._owningbusinessunitValue = _owningbusinessunitValue;
     Userid = userid;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Locationtype          = locationtype;
     this._owninguserValue = _owninguserValue;
     Absoluteurl           = absoluteurl;
     Importsequencenumber  = importsequencenumber;
     this._createdbyValue  = _createdbyValue;
     Name = name;
     this._modifiedonbehalfbyValue   = _modifiedonbehalfbyValue;
     this._regardingobjectidValue    = _regardingobjectidValue;
     this._parentsiteorlocationValue = _parentsiteorlocationValue;
     Versionnumber             = versionnumber;
     Timezoneruleversionnumber = timezoneruleversionnumber;
     Utcconversiontimezonecode = utcconversiontimezonecode;
     Statecode                         = statecode;
     this._owningteamValue             = _owningteamValue;
     Exchangerate                      = exchangerate;
     Sitecollectionid                  = sitecollectionid;
     Overriddencreatedon               = overriddencreatedon;
     Relativeurl                       = relativeurl;
     Modifiedon                        = modifiedon;
     this._modifiedbyValue             = _modifiedbyValue;
     Sharepointdocumentlocationid      = sharepointdocumentlocationid;
     this._createdonbehalfbyValue      = _createdonbehalfbyValue;
     Servicetype                       = servicetype;
     RegardingobjectidKnowledgearticle = regardingobjectidKnowledgearticle;
     Owninguser                        = owninguser;
     Owningteam                        = owningteam;
     Ownerid                          = ownerid;
     Owningbusinessunit               = owningbusinessunit;
     RegardingobjectidLead            = regardingobjectidLead;
     RegardingobjectidProduct         = regardingobjectidProduct;
     RegardingobjectidOpportunity     = regardingobjectidOpportunity;
     RegardingobjectidQuote           = regardingobjectidQuote;
     RegardingobjectidSalesliterature = regardingobjectidSalesliterature;
     RegardingobjectidContact         = regardingobjectidContact;
     RegardingobjectidIncident        = regardingobjectidIncident;
     RegardingobjectidAccount         = regardingobjectidAccount;
     SharepointdocumentlocationPrincipalobjectattributeaccess   = sharepointdocumentlocationPrincipalobjectattributeaccess;
     ParentsiteorlocationSharepointdocumentlocation             = parentsiteorlocationSharepointdocumentlocation;
     SharepointdocumentlocationParentSharepointdocumentlocation = sharepointdocumentlocationParentSharepointdocumentlocation;
     Createdonbehalfby = createdonbehalfby;
     Modifiedby        = modifiedby;
     SharePointDocumentLocationDuplicateBaseRecord = sharePointDocumentLocationDuplicateBaseRecord;
     Createdby = createdby;
     ParentsiteorlocationSharepointsite = parentsiteorlocationSharepointsite;
     Modifiedonbehalfby         = modifiedonbehalfby;
     RegardingobjectidKbarticle = regardingobjectidKbarticle;
     SharePointDocumentLocationDuplicateMatchingRecord = sharePointDocumentLocationDuplicateMatchingRecord;
     SharePointDocumentLocationProcessSessions         = sharePointDocumentLocationProcessSessions;
     Transactioncurrencyid = transactioncurrencyid;
     SharePointDocumentLocationSyncErrors      = sharePointDocumentLocationSyncErrors;
     SharePointDocumentLocationAsyncOperations = sharePointDocumentLocationAsyncOperations;
     CustomInit();
 }