/// <summary> /// 用于向 tblOperateLog EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddTotblOperateLog(tblOperateLog tblOperateLog) { base.AddObject("tblOperateLog", tblOperateLog); }
/// <summary> /// 创建新的 tblOperateLog 对象。 /// </summary> /// <param name="operateLogID">OperateLogID 属性的初始值。</param> /// <param name="userID">UserID 属性的初始值。</param> /// <param name="action">Action 属性的初始值。</param> /// <param name="control">Control 属性的初始值。</param> /// <param name="operateDesc">OperateDesc 属性的初始值。</param> /// <param name="createDt">CreateDt 属性的初始值。</param> public static tblOperateLog CreatetblOperateLog(global::System.Guid operateLogID, global::System.Guid userID, global::System.String action, global::System.String control, global::System.String operateDesc, global::System.DateTime createDt) { tblOperateLog tblOperateLog = new tblOperateLog(); tblOperateLog.OperateLogID = operateLogID; tblOperateLog.UserID = userID; tblOperateLog.Action = action; tblOperateLog.Control = control; tblOperateLog.OperateDesc = operateDesc; tblOperateLog.CreateDt = createDt; return tblOperateLog; }