Ejemplo n.º 1
0
 /// <summary>
 /// Create a new SponsorRelationship object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="relationship">Initial value of the Relationship property.</param>
 /// <param name="isPrimary">Initial value of the IsPrimary property.</param>
 /// <param name="client_RelationshipType">Initial value of the Client_RelationshipType property.</param>
 /// <param name="sponsor_RelationshipType">Initial value of the Sponsor_RelationshipType property.</param>
 public static SponsorRelationship CreateSponsorRelationship(global::System.Int32 id, global::System.Byte[] rowVersion, global::System.String relationship, global::System.Boolean isPrimary, global::System.Int32 client_RelationshipType, global::System.Int32 sponsor_RelationshipType)
 {
     SponsorRelationship sponsorRelationship = new SponsorRelationship();
     sponsorRelationship.Id = id;
     sponsorRelationship.RowVersion = rowVersion;
     sponsorRelationship.Relationship = relationship;
     sponsorRelationship.IsPrimary = isPrimary;
     sponsorRelationship.Client_RelationshipType = client_RelationshipType;
     sponsorRelationship.Sponsor_RelationshipType = sponsor_RelationshipType;
     return sponsorRelationship;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SponsorRelationship EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSponsorRelationship(SponsorRelationship sponsorRelationship)
 {
     base.AddObject("SponsorRelationship", sponsorRelationship);
 }