Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AccessLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAccessLogs(AccessLog accessLog)
 {
     base.AddObject("AccessLogs", accessLog);
 }
Example #2
0
 /// <summary>
 /// Create a new AccessLog object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="username">Initial value of the username property.</param>
 /// <param name="address">Initial value of the address property.</param>
 /// <param name="datetime">Initial value of the datetime property.</param>
 public static AccessLog CreateAccessLog(global::System.Int32 id, global::System.String username, global::System.String address, global::System.DateTime datetime)
 {
     AccessLog accessLog = new AccessLog();
     accessLog.id = id;
     accessLog.username = username;
     accessLog.address = address;
     accessLog.datetime = datetime;
     return accessLog;
 }