diff options
author | marcinzelent <marcin@zelent.net> | 2017-05-22 13:00:42 +0200 |
---|---|---|
committer | marcinzelent <marcin@zelent.net> | 2017-05-22 13:00:42 +0200 |
commit | b9aa21de49f96aa2e951aeec702dc3d16368351b (patch) | |
tree | c0c9ec059fbe342e18086d513004a4ce442b47d4 /ApartmentManager/HousingWebApi/Models | |
parent | 590ce43270fa4f825d964b571c50e2542b2fb15b (diff) |
Fixed more errors.
Diffstat (limited to 'ApartmentManager/HousingWebApi/Models')
-rw-r--r-- | ApartmentManager/HousingWebApi/Models/AllResident.cs | 15 | ||||
-rw-r--r-- | ApartmentManager/HousingWebApi/Models/ApartmentResident.cs | 37 |
2 files changed, 0 insertions, 52 deletions
diff --git a/ApartmentManager/HousingWebApi/Models/AllResident.cs b/ApartmentManager/HousingWebApi/Models/AllResident.cs deleted file mode 100644 index 655ee84..0000000 --- a/ApartmentManager/HousingWebApi/Models/AllResident.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace HousingWebApi -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class AllResident - { - [Key] - [StringLength(20)] - public string FirstName { get; set; } - } -} diff --git a/ApartmentManager/HousingWebApi/Models/ApartmentResident.cs b/ApartmentManager/HousingWebApi/Models/ApartmentResident.cs deleted file mode 100644 index 092c95f..0000000 --- a/ApartmentManager/HousingWebApi/Models/ApartmentResident.cs +++ /dev/null @@ -1,37 +0,0 @@ -namespace HousingWebApi -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class ApartmentResident - { - [Key] - [Column(Order = 0)] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int ApartmentNumber { get; set; } - - [Key] - [Column(Order = 1)] - [StringLength(20)] - public string FirstName { get; set; } - - [Key] - [Column(Order = 2)] - [StringLength(20)] - public string LastName { get; set; } - - [Column(TypeName = "date")] - public DateTime? BirthDate { get; set; } - - public int? PhoneNo { get; set; } - - [StringLength(30)] - public string Email { get; set; } - - [Column(TypeName = "image")] - public byte[] Picture { get; set; } - } -} |