Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the InvHeaders EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToInvHeaders(InvHeader invHeader)
 {
     base.AddObject("InvHeaders", invHeader);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new InvHeader object.
 /// </summary>
 /// <param name="invNumber">Initial value of the InvNumber property.</param>
 /// <param name="invContactName">Initial value of the InvContactName property.</param>
 /// <param name="street">Initial value of the Street property.</param>
 /// <param name="city">Initial value of the City property.</param>
 /// <param name="state">Initial value of the State property.</param>
 /// <param name="zip">Initial value of the Zip property.</param>
 public static InvHeader CreateInvHeader(global::System.String invNumber, global::System.String invContactName, global::System.String street, global::System.String city, global::System.String state, global::System.String zip)
 {
     InvHeader invHeader = new InvHeader();
     invHeader.InvNumber = invNumber;
     invHeader.InvContactName = invContactName;
     invHeader.Street = street;
     invHeader.City = city;
     invHeader.State = state;
     invHeader.Zip = zip;
     return invHeader;
 }