Esempio n. 1
0
 /// <summary>
 /// 创建新的 SysOperationLog 对象。
 /// </summary>
 /// <param name="id">ID 属性的初始值。</param>
 /// <param name="operatorUserName">OperatorUserName 属性的初始值。</param>
 /// <param name="operationTime">OperationTime 属性的初始值。</param>
 /// <param name="operationType">OperationType 属性的初始值。</param>
 /// <param name="details">Details 属性的初始值。</param>
 public static SysOperationLog CreateSysOperationLog(global::System.Int32 id, global::System.String operatorUserName, global::System.DateTime operationTime, global::System.String operationType, global::System.String details)
 {
     SysOperationLog sysOperationLog = new SysOperationLog();
     sysOperationLog.ID = id;
     sysOperationLog.OperatorUserName = operatorUserName;
     sysOperationLog.OperationTime = operationTime;
     sysOperationLog.OperationType = operationType;
     sysOperationLog.Details = details;
     return sysOperationLog;
 }
Esempio n. 2
0
 /// <summary>
 /// 用于向 SysOperationLog EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToSysOperationLog(SysOperationLog sysOperationLog)
 {
     base.AddObject("SysOperationLog", sysOperationLog);
 }