/// <summary> /// Create a new tblEmployee object. /// </summary> /// <param name="employeeID">Initial value of the EmployeeID property.</param> /// <param name="carAllowance">Initial value of the CarAllowance property.</param> public static tblEmployee CreatetblEmployee(global::System.Int32 employeeID, global::System.Boolean carAllowance) { tblEmployee tblEmployee = new tblEmployee(); tblEmployee.EmployeeID = employeeID; tblEmployee.CarAllowance = carAllowance; return tblEmployee; }
/// <summary> /// Deprecated Method for adding a new object to the tblEmployees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblEmployees(tblEmployee tblEmployee) { base.AddObject("tblEmployees", tblEmployee); }