예제 #1
0
 public AEViewModel(ADVERSE_EVENT obj)
 {
     if (obj != null)
     {
         Model = obj;
     }
 }
예제 #2
0
        public void DeleteAE(ADVERSE_EVENT obj)
        {
            underlyingContext.AEs.DeleteObject(obj);

        }
예제 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AEs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAEs(ADVERSE_EVENT aDVERSE_EVENT)
 {
     base.AddObject("AEs", aDVERSE_EVENT);
 }
예제 #4
0
 /// <summary>
 /// Create a new ADVERSE_EVENT object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="cRFId">Initial value of the CRFId property.</param>
 public static ADVERSE_EVENT CreateADVERSE_EVENT(global::System.Guid id, global::System.Guid cRFId)
 {
     ADVERSE_EVENT aDVERSE_EVENT = new ADVERSE_EVENT();
     aDVERSE_EVENT.Id = id;
     aDVERSE_EVENT.CRFId = cRFId;
     return aDVERSE_EVENT;
 }