Example #1
0
 /// <summary>
 /// 用于向 RequestLogs EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToRequestLogs(RequestLog requestLog)
 {
     base.AddObject("RequestLogs", requestLog);
 }
Example #2
0
 /// <summary>
 /// 创建新的 RequestLog 对象。
 /// </summary>
 /// <param name="requestID">RequestID 属性的初始值。</param>
 /// <param name="zydBh">ZydBh 属性的初始值。</param>
 /// <param name="reType">ReType 属性的初始值。</param>
 /// <param name="reTime">ReTime 属性的初始值。</param>
 /// <param name="reSucces">ReSucces 属性的初始值。</param>
 public static RequestLog CreateRequestLog(global::System.Guid requestID, global::System.String zydBh, global::System.String reType, global::System.DateTime reTime, global::System.String reSucces)
 {
     RequestLog requestLog = new RequestLog();
     requestLog.RequestID = requestID;
     requestLog.ZydBh = zydBh;
     requestLog.ReType = reType;
     requestLog.ReTime = reTime;
     requestLog.ReSucces = reSucces;
     return requestLog;
 }