Inheritance: System.Data.Objects.DataClasses.EntityObject
Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Customer_and_Suppliers_by_City EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCustomer_and_Suppliers_by_City(Customer_and_Suppliers_by_City customer_and_Suppliers_by_City)
 {
     base.AddObject("Customer_and_Suppliers_by_City", customer_and_Suppliers_by_City);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Customer_and_Suppliers_by_City object.
 /// </summary>
 /// <param name="companyName">Initial value of the CompanyName property.</param>
 /// <param name="relationship">Initial value of the Relationship property.</param>
 public static Customer_and_Suppliers_by_City CreateCustomer_and_Suppliers_by_City(global::System.String companyName, global::System.String relationship)
 {
     Customer_and_Suppliers_by_City customer_and_Suppliers_by_City = new Customer_and_Suppliers_by_City();
     customer_and_Suppliers_by_City.CompanyName = companyName;
     customer_and_Suppliers_by_City.Relationship = relationship;
     return customer_and_Suppliers_by_City;
 }