public static DataTable GetLeaveTypes(string rowConstraints = "") { using (SqlTableTracker leaveTypesTracker = new SqlTableTracker(server, database, table)) { return(leaveTypesTracker.SelectSorted(rowConstraints, "LeaveType")); } }