public AEViewModel(ADVERSE_EVENT obj) { if (obj != null) { Model = obj; } }
public void DeleteAE(ADVERSE_EVENT obj) { underlyingContext.AEs.DeleteObject(obj); }
/// <summary> /// Deprecated Method for adding a new object to the AEs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAEs(ADVERSE_EVENT aDVERSE_EVENT) { base.AddObject("AEs", aDVERSE_EVENT); }
/// <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; }