Database updates

This commit is contained in:
Andre Beging
2022-01-24 10:15:19 +01:00
parent 5adadf8646
commit 3cfac1a12d
13 changed files with 2149 additions and 55 deletions

View File

@@ -1,8 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityDeveloper Version="6.12.1395.0">
<EntityDeveloper Version="6.12.1338.0">
<ModelSettings xmlns:ed="http://devart.com/schemas/EntityDeveloper/1.0" ConnectionStringInAppConfig="False" TargetFramework="Net60" DetectTPTInheritance="True" EntityFrameworkCoreVersion="Version6" DetectFunctionBasedColumnDefault="True">
<Connection ConnectionString="" Provider="" />
<Generation />
<Generation>
<GeneratedFiles>
<File Name="FsContext.cs" DestinationFolder="FoodsharingSiegen.Server\Data" OverwriteMode="OverwriteIfAutoGenerated" />
<File Name="FsContext.Generated.cs" DestinationFolder="FoodsharingSiegen.Server\Data" />
<File Name="User.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" OverwriteMode="OverwriteIfAutoGenerated" />
<File Name="User.Generated.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" />
<File Name="InteractionProcess.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" OverwriteMode="OverwriteIfAutoGenerated" />
<File Name="InteractionProcess.Generated.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" />
<File Name="Prospect.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" OverwriteMode="OverwriteIfAutoGenerated" />
<File Name="Prospect.Generated.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" />
<File Name="InteractionDate.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" OverwriteMode="OverwriteIfAutoGenerated" />
<File Name="InteractionDate.Generated.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" />
<File Name="UserType.cs" DestinationFolder="FoodsharingSiegen.Contracts\Entity" />
</GeneratedFiles>
</Generation>
<DatabaseFirstNamingRules>
<EntitySet PluralizationName="Pluralize" />
<Class UseSchemaAsPrefix="False" PluralizeCollectionNavigationPropertyName="True" AddConstraintColumnsToNavigationPropertyName="False" RemoveUnderscores="True" AddUnderscores="False" RemoveInvalidCharacters="True" CodeCase="FirstLetterUppercase" AddPrefix="" AddSuffix="" RemovePrefixes="" RemoveSuffixes="" PluralizationName="Singularize" />
@@ -19,27 +33,27 @@
</Diagrams>
<Templates>
<Template Name="EF Core" Description="Use this template to generate classes for an Entity Framework Core model." Enabled="True" PredefinedTemplateName="EF Core C#">
<ed:Property Name="ValidationFramework" Type="EntityDeveloper.TemplateEngine.ValidationFramework, EntityDeveloper.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="ValidationFramework" Type="EntityDeveloper.TemplateEngine.ValidationFramework, EntityDeveloper.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ValidationFramework>None</ValidationFramework>
</ed:Property>
<ed:Property Name="ValidationErrorMessages" Type="EntityDeveloper.TemplateEngine.ValidationErrorMessages, EntityDeveloper.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="ValidationErrorMessages" Type="EntityDeveloper.TemplateEngine.ValidationErrorMessages, EntityDeveloper.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ValidationErrorMessages xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" />
</ed:Property>
<ed:Property Name="ContextOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="ContextOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<OutputInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Project />
<ProjectFolder />
<DestinationFolder>FoodsharingSiegen.Server\Data</DestinationFolder>
</OutputInfo>
</ed:Property>
<ed:Property Name="EntitiesOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="EntitiesOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<OutputInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Project />
<ProjectFolder />
<DestinationFolder>FoodsharingSiegen.Contracts\Entity</DestinationFolder>
</OutputInfo>
</ed:Property>
<ed:Property Name="EnumOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="EnumOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<OutputInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Project />
<ProjectFolder />
@@ -82,29 +96,29 @@
<ed:Property Name="JsonFileBasePath" Type="System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<string d6p1:nil="true" xmlns:d6p1="http://www.w3.org/2001/XMLSchema-instance" />
</ed:Property>
<ed:Property Name="PrimitiveDefaultValueGeneration" Type="EntityDeveloper.DefaultValueBehavior, EntityDeveloper.Orm.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="PrimitiveDefaultValueGeneration" Type="EntityDeveloper.DefaultValueBehavior, EntityDeveloper.Orm.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<DefaultValueBehavior>Literal</DefaultValueBehavior>
</ed:Property>
<ed:Property Name="CollectionPropertyType" Type="EntityDeveloper.EntityFrameworkCore.EFCoreCollectionPropertyType, EntityDeveloper.Orm.EntityFrameworkCore, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="CollectionPropertyType" Type="EntityDeveloper.EntityFrameworkCore.EFCoreCollectionPropertyType, EntityDeveloper.Orm.EntityFrameworkCore, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<EFCoreCollectionPropertyType>Default</EFCoreCollectionPropertyType>
</ed:Property>
<ed:Property Name="CollectionInitializationType" Type="EntityDeveloper.EntityFrameworkCore.EFCoreCollectionInitializationType, EntityDeveloper.Orm.EntityFrameworkCore, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="CollectionInitializationType" Type="EntityDeveloper.EntityFrameworkCore.EFCoreCollectionInitializationType, EntityDeveloper.Orm.EntityFrameworkCore, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<EFCoreCollectionInitializationType>Default</EFCoreCollectionInitializationType>
</ed:Property>
<ed:Property Name="NullableReferenceTypes" Type="EntityDeveloper.ReferenceTypeNullability, EntityDeveloper.Orm.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="NullableReferenceTypes" Type="EntityDeveloper.ReferenceTypeNullability, EntityDeveloper.Orm.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ReferenceTypeNullability>Default</ReferenceTypeNullability>
</ed:Property>
<ed:Property Name="SelfContainedEntityConfiguration" Type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<boolean>false</boolean>
</ed:Property>
<ed:Property Name="EntitiesConfigurationOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="EntitiesConfigurationOutput" Type="EntityDeveloper.TemplateEngine.OutputInfo, EntityDeveloper.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<OutputInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Project />
<ProjectFolder />
<DestinationFolder />
</OutputInfo>
</ed:Property>
<ed:Property Name="SerializationLibrary" Type="EntityDeveloper.SerializationLibrary, EntityDeveloper.Orm.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="SerializationLibrary" Type="EntityDeveloper.SerializationLibrary, EntityDeveloper.Orm.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<SerializationLibrary>None</SerializationLibrary>
</ed:Property>
<ed:Property Name="SerializeOriginalColumnNames" Type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@@ -113,7 +127,7 @@
<ed:Property Name="SerializeNullValues" Type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<boolean>true</boolean>
</ed:Property>
<ed:Property Name="SerializeNavigationProperties" Type="EntityDeveloper.NavigationPropertySerializationBehavior, EntityDeveloper.Orm.Common, Version=6.12.1395.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<ed:Property Name="SerializeNavigationProperties" Type="EntityDeveloper.NavigationPropertySerializationBehavior, EntityDeveloper.Orm.Common, Version=6.12.1338.0, Culture=neutral, PublicKeyToken=09af7300eec23701">
<NavigationPropertySerializationBehavior>All</NavigationPropertySerializationBehavior>
</ed:Property>
<ed:Property Name="GenerateSerializableAttributes" Type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">