change debug information to x86 because Visual Studio is 32bit and fix inheritance form Access classes again
This commit is contained in:
parent
ca15e9c341
commit
059c976091
|
@ -8,13 +8,19 @@ EndProject
|
|||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|x86 = Debug|x86
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Debug|x86.Build.0 = Debug|x86
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Release|x86.ActiveCfg = Release|x86
|
||||
{611B075A-0526-4661-BD58-B141BD42E6D7}.Release|x86.Build.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace EHEC_Server.DatabaseAccess
|
||||
{
|
||||
public class Origin_ExamAccess
|
||||
{
|
||||
public Origin_Exam CreateOrigin_Exam(Origin_Exam origin_exam)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (EHEC_DBEntities ctx = new EHEC_DBEntities())
|
||||
{
|
||||
ctx.Origin_Exam.Add(origin_exam);
|
||||
ctx.SaveChanges();
|
||||
}
|
||||
return origin_exam;
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return new Origin_Exam();
|
||||
}
|
||||
}
|
||||
public List<Origin_Exam> GetAllOrigin_Exams()
|
||||
{
|
||||
using (EHEC_DBEntities ctx = new EHEC_DBEntities())
|
||||
{
|
||||
return ctx.Origin_Exam.ToList();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,34 +1,48 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
public partial class Doctor: DoctorAccess
|
||||
{
|
||||
|
||||
public partial class Doctor : DoctorAccess
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Doctor()
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Doctor()
|
||||
{
|
||||
this.Exam = new HashSet<Exam>();
|
||||
}
|
||||
|
||||
public int DoctorId { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public string DoctorOrigin { get; set; }
|
||||
public string Region { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Exam> Exam { get; set; }
|
||||
|
||||
this.Exam = new HashSet<Exam>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int DoctorId { get; set; }
|
||||
|
||||
public string FirstName { get; set; }
|
||||
|
||||
public string LastName { get; set; }
|
||||
|
||||
public string DoctorOrigin { get; set; }
|
||||
|
||||
public string Region { get; set; }
|
||||
|
||||
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
|
||||
public virtual ICollection<Exam> Exam { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -108,6 +108,7 @@
|
|||
<ItemGroup>
|
||||
<Compile Include="DatabaseAccess\DoctorAccess.cs" />
|
||||
<Compile Include="DatabaseAccess\OriginAccess.cs" />
|
||||
<Compile Include="DatabaseAccess\Origin_ExamAccess.cs" />
|
||||
<Compile Include="DatabaseAccess\PatientAccess.cs" />
|
||||
<Compile Include="DatabaseAccess\ResultAccess.cs" />
|
||||
<Compile Include="DataBuilder\DataSeeder.cs" />
|
||||
|
@ -163,6 +164,25 @@
|
|||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DebugType>full</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x86'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<OutputPath>bin\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<Optimize>true</Optimize>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" />
|
||||
|
|
|
@ -1,37 +1,55 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
|
||||
public partial class Exam : ExamAccess
|
||||
{
|
||||
|
||||
public partial class Exam : ExamAccess
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Exam()
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Exam()
|
||||
{
|
||||
this.Origin_Exam = new HashSet<Origin_Exam>();
|
||||
}
|
||||
|
||||
public int ExamId { get; set; }
|
||||
public int DoctorId { get; set; }
|
||||
public int PatientId { get; set; }
|
||||
public int OriginOriginId { get; set; }
|
||||
public int Result_ResultId { get; set; }
|
||||
|
||||
public virtual Doctor Doctor { get; set; }
|
||||
public virtual Patient Patient { get; set; }
|
||||
public virtual Result Result { get; set; }
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Origin_Exam> Origin_Exam { get; set; }
|
||||
|
||||
this.Origin_Exam = new HashSet<Origin_Exam>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int ExamId { get; set; }
|
||||
|
||||
public int DoctorId { get; set; }
|
||||
|
||||
public int PatientId { get; set; }
|
||||
|
||||
public int OriginOriginId { get; set; }
|
||||
|
||||
public int Result_ResultId { get; set; }
|
||||
|
||||
|
||||
|
||||
public virtual Doctor Doctor { get; set; }
|
||||
|
||||
public virtual Patient Patient { get; set; }
|
||||
|
||||
public virtual Result Result { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
|
||||
public virtual ICollection<Origin_Exam> Origin_Exam { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,36 +1,52 @@
|
|||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Infrastructure;
|
||||
|
||||
public partial class EHEC_DBEntities : DbContext
|
||||
|
||||
using System;
|
||||
using System.Data.Entity;
|
||||
using System.Data.Entity.Infrastructure;
|
||||
|
||||
|
||||
public partial class EHEC_DBEntities : DbContext
|
||||
{
|
||||
public EHEC_DBEntities()
|
||||
: base("name=EHEC_DBEntities")
|
||||
{
|
||||
public EHEC_DBEntities()
|
||||
: base("name=EHEC_DBEntities")
|
||||
{
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
throw new UnintentionalCodeFirstException();
|
||||
}
|
||||
|
||||
public virtual DbSet<Doctor> Doctor { get; set; }
|
||||
public virtual DbSet<Exam> Exam { get; set; }
|
||||
public virtual DbSet<Origin> Origin { get; set; }
|
||||
public virtual DbSet<Patient> Patient { get; set; }
|
||||
public virtual DbSet<Result> Result { get; set; }
|
||||
public virtual DbSet<Origin_Exam> Origin_Exam { get; set; }
|
||||
public virtual DbSet<sysdiagrams> sysdiagrams { get; set; }
|
||||
|
||||
}
|
||||
|
||||
protected override void OnModelCreating(DbModelBuilder modelBuilder)
|
||||
{
|
||||
throw new UnintentionalCodeFirstException();
|
||||
}
|
||||
|
||||
|
||||
public virtual DbSet<Doctor> Doctor { get; set; }
|
||||
|
||||
public virtual DbSet<Exam> Exam { get; set; }
|
||||
|
||||
public virtual DbSet<Origin> Origin { get; set; }
|
||||
|
||||
public virtual DbSet<Patient> Patient { get; set; }
|
||||
|
||||
public virtual DbSet<Result> Result { get; set; }
|
||||
|
||||
public virtual DbSet<Origin_Exam> Origin_Exam { get; set; }
|
||||
|
||||
public virtual DbSet<sysdiagrams> sysdiagrams { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Die T4-Codegenerierung ist für Modell 'C:\Users\ism_c\source\repos\oop_II-6\EHEC_Server\EHEC_Server\Model.edmx' aktiviert.
|
||||
// Um die Generierung von Legacycode zu aktivieren, ändern Sie den Wert der Designer-Eigenschaft 'Code Generation Strategy'
|
||||
// in 'Legacy ObjectContext'. Diese Eigenschaft wird im Eigenschaftenfenster angezeigt, wenn das Modell
|
||||
// im Designer geöffnet ist.
|
||||
// T4 code generation is enabled for model '\\Mac\Home\Life\Schule\IBZ\SW\OOP2\casestudy\EHEC_Server\EHEC_Server\Model.edmx'.
|
||||
// To enable legacy code generation, change the value of the 'Code Generation Strategy' designer
|
||||
// property to 'Legacy ObjectContext'. This property is available in the Properties Window when the model
|
||||
// is open in the designer.
|
||||
|
||||
// Wenn keine Kontextklasse und keine Entitätsklassen generiert wurden, kann dies daran liegen, dass Sie ein leeres Modell erstellt, aber
|
||||
// noch nicht die gewünschte Entity Framework-Version ausgewählt haben. Um eine Kontextklasse und
|
||||
// Entitätsklassen für das Modell zu generieren, öffnen Sie das Modell im Designer, klicken mit der rechten Maustaste auf die Designeroberfläche, und
|
||||
// wählen 'Modell aus der Datenbank aktualisieren', 'Datenbank aus Modell generieren' oder 'Codegenerierungselement
|
||||
// hinzufügen' aus.
|
||||
// If no context and entity classes have been generated, it may be because you created an empty model but
|
||||
// have not yet chosen which version of Entity Framework to use. To generate a context class and entity
|
||||
// classes for your model, open the model in the designer, right-click on the designer surface, and
|
||||
// select 'Update Model from Database...', 'Generate Database from Model...', or 'Add Code Generation
|
||||
// Item...'.
|
|
@ -1,9 +1,12 @@
|
|||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
|
|
|
@ -425,7 +425,7 @@
|
|||
<Options>
|
||||
<DesignerInfoPropertySet>
|
||||
<DesignerProperty Name="ValidateOnBuild" Value="true" />
|
||||
<DesignerProperty Name="EnablePluralization" Value="false" />
|
||||
<DesignerProperty Name="EnablePluralization" Value="True" />
|
||||
<DesignerProperty Name="IncludeForeignKeysInModel" Value="true" />
|
||||
<DesignerProperty Name="UseLegacyProvider" Value="false" />
|
||||
<DesignerProperty Name="CodeGenerationStrategy" Value="None" />
|
||||
|
|
|
@ -5,16 +5,16 @@
|
|||
<!-- Diagram content (shape and connector positions) -->
|
||||
<edmx:Diagrams>
|
||||
<Diagram DiagramId="09c9d242de5f41b186b4e8e8af51e2a7" Name="Diagram1">
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Doctor" Width="1.5" PointX="2.625" PointY="0.75" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Exam" Width="1.5" PointX="5.5" PointY="1.875" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Origin" Width="1.5" PointX="0.875" PointY="4.75" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Patient" Width="1.5" PointX="0.5" PointY="1.875" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Result" Width="1.5" PointX="9.125" PointY="2.625" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Doctor" Width="1.5" PointX="0.5" PointY="0.5" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Exam" Width="1.5" PointX="2.5" PointY="0.5" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Origin" Width="1.5" PointX="4.5" PointY="3" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Patient" Width="1.5" PointX="0.5" PointY="2.75" IsExpanded="true" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Result" Width="1.5" PointX="2.5" PointY="3.625" IsExpanded="true" />
|
||||
<AssociationConnector Association="EHEC_DBModel.FK_DoctorExam" ManuallyRouted="false" />
|
||||
<AssociationConnector Association="EHEC_DBModel.FK_PatientExam" ManuallyRouted="false" />
|
||||
<AssociationConnector Association="EHEC_DBModel.FK_ResultExam" ManuallyRouted="false" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Origin_Exam" Width="1.5" PointX="4.875" PointY="6.375" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.sysdiagrams" Width="1.5" PointX="0.5" PointY="7.375" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.Origin_Exam" Width="1.5" PointX="4.5" PointY="0.5" />
|
||||
<EntityTypeShape EntityType="EHEC_DBModel.sysdiagrams" Width="1.5" PointX="0.5" PointY="5.5" />
|
||||
<AssociationConnector Association="EHEC_DBModel.FK_Exam" />
|
||||
<AssociationConnector Association="EHEC_DBModel.FK_Origin" />
|
||||
</Diagram>
|
||||
|
|
|
@ -1,34 +1,48 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
|
||||
public partial class Origin : OriginAccess
|
||||
{
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Origin()
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Origin()
|
||||
{
|
||||
this.Origin_Exam = new HashSet<Origin_Exam>();
|
||||
}
|
||||
|
||||
public int OriginId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Street { get; set; }
|
||||
public string City { get; set; }
|
||||
public string Food { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Origin_Exam> Origin_Exam { get; set; }
|
||||
|
||||
this.Origin_Exam = new HashSet<Origin_Exam>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int OriginId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Street { get; set; }
|
||||
|
||||
public string City { get; set; }
|
||||
|
||||
public string Food { get; set; }
|
||||
|
||||
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
|
||||
public virtual ICollection<Origin_Exam> Origin_Exam { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,24 +1,36 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
|
||||
public partial class Origin_Exam
|
||||
public partial class Origin_Exam : Origin_ExamAccess
|
||||
{
|
||||
public int Origin_ExamId { get; set; }
|
||||
public int OriginOriginId { get; set; }
|
||||
public int ExamExamId { get; set; }
|
||||
|
||||
public virtual Exam Exam { get; set; }
|
||||
public virtual Origin Origin { get; set; }
|
||||
}
|
||||
|
||||
public int Origin_ExamId { get; set; }
|
||||
|
||||
public int OriginOriginId { get; set; }
|
||||
|
||||
public int ExamExamId { get; set; }
|
||||
|
||||
|
||||
|
||||
public virtual Exam Exam { get; set; }
|
||||
|
||||
public virtual Origin Origin { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,36 +1,52 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
|
||||
public partial class Patient : PatientAccess
|
||||
{
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Patient()
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Patient()
|
||||
{
|
||||
this.Exam = new HashSet<Exam>();
|
||||
}
|
||||
|
||||
public int PatientId { get; set; }
|
||||
public string FirstName { get; set; }
|
||||
public string LastName { get; set; }
|
||||
public System.DateTime BirthDate { get; set; }
|
||||
public string Street { get; set; }
|
||||
public string City { get; set; }
|
||||
public string Region { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Exam> Exam { get; set; }
|
||||
|
||||
this.Exam = new HashSet<Exam>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int PatientId { get; set; }
|
||||
|
||||
public string FirstName { get; set; }
|
||||
|
||||
public string LastName { get; set; }
|
||||
|
||||
public System.DateTime BirthDate { get; set; }
|
||||
|
||||
public string Street { get; set; }
|
||||
|
||||
public string City { get; set; }
|
||||
|
||||
public string Region { get; set; }
|
||||
|
||||
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
|
||||
public virtual ICollection<Exam> Exam { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,31 +1,43 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
using System.Linq;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
|
||||
public partial class Result : ResultAccess
|
||||
{
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Result()
|
||||
{
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
|
||||
public Result()
|
||||
{
|
||||
this.Exam = new HashSet<Exam>();
|
||||
}
|
||||
|
||||
public int ResultId { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
public virtual ICollection<Exam> Exam { get; set; }
|
||||
|
||||
this.Exam = new HashSet<Exam>();
|
||||
|
||||
}
|
||||
|
||||
|
||||
public int ResultId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
|
||||
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
|
||||
|
||||
public virtual ICollection<Exam> Exam { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,23 +1,33 @@
|
|||
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Der Code wurde von einer Vorlage generiert.
|
||||
// This code was generated from a template.
|
||||
//
|
||||
// Manuelle Änderungen an dieser Datei führen möglicherweise zu unerwartetem Verhalten der Anwendung.
|
||||
// Manuelle Änderungen an dieser Datei werden überschrieben, wenn der Code neu generiert wird.
|
||||
// Manual changes to this file may cause unexpected behavior in your application.
|
||||
// Manual changes to this file will be overwritten if the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
namespace EHEC_Server
|
||||
{
|
||||
using System;
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public partial class sysdiagrams
|
||||
{
|
||||
public string name { get; set; }
|
||||
public int principal_id { get; set; }
|
||||
public int diagram_id { get; set; }
|
||||
public Nullable<int> version { get; set; }
|
||||
public byte[] definition { get; set; }
|
||||
}
|
||||
using EHEC_Server.DatabaseAccess;
|
||||
public partial class sysdiagrams
|
||||
{
|
||||
|
||||
public string name { get; set; }
|
||||
|
||||
public int principal_id { get; set; }
|
||||
|
||||
public int diagram_id { get; set; }
|
||||
|
||||
public Nullable<int> version { get; set; }
|
||||
|
||||
public byte[] definition { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue