From ae5cd6f77221dca1307d5a6c0851470e74412ead Mon Sep 17 00:00:00 2001
From: wells.liu <wells.liu@broconcentric.com>
Date: 星期二, 14 七月 2020 16:29:04 +0800
Subject: [PATCH] ef 数据迁移会包含子类

---
 src/Bro.M071.Model/Bro.M071.Model.csproj |   13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/src/Bro.M071.Model/Bro.M071.Model.csproj b/src/Bro.M071.Model/Bro.M071.Model.csproj
index ec2c1db..7ed1f05 100644
--- a/src/Bro.M071.Model/Bro.M071.Model.csproj
+++ b/src/Bro.M071.Model/Bro.M071.Model.csproj
@@ -46,7 +46,7 @@
   </PropertyGroup>
   <PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
     <DebugSymbols>true</DebugSymbols>
-    <OutputPath>bin\x64\Debug\</OutputPath>
+    <OutputPath>..\Debug\</OutputPath>
     <DefineConstants>DEBUG;TRACE</DefineConstants>
     <DebugType>full</DebugType>
     <PlatformTarget>x64</PlatformTarget>
@@ -108,6 +108,10 @@
   <ItemGroup>
     <Compile Include="BaseModel.cs" />
     <Compile Include="DBModel.cs" />
+    <Compile Include="Migrations\202007140824439_initDB.cs" />
+    <Compile Include="Migrations\202007140824439_initDB.designer.cs">
+      <DependentUpon>202007140824439_initDB.cs</DependentUpon>
+    </Compile>
     <Compile Include="Migrations\Configuration.cs" />
     <Compile Include="Model\KeyUnitData.cs" />
     <Compile Include="Model\MeasurementUnitResult.cs" />
@@ -127,5 +131,10 @@
       <Name>Bro.Common.Model</Name>
     </ProjectReference>
   </ItemGroup>
+  <ItemGroup>
+    <EmbeddedResource Include="Migrations\202007140824439_initDB.resx">
+      <DependentUpon>202007140824439_initDB.cs</DependentUpon>
+    </EmbeddedResource>
+  </ItemGroup>
   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
- </Project>
\ No newline at end of file
+</Project>
\ No newline at end of file

--
Gitblit v1.8.0