Я хочу проверить получение транзакции в моем приложении,
Вот мой код,
- (void)recordTransaction:(SKPaymentTransaction *)transaction {
NSData *receiptData = [NSData dataWithData:transaction.transactionReceipt];
NSString *encodedString = [Base64 encode:receiptData];
NSURL *url = [NSURL URLWithString:@"https://sandbox.itunes.apple.com/verifyReceipt"];
ASIFormDataRequest *request = [[ASIFormDataRequest alloc] initWithURL:url];
[request setPostValue:encodedString forKey:@"receipt-data"];
[request setRequestMethod:@"POST"];
[request setDelegate:self];
[request startAsynchronous];
}
Я получение вывода:
{"status": 21002, "exception": "java.lang. , and within that class there I found a method named WithMany() with 2 overloads. The first overload: WithMany(...
I recently came by the class
ManyNavigationPropertyConfiguration
, and within that class there I found a method namedWithMany()
with 2 overloads.The first overload:
WithMany()
Configures the relationship to be many:many without a navigation property on the other side of the relationship.
The second overload:
WithMany(Expression
>>) Configures the relationship to be many:many with a navigation property on the other side of the relationship.
Now is my question, why would you configure a relationship to be many:many without a navigation property (the first overload)? I dont see any scenarios where that would be helpful... Any thoughts?