context: using System;
  using System.ComponentModel;
  using System.Data.Linq.Mapping;
  
  namespace CmsData.View
  {
      [Table(Name = "CurrOrgMembers")]
      public partial class CurrOrgMember
      {
          private static PropertyChangingEventArgs emptyChangingEventArgs => new PropertyChangingEventArgs("");
  
          private int _OrganizationId;
  
          private string _OrganizationName;
  
          private string _FirstName;
  
          private string _LastName;
  
          private string _Gender;
  
          private int? _Grade;
  
          private string _ShirtSize;
  
          private string _Request;
  
          private decimal _Amount;
  
          private decimal _AmountPaid;
  
          private int _HasBalance;
  
          private string _Groups;
  
          private string _Email;
  
          private string _HomePhone;
  
          private string _CellPhone;
  
          private string _WorkPhone;
  
          private int? _Age;
  
          private DateTime? _BirthDate;
  
          private DateTime? _JoinDate;
  
          private string _MemberStatus;
  
          private string _SchoolOther;
  
          private DateTime? _LastAttend;
  
          private decimal? _AttendPct;
  
          private string _AttendStr;
  
          private string _MemberType;
  
          private string _MemberInfo;
  
          private DateTime? _InactiveDate;
  
          private string _Medical;
  
          private int _PeopleId;
  
          private DateTime? _EnrollDate;
  
          private int? _Tickets;
  
          public CurrOrgMember()
          {
          }
  
          [Column(Name = "OrganizationId", Storage = "_OrganizationId", DbType = "int NOT NULL")]
          public int OrganizationId
          {
              get => _OrganizationId;
  
              set
              {
                  if (_OrganizationId != value)
                  {
                      _OrganizationId = value;
                  }
              }
          }
  
          [Column(Name = "OrganizationName", Storage = "_OrganizationName", DbType = "nvarchar(100) NOT NULL")]
          public string OrganizationName
          {
              get => _OrganizationName;
  
              set
              {
                  if (_OrganizationName != value)
                  {
                      _OrganizationName = value;
                  }
              }
          }
  
          [Column(Name = "FirstName", Storage = "_FirstName", DbType = "nvarchar(50)")]
          public string FirstName
          {
              get => _FirstName;
  
              set
              {
                  if (_FirstName != value)
                  {
                      _FirstName = value;
                  }
              }
          }
  
          [Column(Name = "LastName", Storage = "_LastName", DbType = "nvarchar(100) NOT NULL")]
          public string LastName
          {
              get => _LastName;
  
              set
              {
                  if (_LastName != value)
                  {
                      _LastName = value;
                  }
              }
          }
  
          [Column(Name = "Gender", Storage = "_Gender", DbType = "nvarchar(20)")]
          public string Gender
          {
              get => _Gender;
  
              set
              {
                  if (_Gender != value)
                  {
                      _Gender = value;
                  }
              }
          }
  
          [Column(Name = "Grade", Storage = "_Grade", DbType = "int")]
          public int? Grade
          {
              get => _Grade;
  
              set
              {
                  if (_Grade != value)
                  {
                      _Grade = value;
                  }
              }
          }
  
          [Column(Name = "ShirtSize", Storage = "_ShirtSize", DbType = "nvarchar(50)")]
          public string ShirtSize
          {
              get => _ShirtSize;
  
              set
              {
                  if (_ShirtSize != value)
                  {
                      _ShirtSize = value;
                  }
              }
          }
  
          [Column(Name = "Request", Storage = "_Request", DbType = "nvarchar(140)")]
          public string Request
          {
              get => _Request;
  
              set
              {
                  if (_Request != value)
                  {
                      _Request = value;
                  }
              }
          }
  
          [Column(Name = "Amount", Storage = "_Amount", DbType = "money NOT NULL")]
          public decimal Amount
          {
              get => _Amount;
  
              set
              {
                  if (_Amount != value)
                  {
                      _Amount = value;
                  }
              }
          }
  
          [Column(Name = "AmountPaid", Storage = "_AmountPaid", DbType = "money NOT NULL")]
          public decimal AmountPaid
          {
              get => _AmountPaid;
  
              set
              {
                  if (_AmountPaid != value)
                  {
                      _AmountPaid = value;
                  }
              }
          }
  
          [Column(Name = "HasBalance", Storage = "_HasBalance", DbType = "int NOT NULL")]
          public int HasBalance
          {
              get => _HasBalance;
  
              set
              {
                  if (_HasBalance != value)
                  {
                      _HasBalance = value;
                  }
              }
          }
  
          [Column(Name = "Groups", Storage = "_Groups", DbType = "nvarchar")]
          public string Groups
          {
              get => _Groups;
  
              set
              {
                  if (_Groups != value)
                  {
                      _Groups = value;
                  }
              }
          }
  
          [Column(Name = "Email", Storage = "_Email", DbType = "nvarchar(150)")]
          public string Email
          {
              get => _Email;
  
              set
              {
                  if (_Email != value)
                  {
                      _Email = value;
                  }
              }
          }
  
          [Column(Name = "HomePhone", Storage = "_HomePhone", DbType = "nvarchar(50)")]
          public string HomePhone
          {
              get => _HomePhone;
  
              set
              {
                  if (_HomePhone != value)
                  {
                      _HomePhone = value;
                  }
              }
          }
  
          [Column(Name = "CellPhone", Storage = "_CellPhone", DbType = "nvarchar(50)")]
          public string CellPhone
          {
              get => _CellPhone;
  
              set
              {
                  if (_CellPhone != value)
                  {
                      _CellPhone = value;
                  }
              }
          }
  
          [Column(Name = "WorkPhone", Storage = "_WorkPhone", DbType = "nvarchar(50)")]
          public string WorkPhone
          {
              get => _WorkPhone;
  
              set
              {
                  if (_WorkPhone != value)
                  {
                      _WorkPhone = value;
                  }
              }
          }
  
          [Column(Name = "Age", Storage = "_Age", DbType = "int")]
          public int? Age
          {
              get => _Age;
  
              set
              {
                  if (_Age != value)
                  {
                      _Age = value;
                  }
              }
          }
  
          [Column(Name = "BirthDate", Storage = "_BirthDate", DbType = "datetime")]
          public DateTime? BirthDate
          {
  
gt:             get => _BirthDate;