Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserLogs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserLogs(UserLog userLog)
 {
     base.AddObject("UserLogs", userLog);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new UserLog object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="text">Initial value of the Text property.</param>
 public static UserLog CreateUserLog(global::System.Int32 id, global::System.DateTime date, global::System.String text)
 {
     UserLog userLog = new UserLog();
     userLog.Id = id;
     userLog.Date = date;
     userLog.Text = text;
     return userLog;
 }