test_onlinetest_man_Mapping.cs 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated from a template.
  4. //
  5. // Manual changes to this file may cause unexpected behavior in your application.
  6. // Manual changes to this file will be overwritten if the code is regenerated.
  7. // </auto-generated>
  8. //------------------------------------------------------------------------------
  9. namespace EMISOnline.Entities
  10. {
  11. #pragma warning disable 1573
  12. using System;
  13. using System.Collections.Generic;
  14. using System.ComponentModel.DataAnnotations;
  15. using System.Data.Common;
  16. using System.Data.Entity;
  17. using System.Data.Entity.ModelConfiguration;
  18. using System.Data.Entity.Infrastructure;
  19. using System.ComponentModel.DataAnnotations.Schema;
  20. internal partial class test_onlinetest_man_Mapping : EntityTypeConfiguration<test_onlinetest_man>
  21. {
  22. public test_onlinetest_man_Mapping()
  23. {
  24. this.HasKey(t => new {t.ID, t.name, t.username, t.filled});
  25. this.ToTable("test_onlinetest_man", "EMISOnlineContextStoreContainer");
  26. this.Property(t => t.ID).HasColumnName("ID");
  27. this.Property(t => t.onlinetest_id).HasColumnName("onlinetest_id");
  28. this.Property(t => t.user_id).HasColumnName("user_id").IsUnicode(false).HasMaxLength(50);
  29. this.Property(t => t.OrgId).HasColumnName("OrgId").IsUnicode(false).HasMaxLength(50);
  30. this.Property(t => t.name).HasColumnName("name").IsRequired().IsUnicode(false).HasMaxLength(500);
  31. this.Property(t => t.username).HasColumnName("username").IsRequired().IsUnicode(false).HasMaxLength(500);
  32. this.Property(t => t.sex).HasColumnName("sex").IsUnicode(false).IsFixedLength().HasMaxLength(1);
  33. this.Property(t => t.mobile_num).HasColumnName("mobile_num").IsUnicode(false).HasMaxLength(200);
  34. this.Property(t => t.created_by).HasColumnName("created_by").IsUnicode(false).HasMaxLength(50);
  35. this.Property(t => t.created_date).HasColumnName("created_date");
  36. this.Property(t => t.loginCount).HasColumnName("loginCount");
  37. this.Property(t => t.lastLoginTime).HasColumnName("lastLoginTime");
  38. this.Property(t => t.beginTime).HasColumnName("beginTime");
  39. this.Property(t => t.endTime).HasColumnName("endTime");
  40. this.Property(t => t.limited_minutes).HasColumnName("limited_minutes");
  41. this.Property(t => t.state).HasColumnName("state");
  42. this.Property(t => t.warning_count).HasColumnName("warning_count");
  43. this.Property(t => t.lastModified).HasColumnName("lastModified");
  44. this.Property(t => t.relogin_count).HasColumnName("relogin_count");
  45. this.Property(t => t.time_of_filling).HasColumnName("time_of_filling");
  46. this.Property(t => t.filled).HasColumnName("filled");
  47. }
  48. }
  49. }