/// <summary>
 /// Deprecated Method for adding a new object to the IDCards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToIDCards(IDCard iDCard)
 {
     base.AddObject("IDCards", iDCard);
 }
 /// <summary>
 /// Create a new IDCard object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="chineseName">Initial value of the ChineseName property.</param>
 /// <param name="iDCardNo">Initial value of the IDCardNo property.</param>
 public static IDCard CreateIDCard(global::System.Int32 id, global::System.Guid userId, global::System.String chineseName, global::System.String iDCardNo)
 {
     IDCard iDCard = new IDCard();
     iDCard.Id = id;
     iDCard.UserId = userId;
     iDCard.ChineseName = chineseName;
     iDCard.IDCardNo = iDCardNo;
     return iDCard;
 }