Robert 2 years ago
parent
commit
ce9ebe2f2c
100 changed files with 49 additions and 6667 deletions
  1. 0 29
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907150816214_Init.Designer.cs
  2. 0 32
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907150816214_Init.cs
  3. 0 126
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907150816214_Init.resx
  4. 0 29
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907240911571_Remove_IPFields.Designer.cs
  5. 0 20
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907240911571_Remove_IPFields.cs
  6. 0 126
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907240911571_Remove_IPFields.resx
  7. 0 29
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907250828082_Modified_Length.Designer.cs
  8. 0 20
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907250828082_Modified_Length.cs
  9. 0 126
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907250828082_Modified_Length.resx
  10. 0 29
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907310241245_Add_ChargeBoxId.Designer.cs
  11. 0 20
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907310241245_Add_ChargeBoxId.cs
  12. 0 126
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907310241245_Add_ChargeBoxId.resx
  13. 0 29
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201912160853002_Add_Fields_IsSent.Designer.cs
  14. 0 18
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201912160853002_Add_Fields_IsSent.cs
  15. 0 126
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/201912160853002_Add_Fields_IsSent.resx
  16. 0 29
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/202001160213414_Add_EVSE_Session_EndPoint.Designer.cs
  17. 0 20
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/202001160213414_Add_EVSE_Session_EndPoint.cs
  18. 0 126
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/202001160213414_Add_EVSE_Session_EndPoint.resx
  19. 0 24
      EVCB_OCPP.Domain/ConnectionLogContextMigrations/Configuration.cs
  20. 16 21
      EVCB_OCPP.Domain/ConnectionLogDBContext.cs
  21. 15 452
      EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj
  22. 18 65
      EVCB_OCPP.Domain/MainDBContext.cs
  23. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907180821556_Init.Designer.cs
  24. 0 401
      EVCB_OCPP.Domain/MainDBContextMigrations/201907180821556_Init.cs
  25. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907180821556_Init.resx
  26. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907180913303_Modify_ConnectorStatus_Machine.Designer.cs
  27. 0 22
      EVCB_OCPP.Domain/MainDBContextMigrations/201907180913303_Modify_ConnectorStatus_Machine.cs
  28. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907180913303_Modify_ConnectorStatus_Machine.resx
  29. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907190544543_ModifyFields.Designer.cs
  30. 0 50
      EVCB_OCPP.Domain/MainDBContextMigrations/201907190544543_ModifyFields.cs
  31. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907190544543_ModifyFields.resx
  32. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907220540401_Add_Fields_MachineConfigure.Designer.cs
  33. 0 22
      EVCB_OCPP.Domain/MainDBContextMigrations/201907220540401_Add_Fields_MachineConfigure.cs
  34. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907220540401_Add_Fields_MachineConfigure.resx
  35. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907240912488_Modified_Table.Designer.cs
  36. 0 28
      EVCB_OCPP.Domain/MainDBContextMigrations/201907240912488_Modified_Table.cs
  37. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907240912488_Modified_Table.resx
  38. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260616245_Modified_MachineErrorTable.Designer.cs
  39. 0 24
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260616245_Modified_MachineErrorTable.cs
  40. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260616245_Modified_MachineErrorTable.resx
  41. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260708307_Modified_ServerMessageTable.Designer.cs
  42. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260708307_Modified_ServerMessageTable.cs
  43. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260708307_Modified_ServerMessageTable.resx
  44. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260819022_Modified_ServerMessageTable1.Designer.cs
  45. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260819022_Modified_ServerMessageTable1.cs
  46. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260819022_Modified_ServerMessageTable1.resx
  47. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260914124_Modified_ServerMessageTable2.Designer.cs
  48. 0 20
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260914124_Modified_ServerMessageTable2.cs
  49. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260914124_Modified_ServerMessageTable2.resx
  50. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260915479_Modified_ServerMessageTable3.Designer.cs
  51. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260915479_Modified_ServerMessageTable3.cs
  52. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907260915479_Modified_ServerMessageTable3.resx
  53. 0 31
      EVCB_OCPP.Domain/MainDBContextMigrations/201907310322180_Add_ChargeBoxId.Designer.cs
  54. 0 58
      EVCB_OCPP.Domain/MainDBContextMigrations/201907310322180_Add_ChargeBoxId.cs
  55. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907310322180_Add_ChargeBoxId.resx
  56. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201907310323370_Add_ChargeBoxId1.Designer.cs
  57. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201907310323370_Add_ChargeBoxId1.cs
  58. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201907310323370_Add_ChargeBoxId1.resx
  59. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201908010827563_Add_MachineOperateRecord_RequestContent_Length.Designer.cs
  60. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201908010827563_Add_MachineOperateRecord_RequestContent_Length.cs
  61. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201908010827563_Add_MachineOperateRecord_RequestContent_Length.resx
  62. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020344588_Modified-ServerMessage-InMessageLength.Designer.cs
  63. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020344588_Modified-ServerMessage-InMessageLength.cs
  64. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020344588_Modified-ServerMessage-InMessageLength.resx
  65. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020516275_Modified-ServerMessage-InMessageLengthMAX.Designer.cs
  66. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020516275_Modified-ServerMessage-InMessageLengthMAX.cs
  67. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020516275_Modified-ServerMessage-InMessageLengthMAX.resx
  68. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.Designer.cs
  69. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.cs
  70. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.resx
  71. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.Designer.cs
  72. 0 26
      EVCB_OCPP.Domain/MainDBContextMigrations/201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.cs
  73. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.resx
  74. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201909170249297_Add_Machine_ConnectionType.Designer.cs
  75. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/201909170249297_Add_Machine_ConnectionType.cs
  76. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201909170249297_Add_Machine_ConnectionType.resx
  77. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.Designer.cs
  78. 0 20
      EVCB_OCPP.Domain/MainDBContextMigrations/201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.cs
  79. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.resx
  80. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202001130345443_Add_Column_MachineConfiure_Exists.Designer.cs
  81. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/202001130345443_Add_Column_MachineConfiure_Exists.cs
  82. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202001130345443_Add_Column_MachineConfiure_Exists.resx
  83. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202002180133171_Machine_AddRatedPower_ConnectorType.Designer.cs
  84. 0 20
      EVCB_OCPP.Domain/MainDBContextMigrations/202002180133171_Machine_AddRatedPower_ConnectorType.cs
  85. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202002180133171_Machine_AddRatedPower_ConnectorType.resx
  86. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202002210346267_Add_Action_MachineOperateRecord.Designer.cs
  87. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/202002210346267_Add_Action_MachineOperateRecord.cs
  88. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202002210346267_Add_Action_MachineOperateRecord.resx
  89. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.Designer.cs
  90. 0 69
      EVCB_OCPP.Domain/MainDBContextMigrations/202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.cs
  91. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.resx
  92. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202004170157424_Rename_MachineConfiguration.Designer.cs
  93. 0 18
      EVCB_OCPP.Domain/MainDBContextMigrations/202004170157424_Rename_MachineConfiguration.cs
  94. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202004170157424_Rename_MachineConfiguration.resx
  95. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202004230638409_AddMachine_ConnectorPowerType_Geo.Designer.cs
  96. 0 22
      EVCB_OCPP.Domain/MainDBContextMigrations/202004230638409_AddMachine_ConnectorPowerType_Geo.cs
  97. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202004230638409_AddMachine_ConnectorPowerType_Geo.resx
  98. 0 29
      EVCB_OCPP.Domain/MainDBContextMigrations/202005250837509_Modify_UpdateFirmwareLogic.Designer.cs
  99. 0 171
      EVCB_OCPP.Domain/MainDBContextMigrations/202005250837509_Modify_UpdateFirmwareLogic.cs
  100. 0 120
      EVCB_OCPP.Domain/MainDBContextMigrations/202005250837509_Modify_UpdateFirmwareLogic.resx

+ 0 - 29
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907150816214_Init.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Init : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Init));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907150816214_Init"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 32
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907150816214_Init.cs

@@ -1,32 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Init : DbMigration
-    {
-        public override void Up()
-        {
-            CreateTable(
-                "dbo.MachineConnectionLog",
-                c => new
-                    {
-                        Id = c.Long(nullable: false, identity: true),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        IpPort = c.String(maxLength: 30),
-                        ClientIpPort = c.String(maxLength: 30),
-                        MessageType = c.String(maxLength: 50),
-                        Data = c.String(maxLength: 4000),
-                        Msg = c.String(),
-                        CreatedOn = c.DateTime(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-        }
-        
-        public override void Down()
-        {
-            DropTable("dbo.MachineConnectionLog");
-        }
-    }
-}

+ 0 - 126
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907150816214_Init.resx

@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Target" xml:space="preserve">
-    <value>H4sIAAAAAAAEAM1Yy27jNhTdF+g/CFq1QMZykknRBvIMEjspjMaxMcpkW9DStUKUIlWSCuxv66Kf1F/opfV+WLECd1B4Y5G85z54eXikf/762/28jZj1ClJRwSf2+WhsW8B9EVAeTuxEbz78bH/+9P137l0Qba3nfN2lWYeWXE3sF63ja8dR/gtERI0i6kuhxEaPfBE5JBDOxXj8i3N+7gBC2IhlWe6XhGsawf4BH6eC+xDrhLCFCICpbBxnvD2q9UgiUDHxYWLfPU9vf19OV6vRTESEctu6YZRgHB6wjW0RzoUmGqO8/qrA01Lw0ItxgLCnXQy4bkOYgiz663L5sYmML0wiTmmYQ/mJ0hjRMMDzy6wyTtP8XfW1i8ph7e6wxnpnst7Xb2IviP9COWC1OfjGx4MIbavp+HrKpDFql3qU7s5oRjRZEwWjLsAzq2l2VvQNtpf5nVnThOlEwoRDoiVhZ9YqWTPq/wa7J/EH8AlPGKvmgtngXG0Ah1ZSxCD17gtssgzngW05dTunaViYVWzSfOdc//TRth7ROVkzKFqlUhtPCwm/AgdJNAQrojVIbjBgX+yW94av6QuRIawE5doDiT35mERrkHkA2K547mxrQbYPwEP9MrEvrmzrnm4hyAeymL5yiqcUbbRM4C2383glpO7xcjk+gZcpo1iFb+NrAUqREIyTHldXp3Blur3Hx8fx+CQJqbDHCf49xQZJMF275LknTA2ekIc7er6K5DollbQJBk+/xlMOMvdSZYPZrZmGre7gGeTnjGpUFn89+hTeA91LX2Vo6RXQSUrd+RSRl/eNk144+cXkHLiZ3AWJY9ykyk2VjVheek1NP3jDGTxKMRxfdRB5EW3hCbkIz0Bj1mxAAPdUKp3ztG1Ng6hjWec+HdiD3GnPVjTpudyZ3Nj8TwHaV8sRiGWV7zHxCMlmXwMogjwusD2Q5xNGZMdVMBUsifih66TP+iC5VyEPLjreT86wtUizsQHR1ti6FmJt5njEGidXAWsTx+OlxFsFSkcGRGRItRaJCgfVqCTMWoHK4TaW6zR6tHksnNa5aAiW5pnrY67mksJ7wWANpnIz1nhbaLdoJF1iW1ikVxoYCvF2SkO014Mj70+WNk65YEE43YDSqaazUe1eNNT6/0c5O0oF7B3y+ZuL1DUNqSnym0q090ofLE35K5E+LmmJ09LNcCXaCWr04TDQLuF5IugOndmJfDUYuSorOyFTYTkw3FJF5pg/RGT74+CKNpVigI/69EqxKVT+QwGYshdmshaYVJrBSaVim1hdp/qdw52BomEJ4ZZuS9B8zZxvRL4nWIBqRPmSVqdqgrtEbqSmG+JrnPaxefdvEs+EJUZ04YEO5nyZ6DjRN0pBtGa1V1bX6fe/18P1mN1lbJ7UKVLAMKlptCW/TSgLirjvOxrtAIRpqYwUMSp8k0K4cFcgPQp+JFBWvhnEwA2lPkEUMwRTS+6RV3hPbPi+8wAh8Xf5/XgY5O2NqJfdnVESShKpDKO0N9/uHPPx7tO/2neygu4TAAA=</value>
-  </data>
-  <data name="DefaultSchema" xml:space="preserve">
-    <value>dbo</value>
-  </data>
-</root>

+ 0 - 29
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907240911571_Remove_IPFields.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Remove_IPFields : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Remove_IPFields));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907240911571_Remove_IPFields"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907240911571_Remove_IPFields.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Remove_IPFields : DbMigration
-    {
-        public override void Up()
-        {
-            DropColumn("dbo.MachineConnectionLog", "IpPort");
-            DropColumn("dbo.MachineConnectionLog", "ClientIpPort");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.MachineConnectionLog", "ClientIpPort", c => c.String(maxLength: 30));
-            AddColumn("dbo.MachineConnectionLog", "IpPort", c => c.String(maxLength: 30));
-        }
-    }
-}

+ 0 - 126
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907240911571_Remove_IPFields.resx

@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Target" xml:space="preserve">
-    <value>H4sIAAAAAAAEAM1Y227jNhB9L9B/EPjUAlnLye4WbSDvIpGTItg4NlbZvBa0NFaIUqRKUoH9bX3oJ/UXOrTuFzt24BaFXyySc+bCmaNj//3nX97ndcKdF1CaSTEh56MxcUCEMmIinpDMrN79TD5/+v477yZK1s5Tee69PYeWQk/IszHppevq8BkSqkcJC5XUcmVGoUxcGkn3Yjz+xT0/dwEhCGI5jvc1E4YlsH3AR1+KEFKTUT6TEXBdrONOsEV1HmgCOqUhTMjNk3/929xfLEZTmVAmiHPFGcU4AuAr4lAhpKEGo7z8piEwSoo4SHGB8sdNCnhuRbmGIvrL+vihiYwvbCJubVhChZk2GNFxgOfvi8q4XfM31ZdUlcPa3WCNzcZmva3fhMxo+MwEYLUFhNbHvYyJ03V86XNljfqlHuW3M5pSQ5dUw2gI8Mzpmp1VfYPtZT9njp9xkymYCMiMovzMWWRLzsIvsHmUv4OYiIzzZi6YDe61FnBpoWQKymy+wqrI8C4ijtu2c7uGlVnDJs/3TpifPhDnAZ3TJYeqVRq1CYxU8CsIUNRAtKDGgBIWA7bF7nnv+PKfqYphIZkwASjsyYcsWYIqA8B2xbkjzoyu70HE5nlCLj4S55atISoXipi+CYZTijZGZfCa2xloTWOwTva4+jg+gSvbG3t8fBiPT+FlpuM9TvDrCXz4Cuwdz0XpCVODR2StgQ5pInluPXj9ccRZMTgToEovzdmZXtttWJuBqUQ2KwZTF/G3o8/hAzB7h70OLSfMwREezqeKvGZnN6fnksbdHTzuzWia4iU1eL1YcYKc1P13wfF8l+QYbqgHaK+KtvKEk4sz0Nm1FxDBLVPalKxGHD9KBo4N3tOOOyid7rmKLpnVN1Ma2+85QJ+ID0Csq3yLiSdIUNsaQBXkYYFtgYKQcqoGiNOXPEvELvLdZ72TCpuQOw8d7qfFfU3s1sbheDnBNYHylSMisuTVikTHR1WuJqZWrerlPpbndnqh235ur/86r9Fub+9jiO6RynvFFB1G8IrpfF3+9cY1P0IcLNILi+yoBhttINmqlFHwB/c5w3zrAzMq2Aq0yZUGQQ120dGQ/x8952od8TeIuv9cOi1ZzGyRX9VHe1+dRwsm8UJViEd6kql280Z9NIhsFdJxyE05NAiZC6Ijw63VT4n5Q0LXPx6L01M4ET6a0yuc7gv2XxQuORtgJkuJSeUZnFTi9InKc5u/Zr0paBbXEF7ttgYtz9yJlSzvBAvQjKg80utUQ/GW6JUybEVDg9shNu9WAT9RnlmxgAMS3Yl5ZtLMXGkNyZK3fph47n7/Wx3Xjtmbp/ZJnyIFDJPZRpuL64zxqIr7dqDRdkDYlipIBqPCXwAIF28qpAcpDgQqyjeFFISlqEdIUo5gei4C+gJviQ11+j3ENNyU75vdIK9fRLvs3pTRWNFEFxi1vf2HxrV/0Xz6B4bc1sTUEQAA</value>
-  </data>
-  <data name="DefaultSchema" xml:space="preserve">
-    <value>dbo</value>
-  </data>
-</root>

