/// <summary> /// Deprecated Method for adding a new object to the Trials EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrials(Trial trial) { base.AddObject("Trials", trial); }
/// <summary> /// Create a new Trial object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="profile">Initial value of the Profile property.</param> public static Trial CreateTrial(global::System.Guid id, global::System.String profile) { Trial trial = new Trial(); trial.Id = id; trial.Profile = profile; return trial; }