/// <summary>
 /// Create a new CustDet object.
 /// </summary>
 /// <param name="customerId">Initial value of CustomerId.</param>
 public static CustDet CreateCustDet(long customerId)
 {
     CustDet custDet = new CustDet();
     custDet.CustomerId = customerId;
     return custDet;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the CustDets EntitySet.
 /// </summary>
 public void AddToCustDets(CustDet custDet)
 {
     base.AddObject("CustDets", custDet);
 }