+ 0 - 29
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907250828082_Modified_Length.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_Length : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_Length));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907250828082_Modified_Length"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907250828082_Modified_Length.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_Length : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.MachineConnectionLog", "Data", c => c.String(maxLength: 3600));
-            AlterColumn("dbo.MachineConnectionLog", "Msg", c => c.String(maxLength: 200));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.MachineConnectionLog", "Msg", c => c.String());
-            AlterColumn("dbo.MachineConnectionLog", "Data", c => c.String(maxLength: 4000));
-        }
-    }
-}

+ 0 - 126
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907250828082_Modified_Length.resx

@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Target" xml:space="preserve">
-    <value>H4sIAAAAAAAEAM1YzW7jNhC+F+g7CDpnTTvpLtpA3kUiJ0XQODZW2VwLWhrLRClSJanAfrY99JH6Ch1av5Zkxw7cosglIme++f808t/f//K+rBPuvILSTIqxOxoMXQdEKCMm4rGbmeWHn90vn3/8wbuLkrXzUspdWTnUFHrsroxJrwnR4QoSqgcJC5XUcmkGoUwIjSS5HA5/IaMRAYRwEctxvK+ZMCyB7QM++lKEkJqM8qmMgOviHG+CLarzRBPQKQ1h7N69+Le/z/z5fDCRCWXCdW44o+hHAHzpOlQIaahBL6+/aQiMkiIOUjyg/HmTAsotKddQeH9dix8byPDSBkJqxRIqzLRBj04DHF0VmSFt9Xfl160yh7m7wxybjY16m7+xO6XhignAbAsIrY1HGbtO2/C1z5VV6qZ6kFdnMKGGLqiGQR/ghdNWu6j6BtvL/l04fsZNpmAsIDOK8gtnni04C3+DzbP8A8RYZJw3Y8Fo8G7nAI/mSqagzOYrLIsIHyLXIbt6pK1YqTV08ngfhPn0k+s8oXG64FC1SiM3gZEKfgUBihqI5tQYUMJiwDbZHestW/6KqhjmkgkTgMKefMqSBajSAWxXnDvXmdL1I4jYrMbu5UfXuWdriMqDwqdvguGUoo5RGbxldgpa0xiskQOmPg7PYMr2xgEbV5+G57Ay1fGhnJ3Fhq/A1ngmSksYGjwja/V0SBPJI/XgdccRZ8XgTIAqrTRnZ3Jrr2FteqYS2awYTF34v+t9Dh+AOTjstWs5YfaOcH88lec1O5OcnksaJ3t43JvSNMUiNXi9OHGCnNT9D8HpfJfkGCTUPbRXeVtZwsnFGWjd2gJEcM+UNiWruY4fJT1ivXXaU4PS6IFStMmsrkypbP/PAbpEfARineV7DDxBgtrmAConj3NsCxSElFPVQ5y+5Fki9pHvIe29VNiE3Ct0vJ0d7mti71wcj5cTXBMoPznBI0teO57o+KTM1cS0k6v6uIvlkVYvtNuPdPqv9Rpt9/YhhmiLVNYrpmgxgldM59vrX2dccxHXwSS9ssiOarDRBpLtljII/uQ+ZxhvLTClgi1Bm3zTwJfF6LK1Q/5/9jmidcTfsdT956vTgsXMJvnN/ejgq/PkhUm8UhWiSGdlqs28cz/qRbYb0mnIzXWoFzJfiE50t95++hNwOmRn2Ynw0Zx/2Wm/a//FHSYnBoxkITGoPIKzbjtdzvJI88PWm4BmcQ3h1WZr0FLmQSxlWRNMQNOjUqTTtIZileiNMmxJQ4PXIfbxdhl+oTyzewPOSvQgZplJM3OjNSQLvvON4pHD9rcr3a7P3iy1T/ocIaCbzDbaTNxmjEeV3/c9jbYHwrZUwTfoFX4MIFy8qZCepDgSqEjfBFIQlq2eIUk5gumZCOgrvMc3XNkfIabhpnz17Ad5uxC7afcmjMaKJrrAqPXtjzXE/lrz+R+RaRzw3xEAAA==</value>
-  </data>
-  <data name="DefaultSchema" xml:space="preserve">
-    <value>dbo</value>
-  </data>
-</root>

+ 0 - 29
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907310241245_Add_ChargeBoxId.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_ChargeBoxId : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_ChargeBoxId));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907310241245_Add_ChargeBoxId"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907310241245_Add_ChargeBoxId.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_ChargeBoxId : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineConnectionLog", "ChargeBoxId", c => c.String(maxLength: 128));
-            DropColumn("dbo.MachineConnectionLog", "ChargePointSerialNumber");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.MachineConnectionLog", "ChargePointSerialNumber", c => c.String(maxLength: 25));
-            DropColumn("dbo.MachineConnectionLog", "ChargeBoxId");
-        }
-    }
-}

+ 0 - 126
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201907310241245_Add_ChargeBoxId.resx

@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Target" xml:space="preserve">
-    <value>H4sIAAAAAAAEAM1Y227jNhB9L9B/EPScNR2nXWwDeReJnBRB49hYZfNa0NJYIUqRKkkF9rftQz+pv9Chdb/EsQO3KPxikZwzF84cHfvv7395XzYJd15AaSbF1D0fjV0HRCgjJuKpm5n1h0/ul88//uDdRMnGeSrPXdhzaCn01H02Jr0kRIfPkFA9SliopJZrMwplQmgkyWQ8/oWcnxNACBexHMf7mgnDEtg94KMvRQipySifywi4LtZxJ9ihOg80AZ3SEKbuzZN//fvCXy5HM5lQJlznijOKcQTA165DhZCGGozy8puGwCgp4iDFBcoftynguTXlGoroL+vjhyYynthESG1YQoWZNhjRcYDnF0VlSNf8XfV1q8ph7W6wxmZrs97Vb+rOafjMBGC1BYTWx72MXafr+NLnyhr1Sz3Kb2c0o4auqIbREOCZ0zU7q/oG28t+zhw/4yZTMBWQGUX5mbPMVpyFv8H2Uf4BYioyzpu5YDa411rApaWSKSiz/QrrIsO7yHVI2450DSuzhk2e750wH39ynQd0TlccqlZp1CYwUsGvIEBRA9GSGgNKWAzYFbvnvePLf6Yqhmu5qZ1ii+Ksuc6cbu5BxOYZp3DyyXVu2QaicqUI5JtgOJpoZFQGb/mag9Y0Butlj6+fxydwZRtij4+Lj+NTeJnreI+TyUl8+ArsxS5E6QlTg0ekqoG2aCJ5pJ62/gzigBgcBFCll+bAzK7tNmzMwCgihRXTqIv429Hn8AGYvRNeh5az5ODcDudTRV5TMsk5ueRu8gp5e3OapnhJDTIvVpwgZ3L/Q3A8ySU5Bgn1ANdV0VaecFxxBjq79gIiuGVKm5LKXMePkoFjg/f0yh2UTvdcRZfB6pspje33HKDPvgcg1lW+xcQTZKVdDaAK8rDAdkBBSDlVA2zpS54l4jXG3Wfd4r8mTGvjcLwWxzXxWhuH4+VE1gTKV46IyJJUKxIdH1WhmoBa9amX+1ge6dx5t81Ir88678huD+9jgu6RynvFCJ3J94opfFvb9cYyP+I6WKQXFtmRDLbaQLKTIKPgT+5zhvnWB+ZUsDVok8sIfCmcTzoC8f8j1ojWEX+HYvvPddGKxcwW+U3xs/cVeZAaEi9Uhbjc10M19jvFzyC0lT/HITe1ziBkrnaODLeWNoOYk+Mhe0omwkdzeiXTfZH+iwIlZwPMZCUxqTyDk0qZPlF5pPlT1ZuBZnEN4dVua9DyzJ1Yy/JOsADNiMojvaY1FG+JXinD1jQ0uB1iH++U7hPlmRUFyQqiO7HITJqZK60hWfHWrw6P7Pe/02vtmL1Fap/0KVLAMJlttIW4zhiPqrhvBxrtFQjbUgXJYFSo9BEu3lZID1IcCFSUbwYpCEtRj5CkHMH0QgT0Bd4TG+rxe4hpuC3fN6+DvH0R7bJ7M0ZjRRNdYNT29u8XYv9/+fwP/ChCkbERAAA=</value>
-  </data>
-  <data name="DefaultSchema" xml:space="preserve">
-    <value>dbo</value>
-  </data>
-</root>

+ 0 - 29
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201912160853002_Add_Fields_IsSent.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_Fields_IsSent : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_Fields_IsSent));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201912160853002_Add_Fields_IsSent"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201912160853002_Add_Fields_IsSent.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_Fields_IsSent : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineConnectionLog", "IsSent", c => c.Boolean(nullable: false));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.MachineConnectionLog", "IsSent");
-        }
-    }
-}

+ 0 - 126
EVCB_OCPP.Domain/ConnectionLogContextMigrations/201912160853002_Add_Fields_IsSent.resx

@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Target" xml:space="preserve">
-    <value>H4sIAAAAAAAEAM1Yy27jNhTdF+g/CFpnLNtpB9NAnkEsJ4XRODZGmWwLWrqWiVKkKlKB/W1d9JP6C73U++VX6haFNxbJe+778Ep//fGn/WUXMuMNYkkFn5ijwdA0gHvCpzyYmInafPhkfvn8/Xf2gx/ujNfi3K0+h5JcTsytUtGdZUlvCyGRg5B6sZBiowaeCC3iC2s8HP5kjUYWIISJWIZhf024oiGkD/joCO5BpBLCFsIHJvN13HFTVOOZhCAj4sHEfHh1pr8undVqMBMhodw07hklaIcLbGMahHOhiEIr775JcFUseOBGuEDYyz4CPLchTEJu/V11/FxHhmPtiFUJFlBeIhVadBng6DaPjNUWf1d8zTJyGLsHjLHaa6/T+E3MBfG2lANGm4OndTyJwDTaiu8cFmuhbqgHWXYGM6LImkgY9AHeGG2xm7JusLz078ZwEqaSGCYcEhUTdmOskjWj3i+wfxG/AZ/whLG6L+gN7jUWcGkViwhitf8Km9zDuW8aVlPOaguWYjWZzN85Vx9/MI1nVE7WDMpSqcXGVSKGn4FDTBT4K6IUxFxjQBrsjvaWLmdL4gCmYlcpxRLFXjONBdk9AQ/UFrtw/Mk0HukO/GIlN+Qbp9iaKKTiBE7pWoCUJACt5YiuH4dXUKUL4oiO24/Da2hZyOCIkvFVdDgx6MQueaEJXYMXpKqesjiONJcu1kQBMxWCAeEnUGyr6tluJ2ObKWwniAtb6203m+pt2KmehkYizHta5lFoWp7Bu6CO8kRlWsa1vd3f709peUXsVsbsxQ1gHbgC7AWJIkx17UrIVww3uw+cD+7lVBlmGJYnexiztLbUhE2PndTa1Qnw4ZHGUhWEaBqOH/Yc683TgRwUSo+kos2DVWYKYf0/A+hy+BmIVZQf0fEQ6ziNAZRGnmdYCuR6hJG4h3MdwZKQH+LtY9INFq3DNDbOx2swZR2vsXE+XkaHdaBs5QKLNNU1LJHBRRGqaKwRn2r5fKyCyBr5yte6KLbVqpx2sVqdam3d1+1OOMYn7SOl9pJXWvxh5718es7sNHd2xDQwPG/U143t7qWCMB2HBu7vzGE0DUpxYEE43YBU2UiDF9Ro3BpW/z+DoyWlz94xPf7nM9qaBlQH+eQgduF13TOZ8TcSe7jcnc0q7HcOYr3QehS7DLk+d/VCZpPXheZWY1Yv5vhyyM5U5eOj+udT1ZqqK09U7Qv9XxyUMj7BWKwF+pN5cNWRqkt1tlV/8bZnIGlQQdiV2gq0ODPnG1HkAgNQt6g40il7RTDP5D5WdEM8hdsedkI6t78SlujhJFyDP+fLREWJupcSwjVrvEPZ1nH96dzYtNleRvpJXsMFNJPqUl3yaUKZX9r92FNoByB0SeU0hVbhewvCBfsS6VnwM4Hy8M0gAq5J7gXCiCGYXHKXvMF7bMP3gicIiLcvbqzDIKcT0Qy7PaMkiEkoc4xKXn9MsvTXpM9/AxKzJ/V/EgAA</value>
-  </data>
-  <data name="DefaultSchema" xml:space="preserve">
-    <value>dbo</value>
-  </data>
-</root>

+ 0 - 29
EVCB_OCPP.Domain/ConnectionLogContextMigrations/202001160213414_Add_EVSE_Session_EndPoint.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_EVSE_Session_EndPoint : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_EVSE_Session_EndPoint));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202001160213414_Add_EVSE_Session_EndPoint"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/ConnectionLogContextMigrations/202001160213414_Add_EVSE_Session_EndPoint.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_EVSE_Session_EndPoint : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineConnectionLog", "EVSEEndPoint", c => c.String(maxLength: 25));
-            AddColumn("dbo.MachineConnectionLog", "Session", c => c.String(maxLength: 36));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.MachineConnectionLog", "Session");
-            DropColumn("dbo.MachineConnectionLog", "EVSEEndPoint");
-        }
-    }
-}

+ 0 - 126
EVCB_OCPP.Domain/ConnectionLogContextMigrations/202001160213414_Add_EVSE_Session_EndPoint.resx

