Example #1
0
        /// <summary>
        /// Create a new tbl_Emp object.
        /// </summary>
        /// <param name="empId">Initial value of the EmpId property.</param>
        /// <param name="empName">Initial value of the EmpName property.</param>
        /// <param name="empSalary">Initial value of the EmpSalary property.</param>
        /// <param name="empGender">Initial value of the EmpGender property.</param>
        /// <param name="empDOB">Initial value of the EmpDOB property.</param>
        public static tbl_Emp Createtbl_Emp(global::System.Int32 empId, global::System.String empName, global::System.Double empSalary, global::System.String empGender, global::System.DateTime empDOB)
        {
            tbl_Emp tbl_Emp = new tbl_Emp();

            tbl_Emp.EmpId     = empId;
            tbl_Emp.EmpName   = empName;
            tbl_Emp.EmpSalary = empSalary;
            tbl_Emp.EmpGender = empGender;
            tbl_Emp.EmpDOB    = empDOB;
            return(tbl_Emp);
        }
 /// <summary>
 /// Create a new tbl_Emp object.
 /// </summary>
 /// <param name="empId">Initial value of the EmpId property.</param>
 /// <param name="empName">Initial value of the EmpName property.</param>
 /// <param name="empSalary">Initial value of the EmpSalary property.</param>
 /// <param name="empGender">Initial value of the EmpGender property.</param>
 /// <param name="empDOB">Initial value of the EmpDOB property.</param>
 public static tbl_Emp Createtbl_Emp(global::System.Int32 empId, global::System.String empName, global::System.Double empSalary, global::System.String empGender, global::System.DateTime empDOB)
 {
     tbl_Emp tbl_Emp = new tbl_Emp();
     tbl_Emp.EmpId = empId;
     tbl_Emp.EmpName = empName;
     tbl_Emp.EmpSalary = empSalary;
     tbl_Emp.EmpGender = empGender;
     tbl_Emp.EmpDOB = empDOB;
     return tbl_Emp;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_Emp EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_Emp(tbl_Emp tbl_Emp)
 {
     base.AddObject("tbl_Emp", tbl_Emp);
 }
Example #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tbl_Emp EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotbl_Emp(tbl_Emp tbl_Emp)
 {
     base.AddObject("tbl_Emp", tbl_Emp);
 }