상속: System.Data.Objects.DataClasses.EntityObject
 /// <summary>
 /// Deprecated Method for adding a new object to the Partners EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPartners(Partner partner)
 {
     base.AddObject("Partners", partner);
 }
 /// <summary>
 /// Create a new Partner object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="partnerId">Initial value of the PartnerId property.</param>
 public static Partner CreatePartner(global::System.Int32 id, global::System.Guid userId, global::System.Guid partnerId)
 {
     Partner partner = new Partner();
     partner.Id = id;
     partner.UserId = userId;
     partner.PartnerId = partnerId;
     return partner;
 }