@@ -1,126 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<root>
-  <!-- 
-    Microsoft ResX Schema 
-    
-    Version 2.0
-    
-    The primary goals of this format is to allow a simple XML format 
-    that is mostly human readable. The generation and parsing of the 
-    various data types are done through the TypeConverter classes 
-    associated with the data types.
-    
-    Example:
-    
-    ... ado.net/XML headers & schema ...
-    <resheader name="resmimetype">text/microsoft-resx</resheader>
-    <resheader name="version">2.0</resheader>
-    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
-    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
-    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
-    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
-    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
-        <value>[base64 mime encoded serialized .NET Framework object]</value>
-    </data>
-    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
-        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
-        <comment>This is a comment</comment>
-    </data>
-                
-    There are any number of "resheader" rows that contain simple 
-    name/value pairs.
-    
-    Each data row contains a name, and value. The row also contains a 
-    type or mimetype. Type corresponds to a .NET class that support 
-    text/value conversion through the TypeConverter architecture. 
-    Classes that don't support this are serialized and stored with the 
-    mimetype set.
-    
-    The mimetype is used for serialized objects, and tells the 
-    ResXResourceReader how to depersist the object. This is currently not 
-    extensible. For a given mimetype the value must be set accordingly:
-    
-    Note - application/x-microsoft.net.object.binary.base64 is the format 
-    that the ResXResourceWriter will generate, however the reader can 
-    read any of the formats listed below.
-    
-    mimetype: application/x-microsoft.net.object.binary.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
-            : and then encoded with base64 encoding.
-    
-    mimetype: application/x-microsoft.net.object.soap.base64
-    value   : The object must be serialized with 
-            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
-            : and then encoded with base64 encoding.
-
-    mimetype: application/x-microsoft.net.object.bytearray.base64
-    value   : The object must be serialized into a byte array 
-            : using a System.ComponentModel.TypeConverter
-            : and then encoded with base64 encoding.
-    -->
-  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
-    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
-    <xsd:element name="root" msdata:IsDataSet="true">
-      <xsd:complexType>
-        <xsd:choice maxOccurs="unbounded">
-          <xsd:element name="metadata">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" />
-              </xsd:sequence>
-              <xsd:attribute name="name" use="required" type="xsd:string" />
-              <xsd:attribute name="type" type="xsd:string" />
-              <xsd:attribute name="mimetype" type="xsd:string" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="assembly">
-            <xsd:complexType>
-              <xsd:attribute name="alias" type="xsd:string" />
-              <xsd:attribute name="name" type="xsd:string" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="data">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
-              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
-              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
-              <xsd:attribute ref="xml:space" />
-            </xsd:complexType>
-          </xsd:element>
-          <xsd:element name="resheader">
-            <xsd:complexType>
-              <xsd:sequence>
-                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
-              </xsd:sequence>
-              <xsd:attribute name="name" type="xsd:string" use="required" />
-            </xsd:complexType>
-          </xsd:element>
-        </xsd:choice>
-      </xsd:complexType>
-    </xsd:element>
-  </xsd:schema>
-  <resheader name="resmimetype">
-    <value>text/microsoft-resx</value>
-  </resheader>
-  <resheader name="version">
-    <value>2.0</value>
-  </resheader>
-  <resheader name="reader">
-    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <resheader name="writer">
-    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
-  </resheader>
-  <data name="Target" xml:space="preserve">
-    <value>H4sIAAAAAAAEAM1YzW7jNhC+F+g7CDpnLdtpFttA3kUiO0XQODZW2VwLWhorRClSFanAfrY99JH6Ch3qX7KsWKlb9GaRnG9++c3Qf33/0/6yC5nxCrGkgs/MyWhsGsA94VMezMxEbT98Mr98/vEHe+GHO+O5OHepz6EklzPzRano2rKk9wIhkaOQerGQYqtGnggt4gtrOh7/bE0mFiCEiViGYX9NuKIhpB/46QjuQaQSwpbCBybzddxxU1TjkYQgI+LBzFw8O7e/rZz1ejQXIaHcNG4YJWiHC2xrGoRzoYhCK6+/SXBVLHjgRrhA2NM+Ajy3JUxCbv11dfxUR8ZT7YhVCRZQXiIVWjQMcHKZR8Zqi78rvmYZOYzdAmOs9trrNH4zc0m8F8oBo83B0zoeRGAabcXXDou10GGoR1l2RnOiyIZIGHUBXhhtsYuybsYjLLDR+MJwEqaSGGYcEhUTdmGskw2j3q+wfxK/A5/xhLG6L+gN7jUWcGkdiwhitf8K29zDe980rKac1RYsxWoymb/3XH38yTQeUTnZMChLpRYbV4kYfgEOMVHgr4lSEHONAWmwD7S3dDkvJA7gVuwqpViieNdMY0l2D8AD9YK3cPrJNO7oDvxiJTfkG6d4NVFIxQm8pWsJUpIAtJYeXVfjM6jSBdGj4/Lj+BxaljLoUTI9iw4nBp3YFS80oWvwhFTVURb9SPfSxZooYG6FYED4YJTFs7tYcH8taIXV5fzVGXx3sWBS4ulJ5GA1tlXR0CE5IXMoZAiIi/DXmWR+q7dhpzo4Crk9pymZa226lsG7oHqprzItax+dhNbtT2l51ausrFkVTc060tXsJYkijGyty+Urhpu1OOeDO5z9wwzD8mRHEyitLTUhjyE5tHZ1Any4o7FUBcebhuOHHcc683QkB4XSnlS0qb3KTCGsfxd3ot2WTkCsonyHjod4NdMYQGnkaYalQK5HGIk72ogjWBLyY62oT7rRGOowjY3T8RrkX8drbJyOlzF8HShbGWCRZu+GJTIYFKGKmRvxqZZPxyq4uZGvfO10lCY317GaO6cjlgxcBysXD3Fsq1XT7WtkHdyj1nDUvqN9TNc+UmovGa/FbHbOMm8P9Qe0kx0xDQzQK/U15bh7qSBMZ8+R+wdzGE3TVRxYEk63IFU2P+I0MJm2Xgb/nyndktJn7xjV//OBeEODtILfnHoHTjUdYzB/JbGHy4eDcIX9zqm3E1rPvcOQ60NuJ2Q25g40t5ppOzGnwyEPRlgfP9U/H2E3VJ1lfO3282qom61p9UhG+lGHDqft2ehfnDkzAsTkbQS6mDlw1un0kJttq/63jD0HSYMKwq7UVqDFmXu+FUV+MAB1i4ojB/dUESxMchMruiWewm1PZ1S/OJ4JS3TxhBvw7/kqUVGibqSEcMMaL2zb6tefjuBNm+1VpL/kOVxAM6m+Wyt+m1Dml3bfHd6MYxC6pHJeRavwxYVwwb5EehT8RKA8fHOIgGtWfoIwYggmV9wlr/Ae2/CJ9QAB8fZFiz0O8nYimmG355QEMQlljlHJ678aLf1f4+e/AYy708WdFAAA</value>
-  </data>
-  <data name="DefaultSchema" xml:space="preserve">
-    <value>dbo</value>
-  </data>
-</root>

+ 0 - 24
EVCB_OCPP.Domain/ConnectionLogContextMigrations/Configuration.cs

@@ -1,24 +0,0 @@
-namespace EVCB_OCPP.Domain.ConnectionLogContextMigrations
-{
-    using System;
-    using System.Data.Entity;
-    using System.Data.Entity.Migrations;
-    using System.Linq;
-
-    internal sealed class ConnectionLogConfiguration : DbMigrationsConfiguration<EVCB_OCPP.Domain.ConnectionLogDBContext>
-    {
-        public ConnectionLogConfiguration()
-        {
-            AutomaticMigrationsEnabled = false;
-            MigrationsDirectory = @"ConnectionLogContextMigrations";
-        }
-
-        protected override void Seed(EVCB_OCPP.Domain.ConnectionLogDBContext context)
-        {
-            //  This method will be called after migrating to the latest version.
-
-            //  You can use the DbSet<T>.AddOrUpdate() helper extension method 
-            //  to avoid creating duplicate seed data.
-        }
-    }
-}

+ 16 - 21
EVCB_OCPP.Domain/ConnectionLogDBContext.cs

@@ -1,9 +1,8 @@
 namespace EVCB_OCPP.Domain
 {
     using EVCB_OCPP.Domain.Models.Database;
+    using Microsoft.EntityFrameworkCore;
     using System;
-    using System.Data.Entity;
-    using System.Data.Entity.Migrations;
     using System.Linq;
 
     public class ConnectionLogDBContext : DbContext
@@ -14,35 +13,31 @@
         // 
         // 如果您的目標是其他資料庫和 (或) 提供者,請修改
         // 應用程式組態檔中的 'ConnectionLogDBContext' 連接字串。
-        public ConnectionLogDBContext()
-            : base("name=ConnectionLogDBContext")
+        public ConnectionLogDBContext(): base()
         {
-           
-            Database.SetInitializer<ConnectionLogDBContext>(null);
-            this.Configuration.AutoDetectChangesEnabled = false;
-            this.Configuration.ValidateOnSaveEnabled = false;
-            this.Configuration.AutoDetectChangesEnabled = false;
-            this.Configuration.LazyLoadingEnabled = false;
-            this.Database.CommandTimeout = 180;
+            //Database.SetInitializer<ConnectionLogDBContext>(null);
+            //this.Configuration.AutoDetectChangesEnabled = false;
+            //this.Configuration.ValidateOnSaveEnabled = false;
+            //this.Configuration.AutoDetectChangesEnabled = false;
+            //this.Configuration.LazyLoadingEnabled = false;
+            //this.Database.CommandTimeout = 180;
         }
 
-        /// <summary>
-        /// DB coneection set
-        /// </summary>
-        public ConnectionLogDBContext(string conn)
+        public ConnectionLogDBContext(DbContextOptions options) : base(options)
         {
-            this.Database.Connection.ConnectionString = conn;
-            this.Configuration.AutoDetectChangesEnabled = false;
-            this.Configuration.ValidateOnSaveEnabled = false;
-            this.Configuration.AutoDetectChangesEnabled = false;
-            this.Configuration.LazyLoadingEnabled = false;
-            this.Database.CommandTimeout = 180;
+
         }
 
         // 針對您要包含在模型中的每種實體類型新增 DbSet。如需有關設定和使用
         // Code First 模型的詳細資訊,請參閱 http://go.microsoft.com/fwlink/?LinkId=390109。
 
         public virtual DbSet<MachineConnectionLog> MachineConnectionLog { get; set; }
+
+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
+        {
+            //optionsBuilder.UseSqlServer("data source=172.1.2.187;initial catalog=StandardOCPP_ConnectionLog;persist security info=True;user id=sa;password=Ph0930118811;MultipleActiveResultSets=True;App=EntityFramework");
+            base.OnConfiguring(optionsBuilder);
+        }
     }
 
     //public class MyEntity

+ 15 - 452
EVCB_OCPP.Domain/EVCB_OCPP.Domain.csproj

@@ -1,470 +1,33 @@
-<?xml version="1.0" encoding="utf-8"?>
-<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-  <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
+<Project Sdk="Microsoft.NET.Sdk">
   <PropertyGroup>
-    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
-    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{FAFB8754-9A6E-4931-88EC-376F0326D315}</ProjectGuid>
+    <TargetFramework>net7.0</TargetFramework>
     <OutputType>Library</OutputType>
-    <AppDesignerFolder>Properties</AppDesignerFolder>
-    <RootNamespace>EVCB_OCPP.Domain</RootNamespace>
-    <AssemblyName>EVCB_OCPP.Domain</AssemblyName>
-    <TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
-    <FileAlignment>512</FileAlignment>
-    <Deterministic>true</Deterministic>
+    <GenerateAssemblyInfo>false</GenerateAssemblyInfo>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
-    <DebugSymbols>true</DebugSymbols>
-    <DebugType>full</DebugType>
-    <Optimize>false</Optimize>
     <OutputPath>..\bin\Debug\</OutputPath>
-    <DefineConstants>DEBUG;TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
-    <DebugType>pdbonly</DebugType>
-    <Optimize>true</Optimize>
     <OutputPath>..\bin\Release\</OutputPath>
-    <DefineConstants>TRACE</DefineConstants>
-    <ErrorReport>prompt</ErrorReport>
-    <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
-      <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.dll</HintPath>
-    </Reference>
-    <Reference Include="EntityFramework.SqlServer, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, processorArchitecture=MSIL">
-      <HintPath>..\packages\EntityFramework.6.2.0\lib\net45\EntityFramework.SqlServer.dll</HintPath>
-    </Reference>
-    <Reference Include="System" />
-    <Reference Include="System.ComponentModel.DataAnnotations" />
-    <Reference Include="System.Core" />
-    <Reference Include="System.Runtime.Serialization" />
-    <Reference Include="System.Security" />
-    <Reference Include="System.Xml.Linq" />
-    <Reference Include="System.Data.DataSetExtensions" />
-    <Reference Include="Microsoft.CSharp" />
-    <Reference Include="System.Data" />
-    <Reference Include="System.Net.Http" />
-    <Reference Include="System.Xml" />
+    <PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore" Version="7.0.0" />
+    <PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="7.0.0" />
+    <PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
+    <PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" />
+    <PackageReference Include="Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers" Version="0.4.355802">
+      <PrivateAssets>all</PrivateAssets>
+    </PackageReference>
   </ItemGroup>
   <ItemGroup>
