예제 #1
0
        /// <summary>
        /// Create a new ObjectContextCustomer object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="street">Initial value of the Street property.</param>
        /// <param name="country">Initial value of the Country property.</param>
        public static ObjectContextCustomer CreateObjectContextCustomer(global::System.Int32 id, global::System.String name, global::System.String street, global::System.String country)
        {
            ObjectContextCustomer objectContextCustomer = new ObjectContextCustomer();

            objectContextCustomer.Id      = id;
            objectContextCustomer.Name    = name;
            objectContextCustomer.Street  = street;
            objectContextCustomer.Country = country;
            return(objectContextCustomer);
        }
예제 #2
0
 /// <summary>
 /// Create a new ObjectContextCustomer object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="street">Initial value of the Street property.</param>
 /// <param name="country">Initial value of the Country property.</param>
 public static ObjectContextCustomer CreateObjectContextCustomer(global::System.Int32 id, global::System.String name, global::System.String street, global::System.String country)
 {
     ObjectContextCustomer objectContextCustomer = new ObjectContextCustomer();
     objectContextCustomer.Id = id;
     objectContextCustomer.Name = name;
     objectContextCustomer.Street = street;
     objectContextCustomer.Country = country;
     return objectContextCustomer;
 }
예제 #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ObjectContextCustomers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToObjectContextCustomers(ObjectContextCustomer objectContextCustomer)
 {
     base.AddObject("ObjectContextCustomers", objectContextCustomer);
 }
예제 #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ObjectContextCustomers EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToObjectContextCustomers(ObjectContextCustomer objectContextCustomer)
 {
     base.AddObject("ObjectContextCustomers", objectContextCustomer);
 }