/// <summary> /// Create a new TimeEntryUser object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="userName">Initial value of the UserName property.</param> /// <param name="displayName">Initial value of the DisplayName property.</param> /// <param name="roleId">Initial value of the RoleId property.</param> /// <param name="lastUpdated">Initial value of the LastUpdated property.</param> public static TimeEntryUser CreateTimeEntryUser(global::System.Int32 id, global::System.String userName, global::System.String displayName, global::System.Int32 roleId, global::System.Byte[] lastUpdated) { TimeEntryUser timeEntryUser = new TimeEntryUser(); timeEntryUser.Id = id; timeEntryUser.UserName = userName; timeEntryUser.DisplayName = displayName; timeEntryUser.RoleId = roleId; timeEntryUser.LastUpdated = lastUpdated; return(timeEntryUser); }
/// <summary> /// Deprecated Method for adding a new object to the TimeEntryUsers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTimeEntryUsers(TimeEntryUser timeEntryUser) { base.AddObject("TimeEntryUsers", timeEntryUser); }