-    <Compile Include="ConnectionLogContextMigrations\201907150816214_Init.cs" />
-    <Compile Include="ConnectionLogContextMigrations\201907150816214_Init.Designer.cs">
-      <DependentUpon>201907150816214_Init.cs</DependentUpon>
-    </Compile>
-    <Compile Include="ConnectionLogContextMigrations\201907240911571_Remove_IPFields.cs" />
-    <Compile Include="ConnectionLogContextMigrations\201907240911571_Remove_IPFields.Designer.cs">
-      <DependentUpon>201907240911571_Remove_IPFields.cs</DependentUpon>
-    </Compile>
-    <Compile Include="ConnectionLogContextMigrations\201907250828082_Modified_Length.cs" />
-    <Compile Include="ConnectionLogContextMigrations\201907250828082_Modified_Length.Designer.cs">
-      <DependentUpon>201907250828082_Modified_Length.cs</DependentUpon>
-    </Compile>
-    <Compile Include="ConnectionLogContextMigrations\201907310241245_Add_ChargeBoxId.cs" />
-    <Compile Include="ConnectionLogContextMigrations\201907310241245_Add_ChargeBoxId.Designer.cs">
-      <DependentUpon>201907310241245_Add_ChargeBoxId.cs</DependentUpon>
-    </Compile>
-    <Compile Include="ConnectionLogContextMigrations\201912160853002_Add_Fields_IsSent.cs" />
-    <Compile Include="ConnectionLogContextMigrations\201912160853002_Add_Fields_IsSent.Designer.cs">
-      <DependentUpon>201912160853002_Add_Fields_IsSent.cs</DependentUpon>
-    </Compile>
-    <Compile Include="ConnectionLogContextMigrations\202001160213414_Add_EVSE_Session_EndPoint.cs" />
-    <Compile Include="ConnectionLogContextMigrations\202001160213414_Add_EVSE_Session_EndPoint.Designer.cs">
-      <DependentUpon>202001160213414_Add_EVSE_Session_EndPoint.cs</DependentUpon>
-    </Compile>
-    <Compile Include="ConnectionLogContextMigrations\Configuration.cs" />
-    <Compile Include="ConnectionLogDBContext.cs" />
-    <Compile Include="DefaultSetting.cs" />
-    <Compile Include="MainDBContext.cs" />
-    <Compile Include="MainDBContextMigrations\201907180821556_Init.cs" />
-    <Compile Include="MainDBContextMigrations\201907180821556_Init.Designer.cs">
-      <DependentUpon>201907180821556_Init.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907180913303_Modify_ConnectorStatus_Machine.cs" />
-    <Compile Include="MainDBContextMigrations\201907180913303_Modify_ConnectorStatus_Machine.Designer.cs">
-      <DependentUpon>201907180913303_Modify_ConnectorStatus_Machine.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907190544543_ModifyFields.cs" />
-    <Compile Include="MainDBContextMigrations\201907190544543_ModifyFields.Designer.cs">
-      <DependentUpon>201907190544543_ModifyFields.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907220540401_Add_Fields_MachineConfigure.cs" />
-    <Compile Include="MainDBContextMigrations\201907220540401_Add_Fields_MachineConfigure.Designer.cs">
-      <DependentUpon>201907220540401_Add_Fields_MachineConfigure.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907240912488_Modified_Table.cs" />
-    <Compile Include="MainDBContextMigrations\201907240912488_Modified_Table.Designer.cs">
-      <DependentUpon>201907240912488_Modified_Table.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907260616245_Modified_MachineErrorTable.cs" />
-    <Compile Include="MainDBContextMigrations\201907260616245_Modified_MachineErrorTable.Designer.cs">
-      <DependentUpon>201907260616245_Modified_MachineErrorTable.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907260708307_Modified_ServerMessageTable.cs" />
-    <Compile Include="MainDBContextMigrations\201907260708307_Modified_ServerMessageTable.Designer.cs">
-      <DependentUpon>201907260708307_Modified_ServerMessageTable.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907260819022_Modified_ServerMessageTable1.cs" />
-    <Compile Include="MainDBContextMigrations\201907260819022_Modified_ServerMessageTable1.Designer.cs">
-      <DependentUpon>201907260819022_Modified_ServerMessageTable1.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907260914124_Modified_ServerMessageTable2.cs" />
-    <Compile Include="MainDBContextMigrations\201907260914124_Modified_ServerMessageTable2.Designer.cs">
-      <DependentUpon>201907260914124_Modified_ServerMessageTable2.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907260915479_Modified_ServerMessageTable3.cs" />
-    <Compile Include="MainDBContextMigrations\201907260915479_Modified_ServerMessageTable3.Designer.cs">
-      <DependentUpon>201907260915479_Modified_ServerMessageTable3.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907310322180_Add_ChargeBoxId.cs" />
-    <Compile Include="MainDBContextMigrations\201907310322180_Add_ChargeBoxId.Designer.cs">
-      <DependentUpon>201907310322180_Add_ChargeBoxId.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201907310323370_Add_ChargeBoxId1.cs" />
-    <Compile Include="MainDBContextMigrations\201907310323370_Add_ChargeBoxId1.Designer.cs">
-      <DependentUpon>201907310323370_Add_ChargeBoxId1.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201908010827563_Add_MachineOperateRecord_RequestContent_Length.cs" />
-    <Compile Include="MainDBContextMigrations\201908010827563_Add_MachineOperateRecord_RequestContent_Length.Designer.cs">
-      <DependentUpon>201908010827563_Add_MachineOperateRecord_RequestContent_Length.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201908020344588_Modified-ServerMessage-InMessageLength.cs" />
-    <Compile Include="MainDBContextMigrations\201908020344588_Modified-ServerMessage-InMessageLength.Designer.cs">
-      <DependentUpon>201908020344588_Modified-ServerMessage-InMessageLength.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201908020516275_Modified-ServerMessage-InMessageLengthMAX.cs" />
-    <Compile Include="MainDBContextMigrations\201908020516275_Modified-ServerMessage-InMessageLengthMAX.Designer.cs">
-      <DependentUpon>201908020516275_Modified-ServerMessage-InMessageLengthMAX.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.cs" />
-    <Compile Include="MainDBContextMigrations\201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.Designer.cs">
-      <DependentUpon>201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.cs" />
-    <Compile Include="MainDBContextMigrations\201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.Designer.cs">
-      <DependentUpon>201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201909170249297_Add_Machine_ConnectionType.cs" />
-    <Compile Include="MainDBContextMigrations\201909170249297_Add_Machine_ConnectionType.Designer.cs">
-      <DependentUpon>201909170249297_Add_Machine_ConnectionType.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.cs" />
-    <Compile Include="MainDBContextMigrations\201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.Designer.cs">
-      <DependentUpon>201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202001130345443_Add_Column_MachineConfiure_Exists.cs" />
-    <Compile Include="MainDBContextMigrations\202001130345443_Add_Column_MachineConfiure_Exists.Designer.cs">
-      <DependentUpon>202001130345443_Add_Column_MachineConfiure_Exists.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202002180133171_Machine_AddRatedPower_ConnectorType.cs" />
-    <Compile Include="MainDBContextMigrations\202002180133171_Machine_AddRatedPower_ConnectorType.Designer.cs">
-      <DependentUpon>202002180133171_Machine_AddRatedPower_ConnectorType.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202002210346267_Add_Action_MachineOperateRecord.cs" />
-    <Compile Include="MainDBContextMigrations\202002210346267_Add_Action_MachineOperateRecord.Designer.cs">
-      <DependentUpon>202002210346267_Add_Action_MachineOperateRecord.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.cs" />
-    <Compile Include="MainDBContextMigrations\202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.Designer.cs">
-      <DependentUpon>202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202004170157424_Rename_MachineConfiguration.cs" />
-    <Compile Include="MainDBContextMigrations\202004170157424_Rename_MachineConfiguration.Designer.cs">
-      <DependentUpon>202004170157424_Rename_MachineConfiguration.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202004230638409_AddMachine_ConnectorPowerType_Geo.cs" />
-    <Compile Include="MainDBContextMigrations\202004230638409_AddMachine_ConnectorPowerType_Geo.Designer.cs">
-      <DependentUpon>202004230638409_AddMachine_ConnectorPowerType_Geo.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202005250837509_Modify_UpdateFirmwareLogic.cs" />
-    <Compile Include="MainDBContextMigrations\202005250837509_Modify_UpdateFirmwareLogic.Designer.cs">
-      <DependentUpon>202005250837509_Modify_UpdateFirmwareLogic.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202005290620325_Modified_UploadFileId.cs" />
-    <Compile Include="MainDBContextMigrations\202005290620325_Modified_UploadFileId.Designer.cs">
-      <DependentUpon>202005290620325_Modified_UploadFileId.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202006080138316_ModifiedChargeBoxIdLenAndOTAFields.cs" />
-    <Compile Include="MainDBContextMigrations\202006080138316_ModifiedChargeBoxIdLenAndOTAFields.Designer.cs">
-      <DependentUpon>202006080138316_ModifiedChargeBoxIdLenAndOTAFields.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202006160623134_MachineBoardVersion.cs" />
-    <Compile Include="MainDBContextMigrations\202006160623134_MachineBoardVersion.Designer.cs">
-      <DependentUpon>202006160623134_MachineBoardVersion.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202006180231003_Modify_Machine.cs" />
-    <Compile Include="MainDBContextMigrations\202006180231003_Modify_Machine.Designer.cs">
-      <DependentUpon>202006180231003_Modify_Machine.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202008100245202_Add_ConnectorStatus_TotalEnergy.cs" />
-    <Compile Include="MainDBContextMigrations\202008100245202_Add_ConnectorStatus_TotalEnergy.Designer.cs">
-      <DependentUpon>202008100245202_Add_ConnectorStatus_TotalEnergy.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202010220132355_Add_TTIA_Service.cs" />
-    <Compile Include="MainDBContextMigrations\202010220132355_Add_TTIA_Service.Designer.cs">
-      <DependentUpon>202010220132355_Add_TTIA_Service.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202010270320421_Add_Customer_TTIA_Fields.cs" />
-    <Compile Include="MainDBContextMigrations\202010270320421_Add_Customer_TTIA_Fields.Designer.cs">
-      <DependentUpon>202010270320421_Add_Customer_TTIA_Fields.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202105310249294_Add_Customer_TTIAAPI_Fields.cs" />
-    <Compile Include="MainDBContextMigrations\202105310249294_Add_Customer_TTIAAPI_Fields.Designer.cs">
-      <DependentUpon>202105310249294_Add_Customer_TTIAAPI_Fields.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202108100119249_AddCost_Field_TransactionTable.cs" />
-    <Compile Include="MainDBContextMigrations\202108100119249_AddCost_Field_TransactionTable.Designer.cs">
-      <DependentUpon>202108100119249_AddCost_Field_TransactionTable.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202108100136463_ModifyLengthBoardVersions_Machine.cs" />
-    <Compile Include="MainDBContextMigrations\202108100136463_ModifyLengthBoardVersions_Machine.Designer.cs">
-      <DependentUpon>202108100136463_ModifyLengthBoardVersions_Machine.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202108100251030_Rename_Receipt_TransactionTable.cs" />
-    <Compile Include="MainDBContextMigrations\202108100251030_Rename_Receipt_TransactionTable.Designer.cs">
-      <DependentUpon>202108100251030_Rename_Receipt_TransactionTable.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202112030223402_Modify_Transaction_FeeLength.cs" />
-    <Compile Include="MainDBContextMigrations\202112030223402_Modify_Transaction_FeeLength.Designer.cs">
-      <DependentUpon>202112030223402_Modify_Transaction_FeeLength.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202112060214293_Modify_Transaction_ReceiptLength.cs" />
-    <Compile Include="MainDBContextMigrations\202112060214293_Modify_Transaction_ReceiptLength.Designer.cs">
-      <DependentUpon>202112060214293_Modify_Transaction_ReceiptLength.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202203280207328_AddFields_Customer_InstantStopTxReport_Tx_BillingDone.cs" />
-    <Compile Include="MainDBContextMigrations\202203280207328_AddFields_Customer_InstantStopTxReport_Tx_BillingDone.Designer.cs">
-      <DependentUpon>202203280207328_AddFields_Customer_InstantStopTxReport_Tx_BillingDone.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202203290753486_AddFields_Tx_StopReason.cs" />
-    <Compile Include="MainDBContextMigrations\202203290753486_AddFields_Tx_StopReason.Designer.cs">
-      <DependentUpon>202203290753486_AddFields_Tx_StopReason.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\202208100229183_Add_Table_OCMF.cs" />
-    <Compile Include="MainDBContextMigrations\202208100229183_Add_Table_OCMF.Designer.cs">
-      <DependentUpon>202208100229183_Add_Table_OCMF.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MainDBContextMigrations\Configuration.cs" />
-    <Compile Include="MeterValueDBContext.cs" />
-    <Compile Include="MeterValueDBContextMigrations\201907150814558_Init.cs" />
-    <Compile Include="MeterValueDBContextMigrations\201907150814558_Init.Designer.cs">
-      <DependentUpon>201907150814558_Init.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MeterValueDBContextMigrations\201907190308254_ModifyFields.cs" />
-    <Compile Include="MeterValueDBContextMigrations\201907190308254_ModifyFields.Designer.cs">
-      <DependentUpon>201907190308254_ModifyFields.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MeterValueDBContextMigrations\201907190543469_ModifyFields1.cs" />
-    <Compile Include="MeterValueDBContextMigrations\201907190543469_ModifyFields1.Designer.cs">
-      <DependentUpon>201907190543469_ModifyFields1.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MeterValueDBContextMigrations\201907310241379_Add_ChargeBoxId.cs" />
-    <Compile Include="MeterValueDBContextMigrations\201907310241379_Add_ChargeBoxId.Designer.cs">
-      <DependentUpon>201907310241379_Add_ChargeBoxId.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MeterValueDBContextMigrations\201908010559159_Add_TransactionId.cs" />
-    <Compile Include="MeterValueDBContextMigrations\201908010559159_Add_TransactionId.Designer.cs">
-      <DependentUpon>201908010559159_Add_TransactionId.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MeterValueDBContextMigrations\202006080139122_ModifiedChargeBoxIdLen.cs" />
-    <Compile Include="MeterValueDBContextMigrations\202006080139122_ModifiedChargeBoxIdLen.Designer.cs">
-      <DependentUpon>202006080139122_ModifiedChargeBoxIdLen.cs</DependentUpon>
-    </Compile>
-    <Compile Include="MeterValueDBContextMigrations\Configuration.cs" />
-    <Compile Include="Models\Database\ApiLogEntry.cs" />
-    <Compile Include="Models\Database\ConnectorMeterValueRecord.cs" />
-    <Compile Include="Models\Database\ConnectorStatus.cs" />
-    <Compile Include="Models\Database\Customer.cs" />
-    <Compile Include="Models\Database\Machine.cs" />
-    <Compile Include="Models\Database\MachineConfiguration.cs" />
-    <Compile Include="Models\Database\MachineConnectionLog.cs" />
-    <Compile Include="Models\Database\MachineError.cs" />
-    <Compile Include="Models\Database\MachineOperateRecord.cs" />
-    <Compile Include="Models\Database\MachineVersionFile.cs" />
-    <Compile Include="Models\Database\OCMF.cs" />
-    <Compile Include="Models\Database\ServerMessage.cs" />
-    <Compile Include="Models\Database\TransactionRecord.cs" />
-    <Compile Include="Models\Database\UploadFile.cs" />
-    <Compile Include="Properties\AssemblyInfo.cs" />
-  </ItemGroup>
-  <ItemGroup>
-    <None Include="App.config">
-      <SubType>Designer</SubType>
-    </None>
-    <None Include="packages.config" />
-  </ItemGroup>
-  <ItemGroup>
-    <EmbeddedResource Include="ConnectionLogContextMigrations\201907150816214_Init.resx">
-      <DependentUpon>201907150816214_Init.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="ConnectionLogContextMigrations\201907240911571_Remove_IPFields.resx">
-      <DependentUpon>201907240911571_Remove_IPFields.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="ConnectionLogContextMigrations\201907250828082_Modified_Length.resx">
-      <DependentUpon>201907250828082_Modified_Length.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="ConnectionLogContextMigrations\201907310241245_Add_ChargeBoxId.resx">
-      <DependentUpon>201907310241245_Add_ChargeBoxId.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="ConnectionLogContextMigrations\201912160853002_Add_Fields_IsSent.resx">
-      <DependentUpon>201912160853002_Add_Fields_IsSent.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="ConnectionLogContextMigrations\202001160213414_Add_EVSE_Session_EndPoint.resx">
-      <DependentUpon>202001160213414_Add_EVSE_Session_EndPoint.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907180821556_Init.resx">
-      <DependentUpon>201907180821556_Init.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907180913303_Modify_ConnectorStatus_Machine.resx">
-      <DependentUpon>201907180913303_Modify_ConnectorStatus_Machine.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907190544543_ModifyFields.resx">
-      <DependentUpon>201907190544543_ModifyFields.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907220540401_Add_Fields_MachineConfigure.resx">
-      <DependentUpon>201907220540401_Add_Fields_MachineConfigure.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907240912488_Modified_Table.resx">
-      <DependentUpon>201907240912488_Modified_Table.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907260616245_Modified_MachineErrorTable.resx">
-      <DependentUpon>201907260616245_Modified_MachineErrorTable.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907260708307_Modified_ServerMessageTable.resx">
-      <DependentUpon>201907260708307_Modified_ServerMessageTable.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907260819022_Modified_ServerMessageTable1.resx">
-      <DependentUpon>201907260819022_Modified_ServerMessageTable1.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907260914124_Modified_ServerMessageTable2.resx">
-      <DependentUpon>201907260914124_Modified_ServerMessageTable2.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907260915479_Modified_ServerMessageTable3.resx">
-      <DependentUpon>201907260915479_Modified_ServerMessageTable3.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907310322180_Add_ChargeBoxId.resx">
-      <DependentUpon>201907310322180_Add_ChargeBoxId.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201907310323370_Add_ChargeBoxId1.resx">
-      <DependentUpon>201907310323370_Add_ChargeBoxId1.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201908010827563_Add_MachineOperateRecord_RequestContent_Length.resx">
-      <DependentUpon>201908010827563_Add_MachineOperateRecord_RequestContent_Length.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201908020344588_Modified-ServerMessage-InMessageLength.resx">
-      <DependentUpon>201908020344588_Modified-ServerMessage-InMessageLength.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201908020516275_Modified-ServerMessage-InMessageLengthMAX.resx">
-      <DependentUpon>201908020516275_Modified-ServerMessage-InMessageLengthMAX.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.resx">
-      <DependentUpon>201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.resx">
-      <DependentUpon>201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201909170249297_Add_Machine_ConnectionType.resx">
-      <DependentUpon>201909170249297_Add_Machine_ConnectionType.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.resx">
-      <DependentUpon>201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202001130345443_Add_Column_MachineConfiure_Exists.resx">
-      <DependentUpon>202001130345443_Add_Column_MachineConfiure_Exists.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202002180133171_Machine_AddRatedPower_ConnectorType.resx">
-      <DependentUpon>202002180133171_Machine_AddRatedPower_ConnectorType.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202002210346267_Add_Action_MachineOperateRecord.resx">
-      <DependentUpon>202002210346267_Add_Action_MachineOperateRecord.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.resx">
-      <DependentUpon>202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202004170157424_Rename_MachineConfiguration.resx">
-      <DependentUpon>202004170157424_Rename_MachineConfiguration.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202004230638409_AddMachine_ConnectorPowerType_Geo.resx">
-      <DependentUpon>202004230638409_AddMachine_ConnectorPowerType_Geo.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202005250837509_Modify_UpdateFirmwareLogic.resx">
-      <DependentUpon>202005250837509_Modify_UpdateFirmwareLogic.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202005290620325_Modified_UploadFileId.resx">
-      <DependentUpon>202005290620325_Modified_UploadFileId.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202006080138316_ModifiedChargeBoxIdLenAndOTAFields.resx">
-      <DependentUpon>202006080138316_ModifiedChargeBoxIdLenAndOTAFields.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202006160623134_MachineBoardVersion.resx">
-      <DependentUpon>202006160623134_MachineBoardVersion.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202006180231003_Modify_Machine.resx">
-      <DependentUpon>202006180231003_Modify_Machine.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202008100245202_Add_ConnectorStatus_TotalEnergy.resx">
-      <DependentUpon>202008100245202_Add_ConnectorStatus_TotalEnergy.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202010220132355_Add_TTIA_Service.resx">
-      <DependentUpon>202010220132355_Add_TTIA_Service.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202010270320421_Add_Customer_TTIA_Fields.resx">
-      <DependentUpon>202010270320421_Add_Customer_TTIA_Fields.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202105310249294_Add_Customer_TTIAAPI_Fields.resx">
-      <DependentUpon>202105310249294_Add_Customer_TTIAAPI_Fields.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202108100119249_AddCost_Field_TransactionTable.resx">
-      <DependentUpon>202108100119249_AddCost_Field_TransactionTable.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202108100136463_ModifyLengthBoardVersions_Machine.resx">
-      <DependentUpon>202108100136463_ModifyLengthBoardVersions_Machine.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202108100251030_Rename_Receipt_TransactionTable.resx">
-      <DependentUpon>202108100251030_Rename_Receipt_TransactionTable.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202112030223402_Modify_Transaction_FeeLength.resx">
-      <DependentUpon>202112030223402_Modify_Transaction_FeeLength.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202112060214293_Modify_Transaction_ReceiptLength.resx">
-      <DependentUpon>202112060214293_Modify_Transaction_ReceiptLength.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202203280207328_AddFields_Customer_InstantStopTxReport_Tx_BillingDone.resx">
-      <DependentUpon>202203280207328_AddFields_Customer_InstantStopTxReport_Tx_BillingDone.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202203290753486_AddFields_Tx_StopReason.resx">
-      <DependentUpon>202203290753486_AddFields_Tx_StopReason.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MainDBContextMigrations\202208100229183_Add_Table_OCMF.resx">
-      <DependentUpon>202208100229183_Add_Table_OCMF.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MeterValueDBContextMigrations\201907150814558_Init.resx">
-      <DependentUpon>201907150814558_Init.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MeterValueDBContextMigrations\201907190308254_ModifyFields.resx">
-      <DependentUpon>201907190308254_ModifyFields.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MeterValueDBContextMigrations\201907190543469_ModifyFields1.resx">
-      <DependentUpon>201907190543469_ModifyFields1.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MeterValueDBContextMigrations\201907310241379_Add_ChargeBoxId.resx">
-      <DependentUpon>201907310241379_Add_ChargeBoxId.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MeterValueDBContextMigrations\201908010559159_Add_TransactionId.resx">
-      <DependentUpon>201908010559159_Add_TransactionId.cs</DependentUpon>
-    </EmbeddedResource>
-    <EmbeddedResource Include="MeterValueDBContextMigrations\202006080139122_ModifiedChargeBoxIdLen.resx">
-      <DependentUpon>202006080139122_ModifiedChargeBoxIdLen.cs</DependentUpon>
-    </EmbeddedResource>
-  </ItemGroup>
-  <ItemGroup />
-  <ItemGroup>
+    <Content Include="appsettings.json" />
     <Content Include="Doc\ReadMe.txt" />
     <Content Include="StoredProcedure\uspInsertMachineConnectionLog.sql" />
   </ItemGroup>
