public void Insert(string Name, int?DepartmentID, int?SectionID, int?OfficeID, string EmailAddress, bool?Live, string Password, string OpeningForm, byte[] Ts, int?DefaultView, byte?IsEditor)
        {
            EmployeesTable item = new EmployeesTable();

            item.Name = Name;

            item.DepartmentID = DepartmentID;

            item.SectionID = SectionID;

            item.OfficeID = OfficeID;

            item.EmailAddress = EmailAddress;

            item.Live = Live;

            item.Password = Password;

            item.OpeningForm = OpeningForm;

            item.Ts = Ts;

            item.DefaultView = DefaultView;

            item.IsEditor = IsEditor;


            item.Save(UserName);
        }
 public bool Destroy(object EmployeeID)
 {
     return(EmployeesTable.Destroy(EmployeeID) == 1);
 }
 public bool Delete(object EmployeeID)
 {
     return(EmployeesTable.Delete(EmployeeID) == 1);
 }