Ejemplo n.º 1
0
        /// <summary>
        /// Create a new tblemployee object.
        /// </summary>
        /// <param name="empId">Initial value of the EmpId property.</param>
        /// <param name="firstName">Initial value of the FirstName property.</param>
        /// <param name="gender">Initial value of the Gender property.</param>
        public static tblemployee Createtblemployee(global::System.Int32 empId, global::System.String firstName, global::System.String gender)
        {
            tblemployee tblemployee = new tblemployee();

            tblemployee.EmpId     = empId;
            tblemployee.FirstName = firstName;
            tblemployee.Gender    = gender;
            return(tblemployee);
        }
Ejemplo 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);
 }