示例#1
0
 /// <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(Partners partners)
 {
     base.AddObject("Partners", partners);
 }
示例#2
0
 /// <summary>
 /// Create a new Partners object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="firstName">Initial value of the FirstName property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 /// <param name="partners_PartnerTypes">Initial value of the Partners_PartnerTypes property.</param>
 public static Partners CreatePartners(global::System.Int32 id, global::System.String firstName, global::System.Byte[] rowVersion, global::System.Int32 partners_PartnerTypes)
 {
     Partners partners = new Partners();
     partners.Id = id;
     partners.FirstName = firstName;
     partners.RowVersion = rowVersion;
     partners.Partners_PartnerTypes = partners_PartnerTypes;
     return partners;
 }