/// <summary> /// Create a new ReportTarget object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="computerId">Initial value of the ComputerId property.</param> /// <param name="reportId">Initial value of the ReportId property.</param> public static ReportTarget CreateReportTarget(global::System.Int64 id, global::System.Int64 computerId, global::System.Guid reportId) { ReportTarget reportTarget = new ReportTarget(); reportTarget.Id = id; reportTarget.ComputerId = computerId; reportTarget.ReportId = reportId; return reportTarget; }
/// <summary> /// Deprecated Method for adding a new object to the ReportTargets EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReportTargets(ReportTarget reportTarget) { base.AddObject("ReportTargets", reportTarget); }