コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserLogSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserLogSet(UserLog userLog)
 {
     base.AddObject("UserLogSet", userLog);
 }
コード例 #2
0
 /// <summary>
 /// Create a new UserLog object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 public static UserLog CreateUserLog(global::System.Int32 id, global::System.Int32 userId)
 {
     UserLog userLog = new UserLog();
     userLog.Id = id;
     userLog.UserId = userId;
     return userLog;
 }