/// <summary> /// 用于向 TB_JobSeminar EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB_JobSeminar(TB_JobSeminar tB_JobSeminar) { base.AddObject("TB_JobSeminar", tB_JobSeminar); }
/// <summary> /// 创建新的 TB_JobSeminar 对象。 /// </summary> /// <param name="seminarId">SeminarId 属性的初始值。</param> /// <param name="address">Address 属性的初始值。</param> /// <param name="occurDate">OccurDate 属性的初始值。</param> /// <param name="occurDuration">OccurDuration 属性的初始值。</param> /// <param name="seminarName">SeminarName 属性的初始值。</param> public static TB_JobSeminar CreateTB_JobSeminar(global::System.Int32 seminarId, global::System.String address, global::System.DateTime occurDate, global::System.String occurDuration, global::System.String seminarName) { TB_JobSeminar tB_JobSeminar = new TB_JobSeminar(); tB_JobSeminar.SeminarId = seminarId; tB_JobSeminar.Address = address; tB_JobSeminar.OccurDate = occurDate; tB_JobSeminar.OccurDuration = occurDuration; tB_JobSeminar.SeminarName = seminarName; return tB_JobSeminar; }