我有这样的ef类:
class Product
{
public int ProductId {set; get;}
...
public List<ProductBannedIn> BannedIn;
}
public class ProductBannedIn
{
public int ProductId {set; get;}
public Product Product {set; get;}
public int CountryId {set; get;}
public Country Country {set; get;}
}
Run Code Online (Sandbox Code Playgroud)
并希望提出如下要求:
... //query - added some filters before
var products = query.Include(x => x.BannedIn)
.Join(context.ProductTranslation
.Where(x => x.LanguageId == language.LanguageId),
product => product.ProductId,
translation => translation.Product.ProductId,
(x,y) => new {
Id = x. ProductId,
Name = y.Name,
Description = y.Description,
Type …Run Code Online (Sandbox Code Playgroud) iTunes Connect/IOS 我们有问题,就像我们在生产中一样,并且有自动续订订阅。我们想增加一周的免费试用期,我们可以将其添加到已经创建的订阅中(并在生产中),我知道我们可以在审核前完成。请告诉我们您对此的了解,我们将不胜感激!