/// <summary> /// Deprecated Method for adding a new object to the UsersTasks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUsersTasks(UsersTasks usersTasks) { base.AddObject("UsersTasks", usersTasks); }
/// <summary> /// Create a new UsersTasks object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="taskId">Initial value of the TaskId property.</param> /// <param name="userId">Initial value of the UserId property.</param> public static UsersTasks CreateUsersTasks(global::System.Guid id, global::System.Guid taskId, global::System.Guid userId) { UsersTasks usersTasks = new UsersTasks(); usersTasks.Id = id; usersTasks.TaskId = taskId; usersTasks.UserId = userId; return usersTasks; }