How to prevent field reset after EDMX update

I have the first EF 5.0 database model based on the Oracle 11G database as shown below:
model

BaseEntity (abstract)
Id

BaseHistoricalEntity (abstract)
EntityId
CreateDate
DeleteDate

TitleEntity
roller_ID
IsDraft
RegistryDate
LastModified
LastModifiedBy
TitleStatusId
BuildTypeId
OkvedId
DeliveryDate
TitleBuildCharacteristics
TitleTypeId
BasePriceId
KOSGU

All objects have a primary key ( Id). Therefore, they are derived from BaseEntity.

Title BaseHistoricalEntity.

EntityId
CreateDate
DeleteDate

:

BaseEntity- > BaseHistoricalEntity- > TitleEntity

/ / , EDMX, EDMX :

<ScalarProperty Name="EntityId" ColumnName="ENTITY_ID" />
<ScalarProperty Name="CreateDate" ColumnName="CREATE_DATE" />
<ScalarProperty Name="DeleteDate" ColumnName="DELETE_DATE" />

, ?

+4
1

: https://entityframework.codeplex.com/workitem/2351
EF Team Triage: (, , ). " " , ( ..), .
, , , . , .

0

Source: https://habr.com/ru/post/1545234/


All Articles