Esempio n. 1
0
 /// <summary>
 /// Create a new UserEvent object.
 /// </summary>
 /// <param name="userEventId">Initial value of the UserEventId property.</param>
 /// <param name="userEventTypeId">Initial value of the UserEventTypeId property.</param>
 /// <param name="userEntityId">Initial value of the UserEntityId property.</param>
 /// <param name="userEventTime">Initial value of the UserEventTime property.</param>
 /// <param name="userIpAddress">Initial value of the UserIpAddress property.</param>
 public static UserEvent CreateUserEvent(global::System.Int32 userEventId, global::System.Int32 userEventTypeId, global::System.Int32 userEntityId, global::System.DateTime userEventTime, global::System.String userIpAddress)
 {
     UserEvent userEvent = new UserEvent();
     userEvent.UserEventId = userEventId;
     userEvent.UserEventTypeId = userEventTypeId;
     userEvent.UserEntityId = userEntityId;
     userEvent.UserEventTime = userEventTime;
     userEvent.UserIpAddress = userIpAddress;
     return userEvent;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the UserEvents EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToUserEvents(UserEvent userEvent)
 {
     base.AddObject("UserEvents", userEvent);
 }