zhaw-dnet2/Tasks/Lab9/EntityFramework/EF6/Flughafen.cs

38 lines
1.6 KiB
C#
Raw Normal View History

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// 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 EF6
{
using System;
using System.Collections.Generic;
public partial class Flughafen
{
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public Flughafen()
{
this.Flug = new HashSet<Flug>();
this.Flug1 = new HashSet<Flug>();
this.Fluglinie = new HashSet<Fluglinie>();
}
public short Flughafen_ID { get; set; }
public string IATA { get; set; }
public string ICAO { get; set; }
public string Name { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Flug> Flug { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Flug> Flug1 { get; set; }
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
public virtual ICollection<Fluglinie> Fluglinie { get; set; }
}
}