this is common database context (using Microsoft.EntityFramework) which can be used by another class library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

79 lines
2.8 KiB

using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace ACLib.P2.AppContext.Models
{
public partial class AC_Users
{
[Key]
public int ID { get; set; }
public string UserName { get; set; }
}
public partial class AC_ApplicantInfo
{
public string AptUnit_HT { get; set; }
public string StreetNo_HT { get; set; }
public string StreetAddress_HT { get; set; }
public string City_HT { get; set; }
public string Province_HT { get; set; }
public int? CountryID_HT { get; set; }
public string PostCode_HT { get; set; }
public string ContactInfo_HT { get; set; }
public string Address_HT { get; set; }
public string EmContactName { get; set; }
public string PoBox_HT { get; set; }
public string EmContactRelationship { get; set; }
public string EmContactEmail { get; set; }
public string ApplicationNote { get; set; }
public string Picture { get; set; }
public string NickName { get; set; }
public string FirstLanguage { get; set; }
public string AuthorizedPerson { get; set; }
public bool EmailVerified { get; set; }
public DateTime? CreateDate { get; set; }
public DateTime? UpdateDate { get; set; }
public string EmContactPhone { get; set; }
public int? NationalityID { get; set; }
public int? CountryID { get; set; }
[Key]
public int ID { get; set; }
public int? ApplicationID { get; set; }
public int? UserTypeID { get; set; }
public string StudentID { get; set; }
public int? ApplicationID_Previous { get; set; }
public string StudentID_Previous { get; set; }
public string Title { get; set; }
public string FirstName { get; set; }
public string MiddleName { get; set; }
public string LastName { get; set; }
public string PostCode { get; set; }
public string Gender { get; set; }
public string Phone { get; set; }
public string Cell { get; set; }
public string Email { get; set; }
public string PoBox { get; set; }
public string AptUnit { get; set; }
public string StreetNo { get; set; }
public string StreetName { get; set; }
public string StreetAddress { get; set; }
public string City { get; set; }
public string Province { get; set; }
public DateTime? Birthday { get; set; }
[ForeignKey("CountryID")]
public virtual AC_Countries AC_Countries { get; set; }
}
public record AC_Countries
{
[Key]
public int CountryID { get; set; }
public string CountryName { get; set; }
public int AgencyZoneID { get; set; }
}
}