Esempio n. 1
0
        /// <summary>
        /// Create a new tblemployee object.
        /// </summary>
        /// <param name="employeeid">Initial value of the employeeid property.</param>
        /// <param name="name">Initial value of the name property.</param>
        /// <param name="gender">Initial value of the gender property.</param>
        /// <param name="city">Initial value of the city property.</param>
        public static tblemployee Createtblemployee(global::System.Int32 employeeid, global::System.String name, global::System.String gender, global::System.String city)
        {
            tblemployee tblemployee = new tblemployee();

            tblemployee.employeeid = employeeid;
            tblemployee.name       = name;
            tblemployee.gender     = gender;
            tblemployee.city       = city;
            return(tblemployee);
        }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblemployees EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblemployees(tblemployee tblemployee)
 {
     base.AddObject("tblemployees", tblemployee);
 }