-  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <Compile Remove="Models\Database\TransactionDataRecord.cs" />
+  </ItemGroup>
   <PropertyGroup>
     <PreBuildEvent>GitVersion.exe $(ProjectDir) /updateassemblyinfo</PreBuildEvent>
   </PropertyGroup>

+ 18 - 65
EVCB_OCPP.Domain/MainDBContext.cs

@@ -1,9 +1,8 @@
 namespace EVCB_OCPP.Domain
 {
     using EVCB_OCPP.Domain.Models.Database;
+    using Microsoft.EntityFrameworkCore;
     using System;
-    using System.Data.Entity;
-    using System.Data.Entity.Validation;
     using System.Linq;
     using System.Threading;
     using System.Threading.Tasks;
@@ -16,21 +15,24 @@
         // 
         // 如果您的目標是其他資料庫和 (或) 提供者,請修改
         // 應用程式組態檔中的 'MainDBContext' 連接字串。
-        public MainDBContext()
-            : base("name=MainDBContext")
+        public MainDBContext() : base()
         {
-            this.Configuration.LazyLoadingEnabled = false;
-            this.Database.CommandTimeout = 180;
+            //this.Configuration.LazyLoadingEnabled = false;
+            //this.Database.CommandTimeout = 180;
         }
 
         /// <summary>
         /// DB coneection set
         /// </summary>
-        public MainDBContext(string conn)
+        //public MainDBContext(string conn)
+        //{
+        //    this.Database.Connection.ConnectionString = conn;
+        //    this.Configuration.LazyLoadingEnabled = false;
+        //    this.Database.CommandTimeout = 180;
+        //}
+        public MainDBContext(DbContextOptions options) : base(options)
         {
-            this.Database.Connection.ConnectionString = conn;
-            this.Configuration.LazyLoadingEnabled = false;
-            this.Database.CommandTimeout = 180;
+
         }
 
         // 針對您要包含在模型中的每種實體類型新增 DbSet。如需有關設定和使用
@@ -47,7 +49,7 @@
 
 
 
-        public virtual DbSet<MachineConfiguration> MachineConfiguration { get; set; }
+        public virtual DbSet<MachineConfiguration> MachineConfigurations { get; set; }
 
         public virtual DbSet<MachineError> MachineError { get; set; }
 
@@ -66,7 +68,7 @@
 
         public virtual DbSet<UploadFile> UploadFile { get; set; }
 
-        protected override void OnModelCreating(DbModelBuilder modelBuilder)
+        protected override void OnModelCreating(ModelBuilder modelBuilder)
         {
 
             modelBuilder.Entity<Machine>().Property(x => x.RatedPower).HasPrecision(6, 2);
@@ -77,59 +79,10 @@
 
         }
 
-        public override int SaveChanges()
-        {
-            try
-            {
-                return base.SaveChanges();
-
-            }
-            catch (DbEntityValidationException ex)
-            {
-                var errorMessages = ex.EntityValidationErrors
-                   .SelectMany(x => x.ValidationErrors)
-                   .Select(x => x.ErrorMessage);
-
-                // Join the list to a single string.
-                var fullErrorMessage = string.Join("; ", errorMessages);
-
-                // Combine the original exception message with the new one.
-                var exceptionMessage = string.Concat(ex.Message, " The validation errors are: ", fullErrorMessage);
-
-                // Throw a new DbEntityValidationException with the improved exception message.
-                throw new DbEntityValidationException(exceptionMessage, ex.EntityValidationErrors);
-            }
-        }
-        public override Task<int> SaveChangesAsync(CancellationToken cancellationToken)
+        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
         {
-            try
-            {
-                return base.SaveChangesAsync(cancellationToken);
-
-            }
-            catch (DbEntityValidationException ex)
-            {
-                var errorMessages = ex.EntityValidationErrors
-                   .SelectMany(x => x.ValidationErrors)
-                   .Select(x => x.ErrorMessage);
-
-                // Join the list to a single string.
-                var fullErrorMessage = string.Join("; ", errorMessages);
-
-                // Combine the original exception message with the new one.
-                var exceptionMessage = string.Concat(ex.Message, " The validation errors are: ", fullErrorMessage);
-
-                // Throw a new DbEntityValidationException with the improved exception message.
-                throw new DbEntityValidationException(exceptionMessage, ex.EntityValidationErrors);
-            }
+            //optionsBuilder.UseSqlServer("data source=172.1.2.187;initial catalog=StandardOCPP_Main;;persist security info=True;user id=sa;password=Ph0930118811;MultipleActiveResultSets=True;App=EntityFramework");
+            base.OnConfiguring(optionsBuilder);
         }
-
-
-
-    
-}
-
-
-
-
+    }
 }

+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907180821556_Init.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Init : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Init));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907180821556_Init"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 401
EVCB_OCPP.Domain/MainDBContextMigrations/201907180821556_Init.cs

