Commit e5044e75 authored by Johan Vervloet's avatar Johan Vervloet

Refs #5654 - EF-metadata bijgewerkt zodat alles ook werkt met linux.

Meteen ok de testdabank bijgewerkt.
parent dadb3193
......@@ -262,6 +262,8 @@
<Property Name="Versie" Type="Binary" Nullable="true" ConcurrencyMode="Fixed" MaxLength="8" FixedLength="true" />
<NavigationProperty Name="GelieerdePersoon" Relationship="ChiroGroepModel.FK_CommunicatieVorm_GelieerdePersoon" FromRole="CommunicatieVorm" ToRole="GelieerdePersoon" />
<NavigationProperty Name="CommunicatieType" Relationship="ChiroGroepModel.FK_CommunicatieVorm_CommunicatieType" FromRole="CommunicatieVorm" ToRole="CommunicatieType" />
<Property Name="IsVerdacht" Type="Boolean" Nullable="false" />
<Property Name="LaatsteControle" Type="DateTime" Nullable="false" Precision="3" />
</EntityType>
<EntityType Name="GelieerdePersoon">
<Key>
......@@ -785,4 +787,4 @@
<Property Name="ID" Type="Int32" Nullable="false" />
<Property Name="WerkJaar" Type="Int32" />
</EntityType>
</Schema>
\ No newline at end of file
</Schema>
......@@ -48,6 +48,8 @@
<EntitySetMapping Name="CommunicatieVorm">
<EntityTypeMapping TypeName="IsTypeOf(ChiroGroepModel.CommunicatieVorm)">
<MappingFragment StoreEntitySet="CommunicatieVorm">
<ScalarProperty Name="LaatsteControle" ColumnName="LaatsteControle" />
<ScalarProperty Name="IsVerdacht" ColumnName="IsVerdacht" />
<ScalarProperty Name="Versie" ColumnName="Versie" />
<ScalarProperty Name="Voorkeur" ColumnName="Voorkeur" />
<ScalarProperty Name="IsGezinsgebonden" ColumnName="IsGezinsgebonden" />
......@@ -720,4 +722,4 @@
</EntityTypeMapping>
</EntitySetMapping>
</EntityContainerMapping>
</Mapping>
\ No newline at end of file
</Mapping>
......@@ -317,6 +317,8 @@
<Property Name="Voorkeur" Type="bit" Nullable="false" />
<Property Name="GelieerdePersoonID" Type="int" />
<Property Name="Versie" Type="timestamp" StoreGeneratedPattern="Computed" />
<Property Name="IsVerdacht" Type="bit" Nullable="false" />
<Property Name="LaatsteControle" Type="datetime" Nullable="false" />
</EntityType>
<EntityType Name="GelieerdePersoon">
<Key>
......@@ -1304,4 +1306,4 @@ warning 6002: The table/view 'gap_local.diag.vActiefLid' does not have a primary
<End Role="Uitstap" EntitySet="Uitstap" />
</AssociationSet>
</EntityContainer>
</Schema>
\ No newline at end of file
</Schema>
......@@ -373,7 +373,7 @@ SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [pers].[CommunicatieVorm]([Nota] [varchar](320) NULL, [Nummer] [varchar](160) NOT NULL, [CommunicatieVormID] [int] IDENTITY(1,1) NOT NULL, [CommunicatieTypeID] [int] NOT NULL, [IsGezinsgebonden] [bit] NOT NULL, [Voorkeur] [bit] NOT NULL, [GelieerdePersoonID] [int] NULL, [Versie] [timestamp] NULL)
CREATE TABLE [pers].[CommunicatieVorm]([Nota] [varchar](320) NULL, [Nummer] [varchar](160) NOT NULL, [CommunicatieVormID] [int] IDENTITY(1,1) NOT NULL, [CommunicatieTypeID] [int] NOT NULL, [IsGezinsgebonden] [bit] NOT NULL, [Voorkeur] [bit] NOT NULL, [GelieerdePersoonID] [int] NULL, [Versie] [timestamp] NULL, [IsVerdacht] [bit] NOT NULL DEFAULT(0), [LaatsteControle] [datetime] NOT NULL DEFAULT(getdate()))
GO
SET ANSI_PADDING OFF
GO
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment