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