@@ -1,401 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Init : DbMigration
-    {
-        public override void Up()
-        {
-            CreateTable(
-                "dbo.ApiLogEntry",
-                c => new
-                    {
-                        ApiLogEntryId = c.Long(nullable: false, identity: true),
-                        Application = c.String(),
-                        User = c.String(),
-                        Machine = c.String(),
-                        RequestIpAddress = c.String(),
-                        RequestContentType = c.String(),
-                        RequestContentBody = c.String(),
-                        RequestUri = c.String(),
-                        RequestMethod = c.String(),
-                        RequestRouteTemplate = c.String(),
-                        RequestRouteData = c.String(),
-                        RequestHeaders = c.String(),
-                        RequestTimestamp = c.DateTime(),
-                        ResponseContentType = c.String(),
-                        ResponseContentBody = c.String(),
-                        ResponseStatusCode = c.Int(),
-                        ResponseHeaders = c.String(),
-                        ResponseTimestamp = c.DateTime(),
-                        IsOutData = c.Boolean(nullable: false),
-                        ErrorMsg = c.String(),
-                        ErrorOn = c.DateTime(),
-                    })
-                .PrimaryKey(t => t.ApiLogEntryId)
-                .Index(t => t.RequestTimestamp);
-            
-            CreateTable(
-                "dbo.ConnectorStatus",
-                c => new
-                    {
-                        Id = c.String(nullable: false, maxLength: 36),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        ConnectorId = c.Byte(nullable: false),
-                        Status = c.Int(nullable: false),
-                        ChargePointErrorCodeNo = c.Int(nullable: false),
-                        ErrorInfo = c.String(maxLength: 50),
-                        VendorId = c.String(maxLength: 255),
-                        VendorErrorCodeNo = c.Int(nullable: false),
-                        CreatedOn = c.DateTime(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.Customer",
-                c => new
-                    {
-                        Id = c.Guid(nullable: false),
-                        Name = c.String(maxLength: 50),
-                        CreatedOn = c.DateTime(nullable: false),
-                        CreatedBy = c.String(maxLength: 50),
-                        Deadline = c.DateTime(),
-                        UpdatedOn = c.DateTime(),
-                        UpdatedBy = c.String(maxLength: 50),
-                        ApiUrl = c.String(maxLength: 256),
-                        ApiKey = c.String(maxLength: 128),
-                        ApiKeyUpdatedOn = c.DateTime(),
-                        PartnerId = c.String(maxLength: 36),
-                        ApiCustomerId = c.String(maxLength: 36),
-                        CallPartnerApiOnSchedule = c.Boolean(nullable: false),
-                        IsShow = c.Boolean(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.CustomerMachineComponent",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CustomerId = c.Guid(nullable: false),
-                        MachineComponentId = c.Int(nullable: false),
-                        CreatedOn = c.DateTime(nullable: false),
-                        CreatedBy = c.String(maxLength: 50),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.Customer", t => t.CustomerId, cascadeDelete: true)
-                .ForeignKey("dbo.MachineComponent", t => t.MachineComponentId, cascadeDelete: true)
-                .Index(t => t.CustomerId)
-                .Index(t => t.MachineComponentId);
-            
-            CreateTable(
-                "dbo.MachineComponent",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        MachineModelId = c.Int(nullable: false),
-                        GunAmt = c.Int(),
-                        MachinePartId = c.Int(nullable: false),
-                        ModelName = c.String(),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.MachineModel", t => t.MachineModelId, cascadeDelete: true)
-                .ForeignKey("dbo.MachinePart", t => t.MachinePartId, cascadeDelete: true)
-                .Index(t => t.MachineModelId)
-                .Index(t => t.MachinePartId);
-            
-            CreateTable(
-                "dbo.MachineModel",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        Name = c.String(maxLength: 36),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachinePart",
-                c => new
-                    {
-                        Id = c.Int(nullable: false),
-                        Desc = c.String(maxLength: 36),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.Machine",
-                c => new
-                    {
-                        Id = c.String(nullable: false, maxLength: 36),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        ChargeBoxSerialNumber = c.String(maxLength: 25),
-                        ChargePointModel = c.String(maxLength: 20),
-                        ChargePointVendor = c.String(maxLength: 20),
-                        Iccid = c.String(maxLength: 20),
-                        Imsi = c.String(maxLength: 20),
-                        MeterType = c.String(maxLength: 25),
-                        MeterSerialNumber = c.String(maxLength: 25),
-                        CreatedOn = c.DateTime(nullable: false),
-                        CreatedBy = c.String(maxLength: 50),
-                        Comment = c.String(maxLength: 100),
-                        CustomerId = c.Guid(nullable: false),
-                        AC = c.Boolean(nullable: false),
-                        GunAmt = c.Int(nullable: false),
-                        HeartbeatUpdatedOn = c.DateTime(),
-                        FW_VersionReport = c.Int(),
-                        FW_AssignedVersion = c.Int(),
-                        FW_AssignedMachineVersionId = c.Int(),
-                        Online = c.Boolean(nullable: false),
-                        WattId = c.Int(nullable: false),
-                        MachineModelId = c.Int(nullable: false),
-                        MachinePartId = c.Int(nullable: false),
-                        OfflineOn = c.DateTime(),
-                        FW_CurrentVersion = c.String(maxLength: 50),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.Customer", t => t.CustomerId, cascadeDelete: true)
-                .ForeignKey("dbo.MachineVersion", t => t.FW_AssignedMachineVersionId)
-                .ForeignKey("dbo.MachineModel", t => t.MachineModelId, cascadeDelete: true)
-                .ForeignKey("dbo.MachinePart", t => t.MachinePartId, cascadeDelete: true)
-                .Index(t => t.ChargePointSerialNumber, unique: true)
-                .Index(t => t.CustomerId)
-                .Index(t => t.FW_AssignedMachineVersionId)
-                .Index(t => t.MachineModelId)
-                .Index(t => t.MachinePartId);
-            
-            CreateTable(
-                "dbo.MachineVersion",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CreatedOn = c.DateTime(nullable: false),
-                        PublishVersionId = c.Int(nullable: false),
-                        MachineId = c.String(nullable: false, maxLength: 36),
-                        UpdatedOn = c.DateTime(),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.Machine", t => t.MachineId, cascadeDelete: true)
-                .ForeignKey("dbo.PublishVersion", t => t.PublishVersionId, cascadeDelete: true)
-                .Index(t => t.PublishVersionId)
-                .Index(t => t.MachineId);
-            
-            CreateTable(
-                "dbo.MachineVersionFile",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CreatedOn = c.DateTime(nullable: false),
-                        UpdatedOn = c.DateTime(),
-                        MachineVersionId = c.Int(nullable: false),
-                        UploadFileId = c.Guid(nullable: false),
-                        DownloadedOn = c.DateTime(),
-                        Seq = c.Int(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.MachineVersion", t => t.MachineVersionId, cascadeDelete: true)
-                .ForeignKey("dbo.UploadFile", t => t.UploadFileId, cascadeDelete: true)
-                .Index(t => t.MachineVersionId)
-                .Index(t => t.UploadFileId);
-            
-            CreateTable(
-                "dbo.UploadFile",
-                c => new
-                    {
-                        Id = c.Guid(nullable: false),
-                        FileName = c.String(nullable: false, maxLength: 500),
-                        OriginName = c.String(nullable: false, maxLength: 500),
-                        FileSize = c.Int(nullable: false),
-                        FileType = c.String(maxLength: 200),
-                        FileExtensionName = c.String(maxLength: 50),
-                        FilePath = c.String(nullable: false, maxLength: 500),
-                        CreatedOn = c.DateTime(nullable: false),
-                        CreatedBy = c.String(maxLength: 50),
-                        IsOnline = c.Boolean(nullable: false),
-                        CustomerId = c.Guid(nullable: false),
-                        FileMD5 = c.String(maxLength: 50),
-                        FileUrl = c.String(maxLength: 512),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.PublishVersion",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CreatedOn = c.DateTime(nullable: false),
-                        Version = c.Int(nullable: false),
-                        CustomerMachineComponentId = c.Int(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.CustomerMachineComponent", t => t.CustomerMachineComponentId)
-                .Index(t => t.CustomerMachineComponentId);
-            
-            CreateTable(
-                "dbo.PublishVersionFile",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        PublishVersionId = c.Int(nullable: false),
-                        UploadFileId = c.Guid(nullable: false),
-                        Seq = c.Int(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.PublishVersion", t => t.PublishVersionId, cascadeDelete: true)
-                .ForeignKey("dbo.UploadFile", t => t.UploadFileId, cascadeDelete: true)
-                .Index(t => t.PublishVersionId)
-                .Index(t => t.UploadFileId);
-            
-            CreateTable(
-                "dbo.MachineConfigures",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        ConfigureName = c.String(maxLength: 50),
-                        ConfigureSetting = c.String(maxLength: 500),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachineError",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        ConnectorId = c.Byte(nullable: false),
-                        PreStatus = c.Int(nullable: false),
-                        Status = c.Int(nullable: false),
-                        ErrorCode = c.Int(nullable: false),
-                        ErrorInfo = c.String(maxLength: 50),
-                        VendorId = c.String(maxLength: 255),
-                        VendorErrorCodeNum = c.Int(nullable: false),
-                        CreatedOn = c.DateTime(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachineOperateRecord",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        SerialNo = c.String(maxLength: 36),
-                        RequestType = c.Int(nullable: false),
-                        RequestContent = c.String(maxLength: 36),
-                        Status = c.Int(nullable: false),
-                        CreatedOn = c.DateTime(nullable: false),
-                        FinishedOn = c.DateTime(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.ServerMessage",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        ChargePointSerialNumber = c.String(maxLength: 25),
-                        SerialNo = c.String(maxLength: 36),
-                        OutAction = c.String(),
-                        OutRequest = c.String(),
-                        InMessage = c.String(),
-                        CreatedOn = c.DateTime(nullable: false),
-                        CreatedBy = c.String(),
-                        ReceivedOn = c.DateTime(),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.TransactionRecord",
-                c => new
-                    {
-                        Id = c.Long(nullable: false, identity: true),
-                        CustomerId = c.Guid(nullable: false),
-                        MachineId = c.String(nullable: false, maxLength: 36),
-                        ConnectorId = c.Byte(nullable: false),
-                        TransactionId = c.Int(nullable: false),
-                        chargePointSerialNumber = c.String(maxLength: 25),
-                        IdTag = c.String(maxLength: 20),
-                        StartTime = c.DateTime(nullable: false),
-                        StopTime = c.DateTime(nullable: false),
-                        StopTransactionReasonId = c.Int(nullable: false),
-                        MeterStart = c.Decimal(nullable: false, precision: 18, scale: 2),
-                        MeterStop = c.Decimal(nullable: false, precision: 18, scale: 2),
-                        SOCStart = c.Decimal(nullable: false, precision: 18, scale: 2),
-                        SOCStop = c.Decimal(nullable: false, precision: 18, scale: 2),
-                        ReportedOn = c.DateTime(),
-                        CreatedOn = c.DateTime(nullable: false),
-                        UpdatedOn = c.DateTime(),
-                        StartTransactionReportedOn = c.DateTime(nullable: false),
-                        RetryStartTransactionTimes = c.Int(nullable: false),
-                        StopTransactionReportedOn = c.DateTime(nullable: false),
-                        RtryStopTransactionTimes = c.Int(nullable: false),
-                        ErrorMsg = c.String(),
-                    })
-                .PrimaryKey(t => t.Id)
-                .ForeignKey("dbo.Machine", t => t.MachineId, cascadeDelete: true)
-                .Index(t => new { t.MachineId, t.ConnectorId, t.TransactionId, t.StartTime }, unique: true, name: "IX_1202_Issue_Report")
-                .Index(t => t.MachineId)
-                .Index(t => t.TransactionId);
-            
-        }
-        
-        public override void Down()
-        {
-            DropForeignKey("dbo.TransactionRecord", "MachineId", "dbo.Machine");
-            DropForeignKey("dbo.Machine", "MachinePartId", "dbo.MachinePart");
-            DropForeignKey("dbo.Machine", "MachineModelId", "dbo.MachineModel");
-            DropForeignKey("dbo.Machine", "FW_AssignedMachineVersionId", "dbo.MachineVersion");
-            DropForeignKey("dbo.MachineVersion", "PublishVersionId", "dbo.PublishVersion");
-            DropForeignKey("dbo.PublishVersionFile", "UploadFileId", "dbo.UploadFile");
-            DropForeignKey("dbo.PublishVersionFile", "PublishVersionId", "dbo.PublishVersion");
-            DropForeignKey("dbo.PublishVersion", "CustomerMachineComponentId", "dbo.CustomerMachineComponent");
-            DropForeignKey("dbo.MachineVersionFile", "UploadFileId", "dbo.UploadFile");
-            DropForeignKey("dbo.MachineVersionFile", "MachineVersionId", "dbo.MachineVersion");
-            DropForeignKey("dbo.MachineVersion", "MachineId", "dbo.Machine");
-            DropForeignKey("dbo.Machine", "CustomerId", "dbo.Customer");
-            DropForeignKey("dbo.CustomerMachineComponent", "MachineComponentId", "dbo.MachineComponent");
-            DropForeignKey("dbo.MachineComponent", "MachinePartId", "dbo.MachinePart");
-            DropForeignKey("dbo.MachineComponent", "MachineModelId", "dbo.MachineModel");
-            DropForeignKey("dbo.CustomerMachineComponent", "CustomerId", "dbo.Customer");
-            DropIndex("dbo.TransactionRecord", new[] { "TransactionId" });
-            DropIndex("dbo.TransactionRecord", new[] { "MachineId" });
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            DropIndex("dbo.PublishVersionFile", new[] { "UploadFileId" });
-            DropIndex("dbo.PublishVersionFile", new[] { "PublishVersionId" });
-            DropIndex("dbo.PublishVersion", new[] { "CustomerMachineComponentId" });
-            DropIndex("dbo.MachineVersionFile", new[] { "UploadFileId" });
-            DropIndex("dbo.MachineVersionFile", new[] { "MachineVersionId" });
-            DropIndex("dbo.MachineVersion", new[] { "MachineId" });
-            DropIndex("dbo.MachineVersion", new[] { "PublishVersionId" });
-            DropIndex("dbo.Machine", new[] { "MachinePartId" });
-            DropIndex("dbo.Machine", new[] { "MachineModelId" });
-            DropIndex("dbo.Machine", new[] { "FW_AssignedMachineVersionId" });
-            DropIndex("dbo.Machine", new[] { "CustomerId" });
-            DropIndex("dbo.Machine", new[] { "ChargePointSerialNumber" });
-            DropIndex("dbo.MachineComponent", new[] { "MachinePartId" });
-            DropIndex("dbo.MachineComponent", new[] { "MachineModelId" });
-            DropIndex("dbo.CustomerMachineComponent", new[] { "MachineComponentId" });
-            DropIndex("dbo.CustomerMachineComponent", new[] { "CustomerId" });
-            DropIndex("dbo.ApiLogEntry", new[] { "RequestTimestamp" });
-            DropTable("dbo.TransactionRecord");
-            DropTable("dbo.ServerMessage");
-            DropTable("dbo.MachineOperateRecord");
-            DropTable("dbo.MachineError");
-            DropTable("dbo.MachineConfigures");
-            DropTable("dbo.PublishVersionFile");
-            DropTable("dbo.PublishVersion");
-            DropTable("dbo.UploadFile");
-            DropTable("dbo.MachineVersionFile");
-            DropTable("dbo.MachineVersion");
-            DropTable("dbo.Machine");
-            DropTable("dbo.MachinePart");
-            DropTable("dbo.MachineModel");
-            DropTable("dbo.MachineComponent");
-            DropTable("dbo.CustomerMachineComponent");
-            DropTable("dbo.Customer");
-            DropTable("dbo.ConnectorStatus");
-            DropTable("dbo.ApiLogEntry");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907180821556_Init.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907180913303_Modify_ConnectorStatus_Machine.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modify_ConnectorStatus_Machine : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modify_ConnectorStatus_Machine));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907180913303_Modify_ConnectorStatus_Machine"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 22
EVCB_OCPP.Domain/MainDBContextMigrations/201907180913303_Modify_ConnectorStatus_Machine.cs

@@ -1,22 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modify_ConnectorStatus_Machine : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.ConnectorStatus", "VendorErrorCode", c => c.String(maxLength: 100));
-            DropColumn("dbo.ConnectorStatus", "VendorErrorCodeNo");
-            DropColumn("dbo.Machine", "WattId");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.Machine", "WattId", c => c.Int(nullable: false));
-            AddColumn("dbo.ConnectorStatus", "VendorErrorCodeNo", c => c.Int(nullable: false));
-            DropColumn("dbo.ConnectorStatus", "VendorErrorCode");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907180913303_Modify_ConnectorStatus_Machine.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907190544543_ModifyFields.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class ModifyFields : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(ModifyFields));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907190544543_ModifyFields"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 50
EVCB_OCPP.Domain/MainDBContextMigrations/201907190544543_ModifyFields.cs

@@ -1,50 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class ModifyFields : DbMigration
-    {
-        public override void Up()
-        {
-            DropForeignKey("dbo.TransactionRecord", "MachineId", "dbo.Machine");
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            DropIndex("dbo.TransactionRecord", new[] { "MachineId" });
-            AddColumn("dbo.ConnectorStatus", "ChargePointErrorCodeId", c => c.Int(nullable: false));
-            AddColumn("dbo.TransactionRecord", "StartIdTag", c => c.String(maxLength: 20));
-            AddColumn("dbo.TransactionRecord", "StopIdTag", c => c.String(maxLength: 20));
-            AddColumn("dbo.TransactionRecord", "ReservationId", c => c.Int(nullable: false));
-            AddColumn("dbo.TransactionRecord", "StopReasonId", c => c.Int(nullable: false));
-            AlterColumn("dbo.TransactionRecord", "chargePointSerialNumber", c => c.String(nullable: false, maxLength: 25));
-            CreateIndex("dbo.TransactionRecord", new[] { "chargePointSerialNumber", "ConnectorId", "TransactionId", "StartTime" }, unique: true, name: "IX_1202_Issue_Report");
-            CreateIndex("dbo.TransactionRecord", "chargePointSerialNumber", name: "IX_MachineId");
-            DropColumn("dbo.ConnectorStatus", "ChargePointErrorCodeNo");
-            DropColumn("dbo.TransactionRecord", "MachineId");
-            DropColumn("dbo.TransactionRecord", "IdTag");
-            DropColumn("dbo.TransactionRecord", "StopTransactionReasonId");
-            DropColumn("dbo.TransactionRecord", "SOCStart");
-            DropColumn("dbo.TransactionRecord", "SOCStop");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.TransactionRecord", "SOCStop", c => c.Decimal(nullable: false, precision: 18, scale: 2));
-            AddColumn("dbo.TransactionRecord", "SOCStart", c => c.Decimal(nullable: false, precision: 18, scale: 2));
-            AddColumn("dbo.TransactionRecord", "StopTransactionReasonId", c => c.Int(nullable: false));
-            AddColumn("dbo.TransactionRecord", "IdTag", c => c.String(maxLength: 20));
-            AddColumn("dbo.TransactionRecord", "MachineId", c => c.String(nullable: false, maxLength: 36));
-            AddColumn("dbo.ConnectorStatus", "ChargePointErrorCodeNo", c => c.Int(nullable: false));
-            DropIndex("dbo.TransactionRecord", "IX_MachineId");
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            AlterColumn("dbo.TransactionRecord", "chargePointSerialNumber", c => c.String(maxLength: 25));
-            DropColumn("dbo.TransactionRecord", "StopReasonId");
-            DropColumn("dbo.TransactionRecord", "ReservationId");
-            DropColumn("dbo.TransactionRecord", "StopIdTag");
-            DropColumn("dbo.TransactionRecord", "StartIdTag");
-            DropColumn("dbo.ConnectorStatus", "ChargePointErrorCodeId");
-            CreateIndex("dbo.TransactionRecord", "MachineId");
-            CreateIndex("dbo.TransactionRecord", new[] { "MachineId", "ConnectorId", "TransactionId", "StartTime" }, unique: true, name: "IX_1202_Issue_Report");
-            AddForeignKey("dbo.TransactionRecord", "MachineId", "dbo.Machine", "Id", cascadeDelete: true);
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907190544543_ModifyFields.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907220540401_Add_Fields_MachineConfigure.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_Fields_MachineConfigure : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_Fields_MachineConfigure));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907220540401_Add_Fields_MachineConfigure"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 22
EVCB_OCPP.Domain/MainDBContextMigrations/201907220540401_Add_Fields_MachineConfigure.cs

@@ -1,22 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_Fields_MachineConfigure : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineConfigures", "AccessType", c => c.Byte(nullable: false));
-            AddColumn("dbo.MachineOperateRecord", "EVSE_Value", c => c.String(maxLength: 250));
-            AddColumn("dbo.MachineOperateRecord", "EVSE_Status", c => c.Int(nullable: false));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.MachineOperateRecord", "EVSE_Status");
-            DropColumn("dbo.MachineOperateRecord", "EVSE_Value");
-            DropColumn("dbo.MachineConfigures", "AccessType");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907220540401_Add_Fields_MachineConfigure.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907240912488_Modified_Table.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_Table : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_Table));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907240912488_Modified_Table"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 28
EVCB_OCPP.Domain/MainDBContextMigrations/201907240912488_Modified_Table.cs

@@ -1,28 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_Table : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineConfigures", "ReadOnly", c => c.Boolean(nullable: false));
-            AlterColumn("dbo.ServerMessage", "OutAction", c => c.String(maxLength: 15));
-            AlterColumn("dbo.ServerMessage", "OutRequest", c => c.String(maxLength: 400));
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 200));
-            AlterColumn("dbo.ServerMessage", "ReceivedOn", c => c.DateTime(nullable: false));
-            DropColumn("dbo.MachineConfigures", "AccessType");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.MachineConfigures", "AccessType", c => c.Byte(nullable: false));
-            AlterColumn("dbo.ServerMessage", "ReceivedOn", c => c.DateTime());
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String());
-            AlterColumn("dbo.ServerMessage", "OutRequest", c => c.String());
-            AlterColumn("dbo.ServerMessage", "OutAction", c => c.String());
-            DropColumn("dbo.MachineConfigures", "ReadOnly");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907240912488_Modified_Table.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907260616245_Modified_MachineErrorTable.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_MachineErrorTable : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_MachineErrorTable));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907260616245_Modified_MachineErrorTable"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 24
EVCB_OCPP.Domain/MainDBContextMigrations/201907260616245_Modified_MachineErrorTable.cs

@@ -1,24 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_MachineErrorTable : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineError", "ErrorCodeId", c => c.Int(nullable: false));
-            AddColumn("dbo.MachineError", "VendorErrorCode", c => c.String(maxLength: 100));
-            DropColumn("dbo.MachineError", "ErrorCode");
-            DropColumn("dbo.MachineError", "VendorErrorCodeNum");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.MachineError", "VendorErrorCodeNum", c => c.Int(nullable: false));
-            AddColumn("dbo.MachineError", "ErrorCode", c => c.Int(nullable: false));
-            DropColumn("dbo.MachineError", "VendorErrorCode");
-            DropColumn("dbo.MachineError", "ErrorCodeId");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907260616245_Modified_MachineErrorTable.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907260708307_Modified_ServerMessageTable.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_ServerMessageTable : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_ServerMessageTable));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907260708307_Modified_ServerMessageTable"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201907260708307_Modified_ServerMessageTable.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_ServerMessageTable : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.ServerMessage", "OutAction", c => c.String(maxLength: 30));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "OutAction", c => c.String(maxLength: 15));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907260708307_Modified_ServerMessageTable.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907260819022_Modified_ServerMessageTable1.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_ServerMessageTable1 : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_ServerMessageTable1));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907260819022_Modified_ServerMessageTable1"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201907260819022_Modified_ServerMessageTable1.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_ServerMessageTable1 : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 800));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 200));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907260819022_Modified_ServerMessageTable1.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907260914124_Modified_ServerMessageTable2.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_ServerMessageTable2 : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_ServerMessageTable2));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907260914124_Modified_ServerMessageTable2"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/MainDBContextMigrations/201907260914124_Modified_ServerMessageTable2.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_ServerMessageTable2 : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.ServerMessage", "OutRequest", c => c.String(maxLength: 500));
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 1000));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 800));
-            AlterColumn("dbo.ServerMessage", "OutRequest", c => c.String(maxLength: 400));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907260914124_Modified_ServerMessageTable2.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907260915479_Modified_ServerMessageTable3.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modified_ServerMessageTable3 : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modified_ServerMessageTable3));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907260915479_Modified_ServerMessageTable3"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201907260915479_Modified_ServerMessageTable3.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modified_ServerMessageTable3 : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.ServerMessage", "CreatedBy", c => c.String(maxLength: 36));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "CreatedBy", c => c.String());
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907260915479_Modified_ServerMessageTable3.resx


