diff --git a/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.Designer.cs b/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.Designer.cs new file mode 100644 index 00000000..50df9ee0 --- /dev/null +++ b/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.Designer.cs @@ -0,0 +1,29 @@ +// +namespace VirtoCommerce.OrderModule.Data.Migrations +{ + using System.CodeDom.Compiler; + using System.Data.Entity.Migrations; + using System.Data.Entity.Migrations.Infrastructure; + using System.Resources; + + [GeneratedCode("EntityFramework.Migrations", "6.1.3-40302")] + public sealed partial class TaxPercentRateConversion : IMigrationMetadata + { + private readonly ResourceManager Resources = new ResourceManager(typeof(TaxPercentRateConversion)); + + string IMigrationMetadata.Id + { + get { return "201703151348151_TaxPercentRateConversion"; } + } + + string IMigrationMetadata.Source + { + get { return null; } + } + + string IMigrationMetadata.Target + { + get { return Resources.GetString("Target"); } + } + } +} diff --git a/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.cs b/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.cs new file mode 100644 index 00000000..ed9e6882 --- /dev/null +++ b/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.cs @@ -0,0 +1,22 @@ +namespace VirtoCommerce.OrderModule.Data.Migrations +{ + using System; + using System.Data.Entity.Migrations; + + public partial class TaxPercentRateConversion : DbMigration + { + public override void Up() + { + AddColumn("dbo.CustomerOrder", "TaxPercentRate", c => c.Decimal(nullable: false, precision: 18, scale: 4)); + AlterColumn("dbo.OrderLineItem ", "TaxPercentRate", c => c.Decimal(nullable: false, precision: 18, scale: 4)); + AlterColumn("dbo.OrderPaymentIn", "TaxPercentRate", c => c.Decimal(nullable: false, precision: 18, scale: 4)); + AlterColumn("dbo.OrderShipment", "TaxPercentRate", c => c.Decimal(nullable: false, precision: 18, scale: 4)); + + } + + public override void Down() + { + DropColumn("dbo.CustomerOrder", "TaxPercentRate"); + } + } +} diff --git a/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.resx b/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.resx new file mode 100644 index 00000000..9da9a2c9 --- /dev/null +++ b/VirtoCommerce.OrderModule.Data/Migrations/201703151348151_TaxPercentRateConversion.resx @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + H4sIAAAAAAAEAO092XIcN5LvG7H/0NFPMxMeNknZDo+CnAmqKdmMEcUekpL3TVGsBpsVrq4q16EVvbFftg/7SfsLi7pxH9VAHVQ9yGYDqEQikUgkEpmJ//uf/z37x9e9v/gC4sQLg/PlydHxcgECN9x6we58maWPf/1p+Y+///u/nb3d7r8uPtXtXuXt4JdBcr58StPo9WqVuE9g7yRHe8+NwyR8TI/ccL9ytuHq9Pj4b6uTkxWAIJYQ1mJxdpsFqbcHxQ/4cx0GLojSzPGvwy3wk6oc1twVUBcfnD1IIscF58tPXpyG63C/B7ELjm7iLYjhR5kPji6d1Dm6BVGYeGkYeyBZLi58z4Eo3gH/cblwgiBMnRQO4PXHBNylcRjs7iJY4Pj3zxGA7R4dPwHVwF63zVXHeHyaj3HVfliDcrMkDfeaAE9eVURbkZ93Iv2yISok61tI/vQ5H3VB2vPlTQTiAnZZs1yQfb5e+3HeXjoBxQweEfC+W4i/+q5hrdOjkx+Ovj86/m6xzvw0i8F5ALI0dvzvFpvswffcf4Ln+/A3EJwHme/DGX5IYK2bni/TOAPoIOEwYVusABZt4hCilj7fgsdq6Ffb5WKFf7ciP2w+Q74pqQHZ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xgoAqrI1/iF3IN95ENgyU1w53wBXXD7mID3YOe4z7D8i1csbh4Q+UTgZD+79Jxd7OyTCkb7PfwJeXi7//r3/wdPkXI4NMoBAA== + + + dbo + + \ No newline at end of file diff --git a/VirtoCommerce.OrderModule.Data/Model/CustomerOrderEntity.cs b/VirtoCommerce.OrderModule.Data/Model/CustomerOrderEntity.cs index 4f2b08c2..03a020c5 100644 --- a/VirtoCommerce.OrderModule.Data/Model/CustomerOrderEntity.cs +++ b/VirtoCommerce.OrderModule.Data/Model/CustomerOrderEntity.cs @@ -84,6 +84,7 @@ public CustomerOrderEntity() public decimal DiscountTotalWithTax { get; set; } [StringLength(16)] public string LanguageCode { get; set; } + public decimal TaxPercentRate { get; set; } [StringLength(128)] public string ShoppingCartId { get; set; } @@ -186,6 +187,7 @@ public override void Patch(OperationEntity operation) target.SubscriptionNumber = this.SubscriptionNumber; target.SubscriptionId = this.SubscriptionId; target.LanguageCode = this.LanguageCode; + target.TaxPercentRate = this.TaxPercentRate; if (!this.Addresses.IsNullCollection()) { diff --git a/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj b/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj index 8d885496..eb02f13c 100644 --- a/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj +++ b/VirtoCommerce.OrderModule.Data/VirtoCommerce.OrderModule.Data.csproj @@ -163,6 +163,10 @@ 201701310900381_PaymentGatewayTransactions.cs + + + 201703151348151_TaxPercentRateConversion.cs + @@ -261,6 +265,9 @@ 201701310900381_PaymentGatewayTransactions.cs + + 201703151348151_TaxPercentRateConversion.cs + ResXFileCodeGenerator OrderResources.Designer.cs