/// <summary>
 /// Initializes a new instance of the MicrosoftDynamicsCRMappmodule
 /// class.
 /// </summary>
 public MicrosoftDynamicsCRMappmodule(string appmodulexmlmanaged = default(string), string webresourceid = default(string), string uniquename = default(string), int?componentstate = default(int?), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), System.DateTimeOffset?publishedon = default(System.DateTimeOffset?), System.DateTimeOffset?overwritetime = default(System.DateTimeOffset?), string url = default(string), string appmoduleversion = default(string), string appmoduleidunique = default(string), int?clienttype = default(int?), string _modifiedonbehalfbyValue = default(string), bool?isdefault = default(bool?), string _organizationidValue = default(string), long?versionnumber = default(long?), bool?ismanaged = default(bool?), int?formfactor = default(int?), string _modifiedbyValue = default(string), string introducedversion = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string welcomepageid = default(string), string name = default(string), string _createdonbehalfbyValue = default(string), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string solutionid = default(string), bool?isfeatured = default(bool?), string description = default(string), string configxml = default(string), string _publisheridValue = default(string), string appmoduleid = default(string), string _createdbyValue = default(string), int?importsequencenumber = default(int?), IList <MicrosoftDynamicsCRMrole> appmodulerolesAssociation = default(IList <MicrosoftDynamicsCRMrole>), MicrosoftDynamicsCRMsystemuser appmoduleModifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser appmoduleCreatedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMpublisher publisherAppmoduleAppmodule = default(MicrosoftDynamicsCRMpublisher), IList <MicrosoftDynamicsCRMappmodulecomponent> appmoduleAppmodulecomponent = default(IList <MicrosoftDynamicsCRMappmodulecomponent>), MicrosoftDynamicsCRMsystemuser appmoduleModifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser appmoduleCreatedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMorganization organizationAppmoduleAppmodule = default(MicrosoftDynamicsCRMorganization))
 {
     Appmodulexmlmanaged = appmodulexmlmanaged;
     Webresourceid       = webresourceid;
     Uniquename          = uniquename;
     Componentstate      = componentstate;
     Createdon           = createdon;
     Publishedon         = publishedon;
     Overwritetime       = overwritetime;
     Url = url;
     Appmoduleversion              = appmoduleversion;
     Appmoduleidunique             = appmoduleidunique;
     Clienttype                    = clienttype;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Isdefault = isdefault;
     this._organizationidValue = _organizationidValue;
     Versionnumber             = versionnumber;
     Ismanaged             = ismanaged;
     Formfactor            = formfactor;
     this._modifiedbyValue = _modifiedbyValue;
     Introducedversion     = introducedversion;
     Modifiedon            = modifiedon;
     Welcomepageid         = welcomepageid;
     Name = name;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Overriddencreatedon          = overriddencreatedon;
     Solutionid                     = solutionid;
     Isfeatured                     = isfeatured;
     Description                    = description;
     Configxml                      = configxml;
     this._publisheridValue         = _publisheridValue;
     Appmoduleid                    = appmoduleid;
     this._createdbyValue           = _createdbyValue;
     Importsequencenumber           = importsequencenumber;
     AppmodulerolesAssociation      = appmodulerolesAssociation;
     AppmoduleModifiedonbehalfby    = appmoduleModifiedonbehalfby;
     AppmoduleCreatedby             = appmoduleCreatedby;
     PublisherAppmoduleAppmodule    = publisherAppmoduleAppmodule;
     AppmoduleAppmodulecomponent    = appmoduleAppmodulecomponent;
     AppmoduleModifiedby            = appmoduleModifiedby;
     AppmoduleCreatedonbehalfby     = appmoduleCreatedonbehalfby;
     OrganizationAppmoduleAppmodule = organizationAppmoduleAppmodule;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMpublisheraddress class.
 /// </summary>
 public MicrosoftDynamicsCRMpublisheraddress(string postofficebox = default(string), string line3 = default(string), string publisheraddressid = default(string), string telephone1 = default(string), int?importsequencenumber = default(int?), double?latitude = default(double?), string line1 = default(string), double?longitude = default(double?), string primarycontactname = default(string), long?versionnumber = default(long?), int?shippingmethodcode = default(int?), int?utcconversiontimezonecode = default(int?), string country = default(string), int?addresstypecode = default(int?), string _createdonbehalfbyValue = default(string), int?utcoffset = default(int?), string telephone3 = default(string), string name = default(string), string county = default(string), string line2 = default(string), string postalcode = default(string), string _parentidValue = default(string), string stateorprovince = default(string), string _modifiedonbehalfbyValue = default(string), int?freighttermscode = default(int?), int?timezoneruleversionnumber = default(int?), string fax = default(string), string _modifiedbyValue = default(string), string city = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string telephone2 = default(string), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), string _createdbyValue = default(string), string upszone = default(string), int?addressnumber = default(int?), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMpublisher parentid = default(MicrosoftDynamicsCRMpublisher), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser))
 {
     Postofficebox                = postofficebox;
     Line3                        = line3;
     Publisheraddressid           = publisheraddressid;
     Telephone1                   = telephone1;
     Importsequencenumber         = importsequencenumber;
     Latitude                     = latitude;
     Line1                        = line1;
     Longitude                    = longitude;
     Primarycontactname           = primarycontactname;
     Versionnumber                = versionnumber;
     Shippingmethodcode           = shippingmethodcode;
     Utcconversiontimezonecode    = utcconversiontimezonecode;
     Country                      = country;
     Addresstypecode              = addresstypecode;
     this._createdonbehalfbyValue = _createdonbehalfbyValue;
     Utcoffset                    = utcoffset;
     Telephone3                   = telephone3;
     Name                          = name;
     County                        = county;
     Line2                         = line2;
     Postalcode                    = postalcode;
     this._parentidValue           = _parentidValue;
     Stateorprovince               = stateorprovince;
     this._modifiedonbehalfbyValue = _modifiedonbehalfbyValue;
     Freighttermscode              = freighttermscode;
     Timezoneruleversionnumber     = timezoneruleversionnumber;
     Fax = fax;
     this._modifiedbyValue = _modifiedbyValue;
     City                 = city;
     Createdon            = createdon;
     Telephone2           = telephone2;
     Modifiedon           = modifiedon;
     this._createdbyValue = _createdbyValue;
     Upszone              = upszone;
     Addressnumber        = addressnumber;
     Createdby            = createdby;
     Modifiedonbehalfby   = modifiedonbehalfby;
     Parentid             = parentid;
     Createdonbehalfby    = createdonbehalfby;
     Modifiedby           = modifiedby;
     CustomInit();
 }