public void AddToSponsorRelationships(SponsorRelationship sponsorRelationship)
 {
     base.AddObject("SponsorRelationships", sponsorRelationship);
 }
 public static SponsorRelationship CreateSponsorRelationship(int ID, string relationship, bool isPrimary, byte[] rowVersion, int client_RelationshipType, int sponsor_RelationshipType)
 {
     SponsorRelationship sponsorRelationship = new SponsorRelationship();
     sponsorRelationship.Id = ID;
     sponsorRelationship.Relationship = relationship;
     sponsorRelationship.IsPrimary = isPrimary;
     sponsorRelationship.RowVersion = rowVersion;
     sponsorRelationship.Client_RelationshipType = client_RelationshipType;
     sponsorRelationship.Sponsor_RelationshipType = sponsor_RelationshipType;
     return sponsorRelationship;
 }
partial         void SponsorRelationship_Validate(SponsorRelationship entity, EntitySetValidationResultsBuilder results)
        {
        }