Ejemplo n.º 1
0
        /// <summary>
        /// Create a new viewCustomer object.
        /// </summary>
        /// <param name="customerId">Initial value of the CustomerId property.</param>
        /// <param name="orderId">Initial value of the OrderId property.</param>
        /// <param name="orderDate">Initial value of the OrderDate property.</param>
        public static viewCustomer CreateviewCustomer(global::System.Int32 customerId, global::System.Int32 orderId, global::System.DateTime orderDate)
        {
            viewCustomer viewCustomer = new viewCustomer();

            viewCustomer.CustomerId = customerId;
            viewCustomer.OrderId    = orderId;
            viewCustomer.OrderDate  = orderDate;
            return(viewCustomer);
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the viewCustomer EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToviewCustomer(viewCustomer viewCustomer)
 {
     base.AddObject("viewCustomer", viewCustomer);
 }