context: using System;
  using System.ComponentModel;
  using System.Data.Linq.Mapping;
  
  namespace CmsData.View
  {
      [Table(Name = "CheckinFamilyMembers")]
      public partial class CheckinFamilyMember
      {
          private static PropertyChangingEventArgs emptyChangingEventArgs => new PropertyChangingEventArgs("");
  
          private int? _Id;
  
          private int? _Position;
  
          private string _MemberVisitor;
  
          private string _Name;
  
          private string _First;
  
          private string _PreferredName;
  
          private string _AltName;
  
          private string _Last;
  
          private int? _BYear;
  
          private int? _BMon;
  
          private int? _BDay;
  
          private string _ClassX;
  
          private string _Leader;
  
          private int? _OrgId;
  
          private string _Location;
  
          private int? _Age;
  
          private string _Gender;
  
          private int? _NumLabels;
  
          private DateTime? _Hour;
  
          private bool? _CheckedIn;
  
          private string _Goesby;
  
          private string _Email;
  
          private string _Addr;
  
          private string _Zip;
  
          private string _Home;
  
          private string _Cell;
  
          private int? _Marital;
  
          private int? _Genderid;
  
          private int? _CampusId;
  
          private string _Allergies;
  
          private string _Emfriend;
  
          private string _Emphone;
  
          private bool? _Activeother;
  
          private string _Parent;
  
          private int? _Grade;
  
          private bool? _HasPicture;
  
          private bool? _Custody;
  
          private bool? _Transport;
  
          private bool? _RequiresSecurityLabel;
  
          private string _Church;
  
          public CheckinFamilyMember()
          {
          }
  
          [Column(Name = "Id", Storage = "_Id", DbType = "int")]
          public int? Id
          {
              get => _Id;
  
              set
              {
                  if (_Id != value)
                  {
                      _Id = value;
                  }
              }
          }
  
          [Column(Name = "Position", Storage = "_Position", DbType = "int")]
          public int? Position
          {
              get => _Position;
  
              set
              {
                  if (_Position != value)
                  {
                      _Position = value;
                  }
              }
          }
  
          [Column(Name = "MemberVisitor", Storage = "_MemberVisitor", DbType = "char(1)")]
          public string MemberVisitor
          {
              get => _MemberVisitor;
  
              set
              {
                  if (_MemberVisitor != value)
                  {
                      _MemberVisitor = value;
                  }
              }
          }
  
          [Column(Name = "Name", Storage = "_Name", DbType = "nvarchar(150)")]
          public string Name
          {
              get => _Name;
  
              set
              {
                  if (_Name != value)
                  {
                      _Name = value;
                  }
              }
          }
  
          [Column(Name = "First", Storage = "_First", DbType = "nvarchar(50)")]
          public string First
          {
              get => _First;
  
              set
              {
                  if (_First != value)
                  {
                      _First = value;
                  }
              }
          }
  
          [Column(Name = "PreferredName", Storage = "_PreferredName", DbType = "nvarchar(50)")]
          public string PreferredName
          {
              get => _PreferredName;
  
              set
              {
                  if (_PreferredName != value)
                  {
                      _PreferredName = value;
                  }
              }
          }
  
          [Column(Name = "AltName", Storage = "_AltName", DbType = "nvarchar(50)")]
          public string AltName
          {
              get => _AltName;
  
              set
              {
                  if (_AltName != value)
                  {
                      _AltName = value;
                  }
              }
          }
  
          [Column(Name = "Last", Storage = "_Last", DbType = "nvarchar(100)")]
          public string Last
          {
              get => _Last;
  
              set
              {
                  if (_Last != value)
                  {
                      _Last = value;
                  }
              }
          }
  
          [Column(Name = "BYear", Storage = "_BYear", DbType = "int")]
          public int? BYear
          {
              get => _BYear;
  
              set
              {
                  if (_BYear != value)
                  {
                      _BYear = value;
                  }
              }
          }
  
  
gt:         [Column(Name = "BMon", Storage = "_BMon", DbType = "int")]