+ 0 - 31
EVCB_OCPP.Domain/MainDBContextMigrations/201907310322180_Add_ChargeBoxId.Designer.cs

@@ -1,31 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_
-        
-        : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_ChargeBoxId));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907310322180_Add_ChargeBoxId"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 58
EVCB_OCPP.Domain/MainDBContextMigrations/201907310322180_Add_ChargeBoxId.cs

@@ -1,58 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_ChargeBoxId : DbMigration
-    {
-        public override void Up()
-        {
-            DropIndex("dbo.Machine", new[] { "ChargePointSerialNumber" });
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            DropIndex("dbo.TransactionRecord", "IX_MachineId");
-            AddColumn("dbo.ConnectorStatus", "ChargeBoxId", c => c.String(maxLength: 128));
-            AddColumn("dbo.Machine", "ChargeBoxId", c => c.String(maxLength: 128));
-            AddColumn("dbo.MachineConfigures", "ChargeBoxId", c => c.String(maxLength: 128));
-            AddColumn("dbo.MachineError", "ChargeBoxId", c => c.String(maxLength: 128));
-            AddColumn("dbo.MachineOperateRecord", "ChargeBoxId", c => c.String(maxLength: 128));
-            AddColumn("dbo.ServerMessage", "ChargeBoxId", c => c.String(maxLength: 128));
-            AddColumn("dbo.TransactionRecord", "ChargeBoxId", c => c.String(nullable: false, maxLength: 128));
-            AlterColumn("dbo.Machine", "HeartbeatUpdatedOn", c => c.DateTime(nullable: false));
-            AlterColumn("dbo.TransactionRecord", "ReportedOn", c => c.DateTime(nullable: false));
-            AlterColumn("dbo.TransactionRecord", "UpdatedOn", c => c.DateTime(nullable: false));
-            CreateIndex("dbo.TransactionRecord", new[] { "ChargeBoxId", "ConnectorId", "TransactionId", "StartTime" }, unique: true, name: "IX_1202_Issue_Report");
-            CreateIndex("dbo.TransactionRecord", "ChargeBoxId", name: "IX_MachineId");
-            DropColumn("dbo.ConnectorStatus", "ChargePointSerialNumber");
-            DropColumn("dbo.MachineConfigures", "ChargePointSerialNumber");
-            DropColumn("dbo.MachineError", "ChargePointSerialNumber");
-            DropColumn("dbo.MachineOperateRecord", "ChargePointSerialNumber");
-            DropColumn("dbo.ServerMessage", "ChargePointSerialNumber");
-            DropColumn("dbo.TransactionRecord", "chargePointSerialNumber");
-        }
-        
-        public override void Down()
-        {
-            AddColumn("dbo.TransactionRecord", "chargePointSerialNumber", c => c.String(nullable: false, maxLength: 25));
-            AddColumn("dbo.ServerMessage", "ChargePointSerialNumber", c => c.String(maxLength: 25));
-            AddColumn("dbo.MachineOperateRecord", "ChargePointSerialNumber", c => c.String(maxLength: 25));
-            AddColumn("dbo.MachineError", "ChargePointSerialNumber", c => c.String(maxLength: 25));
-            AddColumn("dbo.MachineConfigures", "ChargePointSerialNumber", c => c.String(maxLength: 25));
-            AddColumn("dbo.ConnectorStatus", "ChargePointSerialNumber", c => c.String(maxLength: 25));
-            DropIndex("dbo.TransactionRecord", "IX_MachineId");
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            AlterColumn("dbo.TransactionRecord", "UpdatedOn", c => c.DateTime());
-            AlterColumn("dbo.TransactionRecord", "ReportedOn", c => c.DateTime());
-            AlterColumn("dbo.Machine", "HeartbeatUpdatedOn", c => c.DateTime());
-            DropColumn("dbo.TransactionRecord", "ChargeBoxId");
-            DropColumn("dbo.ServerMessage", "ChargeBoxId");
-            DropColumn("dbo.MachineOperateRecord", "ChargeBoxId");
-            DropColumn("dbo.MachineError", "ChargeBoxId");
-            DropColumn("dbo.MachineConfigures", "ChargeBoxId");
-            DropColumn("dbo.Machine", "ChargeBoxId");
-            DropColumn("dbo.ConnectorStatus", "ChargeBoxId");
-            CreateIndex("dbo.TransactionRecord", "chargePointSerialNumber", name: "IX_MachineId");
-            CreateIndex("dbo.TransactionRecord", new[] { "chargePointSerialNumber", "ConnectorId", "TransactionId", "StartTime" }, unique: true, name: "IX_1202_Issue_Report");
-            CreateIndex("dbo.Machine", "ChargePointSerialNumber", unique: true);
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907310322180_Add_ChargeBoxId.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201907310323370_Add_ChargeBoxId1.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_ChargeBoxId1 : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_ChargeBoxId1));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201907310323370_Add_ChargeBoxId1"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201907310323370_Add_ChargeBoxId1.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_ChargeBoxId1 : DbMigration
-    {
-        public override void Up()
-        {
-            CreateIndex("dbo.Machine", "ChargeBoxId", unique: true);
-        }
-        
-        public override void Down()
-        {
-            DropIndex("dbo.Machine", new[] { "ChargeBoxId" });
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201907310323370_Add_ChargeBoxId1.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201908010827563_Add_MachineOperateRecord_RequestContent_Length.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_MachineOperateRecord_RequestContent_Length : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_MachineOperateRecord_RequestContent_Length));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201908010827563_Add_MachineOperateRecord_RequestContent_Length"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201908010827563_Add_MachineOperateRecord_RequestContent_Length.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_MachineOperateRecord_RequestContent_Length : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.MachineOperateRecord", "RequestContent", c => c.String(maxLength: 200));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.MachineOperateRecord", "RequestContent", c => c.String(maxLength: 36));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201908010827563_Add_MachineOperateRecord_RequestContent_Length.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201908020344588_Modified-ServerMessage-InMessageLength.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class ModifiedServerMessageInMessageLength : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(ModifiedServerMessageInMessageLength));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201908020344588_Modified-ServerMessage-InMessageLength"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201908020344588_Modified-ServerMessage-InMessageLength.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class ModifiedServerMessageInMessageLength : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 3000));
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 1000));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201908020344588_Modified-ServerMessage-InMessageLength.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201908020516275_Modified-ServerMessage-InMessageLengthMAX.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class ModifiedServerMessageInMessageLengthMAX : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(ModifiedServerMessageInMessageLengthMAX));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201908020516275_Modified-ServerMessage-InMessageLengthMAX"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201908020516275_Modified-ServerMessage-InMessageLengthMAX.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class ModifiedServerMessageInMessageLengthMAX : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String());
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "InMessage", c => c.String(maxLength: 3000));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201908020516275_Modified-ServerMessage-InMessageLengthMAX.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class ModifiedMachineOperateRecordEVSE_ValueMax : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(ModifiedMachineOperateRecordEVSE_ValueMax));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class ModifiedMachineOperateRecordEVSE_ValueMax : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.MachineOperateRecord", "EVSE_Value", c => c.String());
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.MachineOperateRecord", "EVSE_Value", c => c.String(maxLength: 250));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201908020541195_Modified-MachineOperateRecord-EVSE_ValueMax.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_CustomerFTP_ServerMessageUpdateOn : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_CustomerFTP_ServerMessageUpdateOn));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201908160852420_Add_CustomerFTP_ServerMessageUpdateOn"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 26
EVCB_OCPP.Domain/MainDBContextMigrations/201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.cs

@@ -1,26 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_CustomerFTP_ServerMessageUpdateOn : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.Customer", "FTPPath", c => c.String());
-            AddColumn("dbo.Customer", "FTPHost", c => c.String(maxLength: 50));
-            AddColumn("dbo.Customer", "FTPUser", c => c.String(maxLength: 20));
-            AddColumn("dbo.Customer", "FTPPassword", c => c.String(maxLength: 20));
-            AddColumn("dbo.ServerMessage", "UpdatedOn", c => c.DateTime(nullable: false));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.ServerMessage", "UpdatedOn");
-            DropColumn("dbo.Customer", "FTPPassword");
-            DropColumn("dbo.Customer", "FTPUser");
-            DropColumn("dbo.Customer", "FTPHost");
-            DropColumn("dbo.Customer", "FTPPath");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201908160852420_Add_CustomerFTP_ServerMessageUpdateOn.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201909170249297_Add_Machine_ConnectionType.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_Machine_ConnectionType : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_Machine_ConnectionType));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201909170249297_Add_Machine_ConnectionType"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/201909170249297_Add_Machine_ConnectionType.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_Machine_ConnectionType : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.Machine", "ConnectionType", c => c.Int(nullable: false));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.Machine", "ConnectionType");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201909170249297_Add_Machine_ConnectionType.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modify_ServerMessage_MachineOperate_FieldLength : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modify_ServerMessage_MachineOperate_FieldLength));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "201912170616522_Modify_ServerMessage_MachineOperate_FieldLength"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/MainDBContextMigrations/201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modify_ServerMessage_MachineOperate_FieldLength : DbMigration
-    {
-        public override void Up()
-        {
-            AlterColumn("dbo.MachineOperateRecord", "RequestContent", c => c.String());
-            AlterColumn("dbo.ServerMessage", "OutRequest", c => c.String());
-        }
-        
-        public override void Down()
-        {
-            AlterColumn("dbo.ServerMessage", "OutRequest", c => c.String(maxLength: 500));
-            AlterColumn("dbo.MachineOperateRecord", "RequestContent", c => c.String(maxLength: 200));
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/201912170616522_Modify_ServerMessage_MachineOperate_FieldLength.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202001130345443_Add_Column_MachineConfiure_Exists.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_Column_MachineConfiure_Exists : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_Column_MachineConfiure_Exists));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202001130345443_Add_Column_MachineConfiure_Exists"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/202001130345443_Add_Column_MachineConfiure_Exists.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_Column_MachineConfiure_Exists : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineConfigures", "Exists", c => c.Boolean(nullable: false));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.MachineConfigures", "Exists");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202001130345443_Add_Column_MachineConfiure_Exists.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202002180133171_Machine_AddRatedPower_ConnectorType.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Machine_AddRatedPower_ConnectorType : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Machine_AddRatedPower_ConnectorType));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202002180133171_Machine_AddRatedPower_ConnectorType"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 20
EVCB_OCPP.Domain/MainDBContextMigrations/202002180133171_Machine_AddRatedPower_ConnectorType.cs

@@ -1,20 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Machine_AddRatedPower_ConnectorType : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.Machine", "RatedPower", c => c.Int(nullable: false));
-            AddColumn("dbo.Machine", "ConnectorType", c => c.String(maxLength: 50));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.Machine", "ConnectorType");
-            DropColumn("dbo.Machine", "RatedPower");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202002180133171_Machine_AddRatedPower_ConnectorType.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202002210346267_Add_Action_MachineOperateRecord.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Add_Action_MachineOperateRecord : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Add_Action_MachineOperateRecord));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202002210346267_Add_Action_MachineOperateRecord"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/202002210346267_Add_Action_MachineOperateRecord.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Add_Action_MachineOperateRecord : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.MachineOperateRecord", "Action", c => c.String(maxLength: 30));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.MachineOperateRecord", "Action");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202002210346267_Add_Action_MachineOperateRecord.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class RemoveTransactionId_RenameFewField_AddMachineOperateRecord : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(RemoveTransactionId_RenameFewField_AddMachineOperateRecord));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 69
EVCB_OCPP.Domain/MainDBContextMigrations/202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.cs

