April 2017
Intermediate to advanced
564 pages
24h 7m
English
The following is the ServiceRequest class that will be used to submit the service requests of the tenant:
[Description("To store Service Requests submitted by Tenants")] [Table("ServiceRequest")] public class ServiceRequest : BaseEntity { [Key] public long ID { get; set; } public long TenantID { get; set; } [ForeignKey("TenantID")] public virtual Tenant Tenant { get; set; } [MaxLength(1000)] public string Description { get; set; } [MaxLength(300)] public string EmployeeComments { get; set; } public int StatusID { get; set; } [ForeignKey("StatusID")] public virtual Status Status { get; set; } }
Please refer to the code provided with this book to define more entities.
Read now
Unlock full access