/// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMdynamicpropertyinstance class.
 /// </summary>
 public MicrosoftDynamicsCRMdynamicpropertyinstance(string _modifiedbyValue = default(string), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), string dynamicpropertyinstanceid = default(string), string _transactioncurrencyidValue = default(string), object valuedecimal = default(object), string valuestring = default(string), bool?validationstatus = default(bool?), int?importsequencenumber = default(int?), int?dmtimportstate = default(int?), string _owningteamValue = default(string), int?timezoneruleversionnumber = default(int?), string _createdonbehalfbyValue = default(string), string _createdbyValue = default(string), double?valuedouble = default(double?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), long?versionnumber = default(long?), int?valueinteger = default(int?), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string _modifiedonbehalfbyValue = default(string), string _owneridValue = default(string), int?utcconversiontimezonecode = default(int?), string _regardingobjectidValue = default(string), string _dynamicpropertyidValue = default(string), string _owninguserValue = default(string), string _owningbusinessunitValue = default(string), object exchangerate = default(object), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), MicrosoftDynamicsCRMprincipal ownerid = default(MicrosoftDynamicsCRMprincipal), MicrosoftDynamicsCRMbusinessunit owningbusinessunit = default(MicrosoftDynamicsCRMbusinessunit), IList <MicrosoftDynamicsCRMsyncerror> dynamicpropertyinstanceSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> dynamicpropertyinstanceAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> dynamicpropertyinstanceMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMbulkdeletefailure> dynamicpropertyinstanceBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> dynamicpropertyinstancePrincipalObjectAttributeAccesses = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMdynamicproperty dynamicpropertyid = default(MicrosoftDynamicsCRMdynamicproperty), MicrosoftDynamicsCRMinvoicedetail regardingobjectidInvoicedetail = default(MicrosoftDynamicsCRMinvoicedetail), MicrosoftDynamicsCRMopportunityproduct regardingobjectidOpportunityproduct = default(MicrosoftDynamicsCRMopportunityproduct), MicrosoftDynamicsCRMquotedetail regardingobjectidQuotedetail = default(MicrosoftDynamicsCRMquotedetail), MicrosoftDynamicsCRMsalesorderdetail regardingobjectidSalesorderdetail = default(MicrosoftDynamicsCRMsalesorderdetail))
 {
     this._modifiedbyValue            = _modifiedbyValue;
     Createdon                        = createdon;
     Dynamicpropertyinstanceid        = dynamicpropertyinstanceid;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Valuedecimal                     = valuedecimal;
     Valuestring                      = valuestring;
     Validationstatus                 = validationstatus;
     Importsequencenumber             = importsequencenumber;
     Dmtimportstate                   = dmtimportstate;
     this._owningteamValue            = _owningteamValue;
     Timezoneruleversionnumber        = timezoneruleversionnumber;
     this._createdonbehalfbyValue     = _createdonbehalfbyValue;
     this._createdbyValue             = _createdbyValue;
     Valuedouble                      = valuedouble;
     Modifiedon                       = modifiedon;
     Versionnumber                    = versionnumber;
     Valueinteger                     = valueinteger;
     Overriddencreatedon              = overriddencreatedon;
     this._modifiedonbehalfbyValue    = _modifiedonbehalfbyValue;
     this._owneridValue               = _owneridValue;
     Utcconversiontimezonecode        = utcconversiontimezonecode;
     this._regardingobjectidValue     = _regardingobjectidValue;
     this._dynamicpropertyidValue     = _dynamicpropertyidValue;
     this._owninguserValue            = _owninguserValue;
     this._owningbusinessunitValue    = _owningbusinessunitValue;
     Exchangerate                     = exchangerate;
     Createdby                        = createdby;
     Createdonbehalfby                = createdonbehalfby;
     Modifiedby                       = modifiedby;
     Modifiedonbehalfby               = modifiedonbehalfby;
     Owningteam                       = owningteam;
     Ownerid            = ownerid;
     Owningbusinessunit = owningbusinessunit;
     DynamicpropertyinstanceSyncErrors                       = dynamicpropertyinstanceSyncErrors;
     DynamicpropertyinstanceAsyncOperations                  = dynamicpropertyinstanceAsyncOperations;
     DynamicpropertyinstanceMailboxTrackingFolders           = dynamicpropertyinstanceMailboxTrackingFolders;
     DynamicpropertyinstanceBulkDeleteFailures               = dynamicpropertyinstanceBulkDeleteFailures;
     DynamicpropertyinstancePrincipalObjectAttributeAccesses = dynamicpropertyinstancePrincipalObjectAttributeAccesses;
     Transactioncurrencyid               = transactioncurrencyid;
     Owninguser                          = owninguser;
     Dynamicpropertyid                   = dynamicpropertyid;
     RegardingobjectidInvoicedetail      = regardingobjectidInvoicedetail;
     RegardingobjectidOpportunityproduct = regardingobjectidOpportunityproduct;
     RegardingobjectidQuotedetail        = regardingobjectidQuotedetail;
     RegardingobjectidSalesorderdetail   = regardingobjectidSalesorderdetail;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// MicrosoftDynamicsCRMsalesorderdetail class.
 /// </summary>
 public MicrosoftDynamicsCRMsalesorderdetail(string description = default(string), bool?ispriceoverridden = default(bool?), int?importsequencenumber = default(int?), object manualdiscountamountBase = default(object), int?sequencenumber = default(int?), string shiptoAddressid = default(string), int?lineitemnumber = default(int?), string shiptoCountry = default(string), int?shiptoFreighttermscode = default(int?), string productassociationid = default(string), object baseamountBase = default(object), object extendedamount = default(object), object tax = default(object), object quantity = default(object), object taxBase = default(object), int?pricingerrorcode = default(int?), System.DateTimeOffset?requestdeliveryby = default(System.DateTimeOffset?), string _transactioncurrencyidValue = default(string), bool?isproductoverridden = default(bool?), bool?iscopied = default(bool?), object extendedamountBase = default(object), string _createdbyValue = default(string), string _modifiedonbehalfbyValue = default(string), string _quotedetailidValue = default(string), string shiptoLine3 = default(string), int?utcconversiontimezonecode = default(int?), object manualdiscountamount = default(object), string _uomidValue = default(string), string _modifiedbyValue = default(string), int?salesorderstatecode = default(int?), bool?willcall = default(bool?), string _owningteamValue = default(string), string _salesrepidValue = default(string), bool?salesorderispricelocked = default(bool?), object baseamount = default(object), string shiptoStateorprovince = default(string), string shiptoContactname = default(string), string _createdonbehalfbyValue = default(string), int?producttypecode = default(int?), System.DateTimeOffset?modifiedon = default(System.DateTimeOffset?), long?versionnumber = default(long?), string productdescription = default(string), string shiptoLine1 = default(string), string _salesorderidValue = default(string), object volumediscountamountBase = default(object), string salesorderdetailid = default(string), string parentbundleid = default(string), object priceperunitBase = default(object), string _productidValue = default(string), object volumediscountamount = default(object), object exchangerate = default(object), int?timezoneruleversionnumber = default(int?), string shiptoTelephone = default(string), string shiptoFax = default(string), object quantityshipped = default(object), string shiptoName = default(string), int?propertyconfigurationstatus = default(int?), string _owninguserValue = default(string), object quantitybackordered = default(object), System.DateTimeOffset?overriddencreatedon = default(System.DateTimeOffset?), string shiptoLine2 = default(string), string salesorderdetailname = default(string), object quantitycancelled = default(object), string shiptoPostalcode = default(string), string shiptoCity = default(string), string _owneridValue = default(string), string _owningbusinessunitValue = default(string), object priceperunit = default(object), System.DateTimeOffset?createdon = default(System.DateTimeOffset?), MicrosoftDynamicsCRMsystemuser createdby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser createdonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser modifiedonbehalfby = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMsystemuser owninguser = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMteam owningteam = default(MicrosoftDynamicsCRMteam), IList <MicrosoftDynamicsCRMsyncerror> salesOrderDetailSyncErrors = default(IList <MicrosoftDynamicsCRMsyncerror>), IList <MicrosoftDynamicsCRMasyncoperation> salesOrderDetailAsyncOperations = default(IList <MicrosoftDynamicsCRMasyncoperation>), IList <MicrosoftDynamicsCRMmailboxtrackingfolder> salesorderdetailMailboxTrackingFolders = default(IList <MicrosoftDynamicsCRMmailboxtrackingfolder>), IList <MicrosoftDynamicsCRMprocesssession> salesOrderDetailProcessSessions = default(IList <MicrosoftDynamicsCRMprocesssession>), IList <MicrosoftDynamicsCRMbulkdeletefailure> salesOrderDetailBulkDeleteFailures = default(IList <MicrosoftDynamicsCRMbulkdeletefailure>), IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess> salesorderdetailPrincipalobjectattributeaccess = default(IList <MicrosoftDynamicsCRMprincipalobjectattributeaccess>), MicrosoftDynamicsCRMtransactioncurrency transactioncurrencyid = default(MicrosoftDynamicsCRMtransactioncurrency), MicrosoftDynamicsCRMproduct productid = default(MicrosoftDynamicsCRMproduct), MicrosoftDynamicsCRMsalesorder salesorderid = default(MicrosoftDynamicsCRMsalesorder), IList <MicrosoftDynamicsCRMdynamicpropertyinstance> salesOrderDetailDynamicpropertyinstance = default(IList <MicrosoftDynamicsCRMdynamicpropertyinstance>), MicrosoftDynamicsCRMsalesorderdetail parentbundleidSalesorderdetail = default(MicrosoftDynamicsCRMsalesorderdetail), IList <MicrosoftDynamicsCRMsalesorderdetail> salesorderdetailParentSalesorderdetail = default(IList <MicrosoftDynamicsCRMsalesorderdetail>), MicrosoftDynamicsCRMsystemuser salesrepid = default(MicrosoftDynamicsCRMsystemuser), MicrosoftDynamicsCRMuom uomid = default(MicrosoftDynamicsCRMuom), MicrosoftDynamicsCRMproductassociation productassociationidProductassociation = default(MicrosoftDynamicsCRMproductassociation), MicrosoftDynamicsCRMquotedetail quoteDetailId = default(MicrosoftDynamicsCRMquotedetail), IList <MicrosoftDynamicsCRMinvoicedetail> msdynSalesorderdetailInvoicedetail = default(IList <MicrosoftDynamicsCRMinvoicedetail>), MicrosoftDynamicsCRMsalesorderdetail parentbundleidrefSalesorderdetail = default(MicrosoftDynamicsCRMsalesorderdetail), IList <MicrosoftDynamicsCRMsalesorderdetail> salesorderdetailParentrefSalesorderdetail = default(IList <MicrosoftDynamicsCRMsalesorderdetail>))
 {
     Description              = description;
     Ispriceoverridden        = ispriceoverridden;
     Importsequencenumber     = importsequencenumber;
     ManualdiscountamountBase = manualdiscountamountBase;
     Sequencenumber           = sequencenumber;
     ShiptoAddressid          = shiptoAddressid;
     Lineitemnumber           = lineitemnumber;
     ShiptoCountry            = shiptoCountry;
     ShiptoFreighttermscode   = shiptoFreighttermscode;
     Productassociationid     = productassociationid;
     BaseamountBase           = baseamountBase;
     Extendedamount           = extendedamount;
     Tax               = tax;
     Quantity          = quantity;
     TaxBase           = taxBase;
     Pricingerrorcode  = pricingerrorcode;
     Requestdeliveryby = requestdeliveryby;
     this._transactioncurrencyidValue = _transactioncurrencyidValue;
     Isproductoverridden                            = isproductoverridden;
     Iscopied                                       = iscopied;
     ExtendedamountBase                             = extendedamountBase;
     this._createdbyValue                           = _createdbyValue;
     this._modifiedonbehalfbyValue                  = _modifiedonbehalfbyValue;
     this._quotedetailidValue                       = _quotedetailidValue;
     ShiptoLine3                                    = shiptoLine3;
     Utcconversiontimezonecode                      = utcconversiontimezonecode;
     Manualdiscountamount                           = manualdiscountamount;
     this._uomidValue                               = _uomidValue;
     this._modifiedbyValue                          = _modifiedbyValue;
     Salesorderstatecode                            = salesorderstatecode;
     Willcall                                       = willcall;
     this._owningteamValue                          = _owningteamValue;
     this._salesrepidValue                          = _salesrepidValue;
     Salesorderispricelocked                        = salesorderispricelocked;
     Baseamount                                     = baseamount;
     ShiptoStateorprovince                          = shiptoStateorprovince;
     ShiptoContactname                              = shiptoContactname;
     this._createdonbehalfbyValue                   = _createdonbehalfbyValue;
     Producttypecode                                = producttypecode;
     Modifiedon                                     = modifiedon;
     Versionnumber                                  = versionnumber;
     Productdescription                             = productdescription;
     ShiptoLine1                                    = shiptoLine1;
     this._salesorderidValue                        = _salesorderidValue;
     VolumediscountamountBase                       = volumediscountamountBase;
     Salesorderdetailid                             = salesorderdetailid;
     Parentbundleid                                 = parentbundleid;
     PriceperunitBase                               = priceperunitBase;
     this._productidValue                           = _productidValue;
     Volumediscountamount                           = volumediscountamount;
     Exchangerate                                   = exchangerate;
     Timezoneruleversionnumber                      = timezoneruleversionnumber;
     ShiptoTelephone                                = shiptoTelephone;
     ShiptoFax                                      = shiptoFax;
     Quantityshipped                                = quantityshipped;
     ShiptoName                                     = shiptoName;
     Propertyconfigurationstatus                    = propertyconfigurationstatus;
     this._owninguserValue                          = _owninguserValue;
     Quantitybackordered                            = quantitybackordered;
     Overriddencreatedon                            = overriddencreatedon;
     ShiptoLine2                                    = shiptoLine2;
     Salesorderdetailname                           = salesorderdetailname;
     Quantitycancelled                              = quantitycancelled;
     ShiptoPostalcode                               = shiptoPostalcode;
     ShiptoCity                                     = shiptoCity;
     this._owneridValue                             = _owneridValue;
     this._owningbusinessunitValue                  = _owningbusinessunitValue;
     Priceperunit                                   = priceperunit;
     Createdon                                      = createdon;
     Createdby                                      = createdby;
     Createdonbehalfby                              = createdonbehalfby;
     Modifiedby                                     = modifiedby;
     Modifiedonbehalfby                             = modifiedonbehalfby;
     Owninguser                                     = owninguser;
     Owningteam                                     = owningteam;
     SalesOrderDetailSyncErrors                     = salesOrderDetailSyncErrors;
     SalesOrderDetailAsyncOperations                = salesOrderDetailAsyncOperations;
     SalesorderdetailMailboxTrackingFolders         = salesorderdetailMailboxTrackingFolders;
     SalesOrderDetailProcessSessions                = salesOrderDetailProcessSessions;
     SalesOrderDetailBulkDeleteFailures             = salesOrderDetailBulkDeleteFailures;
     SalesorderdetailPrincipalobjectattributeaccess = salesorderdetailPrincipalobjectattributeaccess;
     Transactioncurrencyid                          = transactioncurrencyid;
     Productid                                      = productid;
     Salesorderid                                   = salesorderid;
     SalesOrderDetailDynamicpropertyinstance        = salesOrderDetailDynamicpropertyinstance;
     ParentbundleidSalesorderdetail                 = parentbundleidSalesorderdetail;
     SalesorderdetailParentSalesorderdetail         = salesorderdetailParentSalesorderdetail;
     Salesrepid                                     = salesrepid;
     Uomid = uomid;
     ProductassociationidProductassociation = productassociationidProductassociation;
     QuoteDetailId = quoteDetailId;
     MsdynSalesorderdetailInvoicedetail        = msdynSalesorderdetailInvoicedetail;
     ParentbundleidrefSalesorderdetail         = parentbundleidrefSalesorderdetail;
     SalesorderdetailParentrefSalesorderdetail = salesorderdetailParentrefSalesorderdetail;
     CustomInit();
 }