Use NVP/SOAP Api from PayPal
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
using System;
|
||||
using Microsoft.Data.Entity;
|
||||
using Microsoft.Data.Entity.Infrastructure;
|
||||
using Microsoft.Data.Entity.Metadata;
|
||||
using Microsoft.Data.Entity.Migrations;
|
||||
using Yavsc.Models;
|
||||
|
||||
namespace Yavsc.Migrations
|
||||
@ -596,6 +598,8 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<long?>("LocationId");
|
||||
|
||||
b.Property<string>("PaymentId");
|
||||
|
||||
b.Property<string>("PerformerId")
|
||||
.IsRequired();
|
||||
|
||||
@ -863,9 +867,9 @@ namespace Yavsc.Migrations
|
||||
b.HasKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Payment.PaypalPayment", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Payment.PayPalPayment", b =>
|
||||
{
|
||||
b.Property<string>("PaypalPaymentId");
|
||||
b.Property<string>("CreationToken");
|
||||
|
||||
b.Property<DateTime>("DateCreated");
|
||||
|
||||
@ -884,7 +888,7 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<string>("UserModified");
|
||||
|
||||
b.HasKey("PaypalPaymentId");
|
||||
b.HasKey("CreationToken");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Circle", b =>
|
||||
@ -927,7 +931,7 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<string>("Method");
|
||||
|
||||
b.Property<string>("PaypalPaymentPaypalPaymentId");
|
||||
b.Property<string>("PayPalPaymentCreationToken");
|
||||
|
||||
b.Property<string>("Rel");
|
||||
|
||||
@ -1117,6 +1121,8 @@ namespace Yavsc.Migrations
|
||||
|
||||
b.Property<long?>("LocationTypeId");
|
||||
|
||||
b.Property<string>("PaymentId");
|
||||
|
||||
b.Property<string>("PerformerId")
|
||||
.IsRequired();
|
||||
|
||||
@ -1282,7 +1288,7 @@ namespace Yavsc.Migrations
|
||||
.WithMany()
|
||||
.HasForeignKey("LocationId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Payment.PaypalPayment")
|
||||
b.HasOne("Yavsc.Models.Payment.PayPalPayment")
|
||||
.WithMany()
|
||||
.HasForeignKey("PaymentId");
|
||||
|
||||
@ -1313,6 +1319,10 @@ namespace Yavsc.Migrations
|
||||
.WithMany()
|
||||
.HasForeignKey("LocationId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Payment.PayPalPayment")
|
||||
.WithMany()
|
||||
.HasForeignKey("PaymentId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Workflow.PerformerProfile")
|
||||
.WithMany()
|
||||
.HasForeignKey("PerformerId");
|
||||
@ -1401,7 +1411,7 @@ namespace Yavsc.Migrations
|
||||
.HasForeignKey("UserId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Payment.PaypalPayment", b =>
|
||||
modelBuilder.Entity("Yavsc.Models.Payment.PayPalPayment", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.ApplicationUser")
|
||||
.WithMany()
|
||||
@ -1435,9 +1445,9 @@ namespace Yavsc.Migrations
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.Link", b =>
|
||||
{
|
||||
b.HasOne("Yavsc.Models.Payment.PaypalPayment")
|
||||
b.HasOne("Yavsc.Models.Payment.PayPalPayment")
|
||||
.WithMany()
|
||||
.HasForeignKey("PaypalPaymentPaypalPaymentId");
|
||||
.HasForeignKey("PayPalPaymentCreationToken");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("Yavsc.Models.Relationship.PostTag", b =>
|
||||
@ -1505,6 +1515,10 @@ namespace Yavsc.Migrations
|
||||
.WithMany()
|
||||
.HasForeignKey("LocationTypeId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Payment.PayPalPayment")
|
||||
.WithMany()
|
||||
.HasForeignKey("PaymentId");
|
||||
|
||||
b.HasOne("Yavsc.Models.Workflow.PerformerProfile")
|
||||
.WithMany()
|
||||
.HasForeignKey("PerformerId");
|
||||
|
Reference in New Issue
Block a user