remove the customer class

This commit is contained in:
Andreas Zweili 2018-08-21 21:04:02 +02:00
parent 47c1ac01c1
commit 5fe10fc9de
2 changed files with 0 additions and 25 deletions

View File

@ -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;
}
}
}

View File

@ -4,7 +4,6 @@ using System.Runtime.Serialization;
namespace Plattform.Models
{
[DataContract]
[KnownType(typeof(Customer))]
public class Person
{
[DataMember]