/// <summary> /// 用于向 Admin_SysErrorLog EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToAdmin_SysErrorLog(Admin_SysErrorLog admin_SysErrorLog) { base.AddObject("Admin_SysErrorLog", admin_SysErrorLog); }
/// <summary> /// 创建新的 Admin_SysErrorLog 对象。 /// </summary> /// <param name="id">ID 属性的初始值。</param> /// <param name="pageUrl">PageUrl 属性的初始值。</param> /// <param name="errorMsg">ErrorMsg 属性的初始值。</param> /// <param name="addTime">AddTime 属性的初始值。</param> public static Admin_SysErrorLog CreateAdmin_SysErrorLog(global::System.Int32 id, global::System.String pageUrl, global::System.String errorMsg, global::System.DateTime addTime) { Admin_SysErrorLog admin_SysErrorLog = new Admin_SysErrorLog(); admin_SysErrorLog.ID = id; admin_SysErrorLog.PageUrl = pageUrl; admin_SysErrorLog.ErrorMsg = errorMsg; admin_SysErrorLog.AddTime = addTime; return admin_SysErrorLog; }