diff --git a/Plattform/Plattform/Models/Customer.cs b/Plattform/Plattform/Models/Customer.cs deleted file mode 100644 index aebc1c2..0000000 --- a/Plattform/Plattform/Models/Customer.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Runtime.Serialization; -using System.ComponentModel.DataAnnotations.Schema; - -namespace Plattform.Models -{ - [Table("Customers")] - [DataContract] - public class Customer : Person - { - public Customer() { } - public Customer(string firstName, string lastName, Gender gender, - Salutation salutation, string streetName, string - streetNumber, City city) - { - this.FirstName = firstName; - this.LastName = lastName; - this.Gender = gender; - this.Salutation = salutation; - this.StreetName = streetName; - this.StreetNumber = streetNumber; - this.City = city; - } - } -} diff --git a/Plattform/Plattform/Models/Person.cs b/Plattform/Plattform/Models/Person.cs index a82c20e..d514f4c 100644 --- a/Plattform/Plattform/Models/Person.cs +++ b/Plattform/Plattform/Models/Person.cs @@ -4,7 +4,6 @@ using System.Runtime.Serialization; namespace Plattform.Models { [DataContract] - [KnownType(typeof(Customer))] public class Person { [DataMember]