/// <summary> /// 用于向 TB_DefaultApplySetting EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToTB_DefaultApplySetting(TB_DefaultApplySetting tB_DefaultApplySetting) { base.AddObject("TB_DefaultApplySetting", tB_DefaultApplySetting); }
/// <summary> /// 创建新的 TB_DefaultApplySetting 对象。 /// </summary> /// <param name="settingId">SettingId 属性的初始值。</param> /// <param name="resumeId">ResumeId 属性的初始值。</param> /// <param name="createDate">CreateDate 属性的初始值。</param> /// <param name="expiredDate">ExpiredDate 属性的初始值。</param> /// <param name="resumeLanguage">ResumeLanguage 属性的初始值。</param> public static TB_DefaultApplySetting CreateTB_DefaultApplySetting(global::System.Int32 settingId, global::System.Int32 resumeId, global::System.DateTime createDate, global::System.DateTime expiredDate, global::System.Byte resumeLanguage) { TB_DefaultApplySetting tB_DefaultApplySetting = new TB_DefaultApplySetting(); tB_DefaultApplySetting.SettingId = settingId; tB_DefaultApplySetting.ResumeId = resumeId; tB_DefaultApplySetting.CreateDate = createDate; tB_DefaultApplySetting.ExpiredDate = expiredDate; tB_DefaultApplySetting.ResumeLanguage = resumeLanguage; return tB_DefaultApplySetting; }