@@ -1,69 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class RemoveTransactionId_RenameFewField_AddMachineOperateRecord : DbMigration
-    {
-        public override void Up()
-        {
-            DropIndex("dbo.ApiLogEntry", new[] { "RequestTimestamp" });
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            DropIndex("dbo.TransactionRecord", new[] { "TransactionId" });
-            DropPrimaryKey("dbo.TransactionRecord");
-            AddColumn("dbo.MachineOperateRecord", "ReportedOn", c => c.DateTime(nullable: false));
-            AddColumn("dbo.TransactionRecord", "RetryStopTransactionTimes", c => c.Int(nullable: false));
-            AlterColumn("dbo.TransactionRecord", "Id", c => c.Int(nullable: false, identity: true));
-            AddPrimaryKey("dbo.TransactionRecord", "Id");
-            CreateIndex("dbo.TransactionRecord", new[] { "ChargeBoxId", "ConnectorId", "StartTime" }, unique: true, name: "IX_1202_Issue_Report");
-            DropColumn("dbo.TransactionRecord", "TransactionId");
-            DropColumn("dbo.TransactionRecord", "ReportedOn");
-            DropColumn("dbo.TransactionRecord", "RtryStopTransactionTimes");
-            DropTable("dbo.ApiLogEntry");
-        }
-        
-        public override void Down()
-        {
-            CreateTable(
-                "dbo.ApiLogEntry",
-                c => new
-                    {
-                        ApiLogEntryId = c.Long(nullable: false, identity: true),
-                        Application = c.String(),
-                        User = c.String(),
-                        Machine = c.String(),
-                        RequestIpAddress = c.String(),
-                        RequestContentType = c.String(),
-                        RequestContentBody = c.String(),
-                        RequestUri = c.String(),
-                        RequestMethod = c.String(),
-                        RequestRouteTemplate = c.String(),
-                        RequestRouteData = c.String(),
-                        RequestHeaders = c.String(),
-                        RequestTimestamp = c.DateTime(),
-                        ResponseContentType = c.String(),
-                        ResponseContentBody = c.String(),
-                        ResponseStatusCode = c.Int(),
-                        ResponseHeaders = c.String(),
-                        ResponseTimestamp = c.DateTime(),
-                        IsOutData = c.Boolean(nullable: false),
-                        ErrorMsg = c.String(),
-                        ErrorOn = c.DateTime(),
-                    })
-                .PrimaryKey(t => t.ApiLogEntryId);
-            
-            AddColumn("dbo.TransactionRecord", "RtryStopTransactionTimes", c => c.Int(nullable: false));
-            AddColumn("dbo.TransactionRecord", "ReportedOn", c => c.DateTime(nullable: false));
-            AddColumn("dbo.TransactionRecord", "TransactionId", c => c.Int(nullable: false));
-            DropIndex("dbo.TransactionRecord", "IX_1202_Issue_Report");
-            DropPrimaryKey("dbo.TransactionRecord");
-            AlterColumn("dbo.TransactionRecord", "Id", c => c.Long(nullable: false, identity: true));
-            DropColumn("dbo.TransactionRecord", "RetryStopTransactionTimes");
-            DropColumn("dbo.MachineOperateRecord", "ReportedOn");
-            AddPrimaryKey("dbo.TransactionRecord", "Id");
-            CreateIndex("dbo.TransactionRecord", "TransactionId");
-            CreateIndex("dbo.TransactionRecord", new[] { "ChargeBoxId", "ConnectorId", "TransactionId", "StartTime" }, unique: true, name: "IX_1202_Issue_Report");
-            CreateIndex("dbo.ApiLogEntry", "RequestTimestamp");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202004170135337_RemoveTransactionId_RenameFewField_AddMachineOperateRecord.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202004170157424_Rename_MachineConfiguration.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Rename_MachineConfiguration : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Rename_MachineConfiguration));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202004170157424_Rename_MachineConfiguration"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 18
EVCB_OCPP.Domain/MainDBContextMigrations/202004170157424_Rename_MachineConfiguration.cs

@@ -1,18 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Rename_MachineConfiguration : DbMigration
-    {
-        public override void Up()
-        {
-            RenameTable(name: "dbo.MachineConfigures", newName: "MachineConfigurations");
-        }
-        
-        public override void Down()
-        {
-            RenameTable(name: "dbo.MachineConfigurations", newName: "MachineConfigures");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202004170157424_Rename_MachineConfiguration.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202004230638409_AddMachine_ConnectorPowerType_Geo.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class AddMachine_ConnectorPowerType_Geo : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(AddMachine_ConnectorPowerType_Geo));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202004230638409_AddMachine_ConnectorPowerType_Geo"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 22
EVCB_OCPP.Domain/MainDBContextMigrations/202004230638409_AddMachine_ConnectorPowerType_Geo.cs

@@ -1,22 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class AddMachine_ConnectorPowerType_Geo : DbMigration
-    {
-        public override void Up()
-        {
-            AddColumn("dbo.Machine", "ConnectorPowerType", c => c.String(maxLength: 50));
-            AddColumn("dbo.Machine", "Latitude", c => c.Decimal(nullable: false, precision: 10, scale: 6));
-            AddColumn("dbo.Machine", "Longitude", c => c.Decimal(nullable: false, precision: 10, scale: 6));
-        }
-        
-        public override void Down()
-        {
-            DropColumn("dbo.Machine", "Longitude");
-            DropColumn("dbo.Machine", "Latitude");
-            DropColumn("dbo.Machine", "ConnectorPowerType");
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202004230638409_AddMachine_ConnectorPowerType_Geo.resx


+ 0 - 29
EVCB_OCPP.Domain/MainDBContextMigrations/202005250837509_Modify_UpdateFirmwareLogic.Designer.cs

@@ -1,29 +0,0 @@
-// <auto-generated />
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System.CodeDom.Compiler;
-    using System.Data.Entity.Migrations;
-    using System.Data.Entity.Migrations.Infrastructure;
-    using System.Resources;
-    
-    [GeneratedCode("EntityFramework.Migrations", "6.2.0-61023")]
-    public sealed partial class Modify_UpdateFirmwareLogic : IMigrationMetadata
-    {
-        private readonly ResourceManager Resources = new ResourceManager(typeof(Modify_UpdateFirmwareLogic));
-        
-        string IMigrationMetadata.Id
-        {
-            get { return "202005250837509_Modify_UpdateFirmwareLogic"; }
-        }
-        
-        string IMigrationMetadata.Source
-        {
-            get { return null; }
-        }
-        
-        string IMigrationMetadata.Target
-        {
-            get { return Resources.GetString("Target"); }
-        }
-    }
-}

+ 0 - 171
EVCB_OCPP.Domain/MainDBContextMigrations/202005250837509_Modify_UpdateFirmwareLogic.cs

@@ -1,171 +0,0 @@
-namespace EVCB_OCPP.Domain.MainDBContextMigrations
-{
-    using System;
-    using System.Data.Entity.Migrations;
-    
-    public partial class Modify_UpdateFirmwareLogic : DbMigration
-    {
-        public override void Up()
-        {
-            DropForeignKey("dbo.CustomerMachineComponent", "CustomerId", "dbo.Customer");
-            DropForeignKey("dbo.MachineComponent", "MachineModelId", "dbo.MachineModel");
-            DropForeignKey("dbo.MachineComponent", "MachinePartId", "dbo.MachinePart");
-            DropForeignKey("dbo.CustomerMachineComponent", "MachineComponentId", "dbo.MachineComponent");
-            DropForeignKey("dbo.MachineVersion", "MachineId", "dbo.Machine");
-            DropForeignKey("dbo.MachineVersionFile", "MachineVersionId", "dbo.MachineVersion");
-            DropForeignKey("dbo.PublishVersion", "CustomerMachineComponentId", "dbo.CustomerMachineComponent");
-            DropForeignKey("dbo.PublishVersionFile", "PublishVersionId", "dbo.PublishVersion");
-            DropForeignKey("dbo.PublishVersionFile", "UploadFileId", "dbo.UploadFile");
-            DropForeignKey("dbo.MachineVersion", "PublishVersionId", "dbo.PublishVersion");
-            DropForeignKey("dbo.Machine", "FW_AssignedMachineVersionId", "dbo.MachineVersion");
-            DropForeignKey("dbo.Machine", "MachineModelId", "dbo.MachineModel");
-            DropForeignKey("dbo.Machine", "MachinePartId", "dbo.MachinePart");
-            DropIndex("dbo.CustomerMachineComponent", new[] { "CustomerId" });
-            DropIndex("dbo.CustomerMachineComponent", new[] { "MachineComponentId" });
-            DropIndex("dbo.MachineComponent", new[] { "MachineModelId" });
-            DropIndex("dbo.MachineComponent", new[] { "MachinePartId" });
-            DropIndex("dbo.Machine", new[] { "FW_AssignedMachineVersionId" });
-            DropIndex("dbo.Machine", new[] { "MachineModelId" });
-            DropIndex("dbo.Machine", new[] { "MachinePartId" });
-            DropIndex("dbo.MachineVersion", new[] { "PublishVersionId" });
-            DropIndex("dbo.MachineVersion", new[] { "MachineId" });
-            DropIndex("dbo.MachineVersionFile", new[] { "MachineVersionId" });
-            DropIndex("dbo.PublishVersion", new[] { "CustomerMachineComponentId" });
-            DropIndex("dbo.PublishVersionFile", new[] { "PublishVersionId" });
-            DropIndex("dbo.PublishVersionFile", new[] { "UploadFileId" });
-            AddColumn("dbo.Machine", "VendorId", c => c.String(maxLength: 50));
-            AddColumn("dbo.Machine", "ModelName", c => c.String(maxLength: 50));
-            AddColumn("dbo.MachineVersionFile", "MachineId", c => c.Guid(nullable: false));
-            AddColumn("dbo.UploadFile", "VendorId", c => c.String(maxLength: 50));
-            AddColumn("dbo.UploadFile", "ModelName", c => c.String(maxLength: 50));
-            AddColumn("dbo.UploadFile", "ModuleId", c => c.Int(nullable: false));
-            DropColumn("dbo.Machine", "FW_AssignedMachineVersionId");
-            DropColumn("dbo.Machine", "MachineModelId");
-            DropColumn("dbo.Machine", "MachinePartId");
-            DropColumn("dbo.MachineVersionFile", "MachineVersionId");
-            DropTable("dbo.CustomerMachineComponent");
-            DropTable("dbo.MachineComponent");
-            DropTable("dbo.MachineModel");
-            DropTable("dbo.MachinePart");
-            DropTable("dbo.MachineVersion");
-            DropTable("dbo.PublishVersion");
-            DropTable("dbo.PublishVersionFile");
-        }
-        
-        public override void Down()
-        {
-            CreateTable(
-                "dbo.PublishVersionFile",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        PublishVersionId = c.Int(nullable: false),
-                        UploadFileId = c.Guid(nullable: false),
-                        Seq = c.Int(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.PublishVersion",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CreatedOn = c.DateTime(nullable: false),
-                        Version = c.Int(nullable: false),
-                        CustomerMachineComponentId = c.Int(nullable: false),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachineVersion",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CreatedOn = c.DateTime(nullable: false),
-                        PublishVersionId = c.Int(nullable: false),
-                        MachineId = c.String(nullable: false, maxLength: 36),
-                        UpdatedOn = c.DateTime(),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachinePart",
-                c => new
-                    {
-                        Id = c.Int(nullable: false),
-                        Desc = c.String(maxLength: 36),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachineModel",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        Name = c.String(maxLength: 36),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.MachineComponent",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        MachineModelId = c.Int(nullable: false),
-                        GunAmt = c.Int(),
-                        MachinePartId = c.Int(nullable: false),
-                        ModelName = c.String(),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            CreateTable(
-                "dbo.CustomerMachineComponent",
-                c => new
-                    {
-                        Id = c.Int(nullable: false, identity: true),
-                        CustomerId = c.Guid(nullable: false),
-                        MachineComponentId = c.Int(nullable: false),
-                        CreatedOn = c.DateTime(nullable: false),
-                        CreatedBy = c.String(maxLength: 50),
-                    })
-                .PrimaryKey(t => t.Id);
-            
-            AddColumn("dbo.MachineVersionFile", "MachineVersionId", c => c.Int(nullable: false));
-            AddColumn("dbo.Machine", "MachinePartId", c => c.Int(nullable: false));
-            AddColumn("dbo.Machine", "MachineModelId", c => c.Int(nullable: false));
-            AddColumn("dbo.Machine", "FW_AssignedMachineVersionId", c => c.Int());
-            DropColumn("dbo.UploadFile", "ModuleId");
-            DropColumn("dbo.UploadFile", "ModelName");
-            DropColumn("dbo.UploadFile", "VendorId");
-            DropColumn("dbo.MachineVersionFile", "MachineId");
-            DropColumn("dbo.Machine", "ModelName");
-            DropColumn("dbo.Machine", "VendorId");
-            CreateIndex("dbo.PublishVersionFile", "UploadFileId");
-            CreateIndex("dbo.PublishVersionFile", "PublishVersionId");
-            CreateIndex("dbo.PublishVersion", "CustomerMachineComponentId");
-            CreateIndex("dbo.MachineVersionFile", "MachineVersionId");
-            CreateIndex("dbo.MachineVersion", "MachineId");
-            CreateIndex("dbo.MachineVersion", "PublishVersionId");
-            CreateIndex("dbo.Machine", "MachinePartId");
-            CreateIndex("dbo.Machine", "MachineModelId");
-            CreateIndex("dbo.Machine", "FW_AssignedMachineVersionId");
-            CreateIndex("dbo.MachineComponent", "MachinePartId");
-            CreateIndex("dbo.MachineComponent", "MachineModelId");
-            CreateIndex("dbo.CustomerMachineComponent", "MachineComponentId");
-            CreateIndex("dbo.CustomerMachineComponent", "CustomerId");
-            AddForeignKey("dbo.Machine", "MachinePartId", "dbo.MachinePart", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.Machine", "MachineModelId", "dbo.MachineModel", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.Machine", "FW_AssignedMachineVersionId", "dbo.MachineVersion", "Id");
-            AddForeignKey("dbo.MachineVersion", "PublishVersionId", "dbo.PublishVersion", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.PublishVersionFile", "UploadFileId", "dbo.UploadFile", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.PublishVersionFile", "PublishVersionId", "dbo.PublishVersion", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.PublishVersion", "CustomerMachineComponentId", "dbo.CustomerMachineComponent", "Id");
-            AddForeignKey("dbo.MachineVersionFile", "MachineVersionId", "dbo.MachineVersion", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.MachineVersion", "MachineId", "dbo.Machine", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.CustomerMachineComponent", "MachineComponentId", "dbo.MachineComponent", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.MachineComponent", "MachinePartId", "dbo.MachinePart", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.MachineComponent", "MachineModelId", "dbo.MachineModel", "Id", cascadeDelete: true);
-            AddForeignKey("dbo.CustomerMachineComponent", "CustomerId", "dbo.Customer", "Id", cascadeDelete: true);
-        }
-    }
-}

File diff suppressed because it is too large
+ 0 - 120
EVCB_OCPP.Domain/MainDBContextMigrations/202005250837509_Modify_UpdateFirmwareLogic.resx


Some files were not shown because too many files changed in this diff