/// <summary> /// Deprecated Method for adding a new object to the UserPlaces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUserPlaces(UserPlaceEntity userPlaceEntity) { base.AddObject("UserPlaces", userPlaceEntity); }
/// <summary> /// Create a new UserPlaceEntity object. /// </summary> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="placeId">Initial value of the PlaceId property.</param> /// <param name="role">Initial value of the Role property.</param> public static UserPlaceEntity CreateUserPlaceEntity(global::System.Int64 userId, global::System.Int32 placeId, global::System.String role) { UserPlaceEntity userPlaceEntity = new UserPlaceEntity(); userPlaceEntity.UserId = userId; userPlaceEntity.PlaceId = placeId; userPlaceEntity.Role = role; return userPlaceEntity; }