Exemple #1
0
 public static DataTable GetAllEntitlementInfo(string rowConstraints = "")
 {
     using (SqlTableTracker entitlementsTracker = new SqlTableTracker(connection_string, table))
     {
         return(entitlementsTracker.Select(rowConstraints));
     }
 }
 public static DataTable GetTable()
 {
     using (SqlTableTracker Databasetest = new SqlTableTracker(connection_string2, tableName))
     {
         DataTable table      = Databasetest.Select();
         DataView  table_view = table.AsDataView();
         return(table);
     }
 }
Exemple #3
0
            public static string getTable()
            {
                using (SqlTableTracker Databasetest = new SqlTableTracker(connection_string2, tableName))
                {
                    DataTable   table = Databasetest.Select();
                    DataManager dm    = new DataManager(table);

                    String columns = dm.ExtractColumns("\t\t") + "\n" + dm.ExtractData("\t\t");

                    return(columns);
                }
            }
Exemple #4
0
        public static string getTable()
        {
            using (SqlTableTracker Databasetest = new SqlTableTracker(Leave.Modules.Holiday_Database_Connector.connection_string2, table))
            {
                DataTable   table2 = Databasetest.Select();
                DataManager dm     = new DataManager(table2);

                String columns = dm.ExtractColumns("\t\t") + "\n" + dm.ExtractData("\t\t");

                return(columns);
            }
        }
Exemple #5
0
 public static DataTable GetEmployeeInfo(string rowConstraints = "")
 {
     using (SqlTableTracker employeeTracker = new SqlTableTracker(server, database, table))   {
         return(employeeTracker.Select(rowConstraints));
     }
 }
 public static DataTable GetAllLeaveInfo(string rowConstraints = "")
 {
     using (SqlTableTracker leaveListTracker = new SqlTableTracker(server, database, table))  {
         return(leaveListTracker.Select(rowConstraints));
     }
 }
Exemple #7
0
 public static DataTable GetAllUserInfo(string rowConstraints = "")
 {
     using (SqlTableTracker usersTracker = new SqlTableTracker(server, database, table))      {
         return(usersTracker.Select(rowConstraints));
     }
 }
Exemple #8
0
 public static DataTable GetLeaveTypes(string rowConstraints = "")
 {
     using (SqlTableTracker leaveTypesTracker = new SqlTableTracker(connectionString, table)) {
         return(leaveTypesTracker.Select(rowConstraints));
     }
 }
Exemple #9
0
 public static DataTable FetchApplications(string rowConstraints = "")
 {
     using (SqlTableTracker leaveApplicationsTracker = new SqlTableTracker(server, database, table))  {
         return(leaveApplicationsTracker.Select(rowConstraints));
     }
 }
Exemple #10
0
 public static DataTable GetLeavePeriods(string rowConstraints = "")
 {
     using (SqlTableTracker leavePeriodsTracker = new SqlTableTracker(server, database, table))       {
         return(leavePeriodsTracker.Select(rowConstraints));
     }
 }
 public static DataTable GetEntitlements(string rowConstraints = "")
 {
     using (SqlTableTracker entitlementsTracker = new SqlTableTracker(server, database, table))       {
         return(entitlementsTracker.Select(rowConstraints));
     }
 }
 public static DataTable GetAllAssignedLeaveInfo(string rowConstraints = "")
 {
     using (SqlTableTracker assignedLeavesTracker = new SqlTableTracker(server, database, table))     {
         return(assignedLeavesTracker.Select(rowConstraints));
     }
 }
Exemple #13
0
 public static DataTable GetWorkDayInfo(string rowConstraints = "")
 {
     using (SqlTableTracker workDaysTracker = new SqlTableTracker(server, database, table))       {
         return(workDaysTracker.Select(rowConstraints));
     }
 }