/// <summary>
        /// Create a copy of a pre-1916 Illinois death record
        /// </summary>
        /// <param name="drSource">the death record to copy</param>
        /// <returns>an exact, but referentially distinct, copy of <paramref name="drSource"/></returns>
        public static IllinoisDeathIndexPre1916 CreatePre1916(IDeathRecord drSource)
        {
            if (drSource.DeathDate.Year > 1915)
                throw new ArgumentException("Death date \"" + drSource.DeathDate.ToShortDateString() + "\" is not pre-1916");

            IllinoisDeathIndexPre1916 drNew = new IllinoisDeathIndexPre1916();
            Initialize(drSource, drNew);
            return drNew;
        }
 /// <summary>
 /// Create a copy of an existing Illinois death record
 /// </summary>
 /// <param name="drSource">the death record to copy</param>
 /// <returns>an exact, but referentially distinct, copy of <paramref name="drSource"/></returns>
 public static IDeathRecord Create(IDeathRecord drSource)
 {
     IDeathRecord drNew;
     if (drSource.DeathDate.Year < 1916)
         drNew = new IllinoisDeathIndexPre1916();
     else
         drNew = new IllinoisDeathIndexPost1915();
     Initialize(drSource, drNew);
     return drNew;
 }
 partial void DeleteIllinoisDeathIndexPre1916(IllinoisDeathIndexPre1916 instance);
 partial void UpdateIllinoisDeathIndexPre1916(IllinoisDeathIndexPre1916 instance);
 partial void InsertIllinoisDeathIndexPre1916(IllinoisDeathIndexPre1916 instance);
		private void detach_IllinoisDeathIndexPre1916s(IllinoisDeathIndexPre1916 entity)
		{
			this.SendPropertyChanging();
			entity.GenderIndex1 = null;
		}