Пример #1
0
 public int InsertMonitorBackupServer(MonitorBackupServer MonitorBackupServer, OdbcConnection conn)
 {
     try
     {
         return(db.insert(MonitorBackupServer, "monitorBackupServer", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="BackupServerFile"></param>
 /// <param name="conn"></param>
 /// <returns></returns>
 public int InsertBackupServerFile(BackupServerFile BackupServerFile, OdbcConnection conn)
 {
     try
     {
         return(db.insert(BackupServerFile, "backupServerFile", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="BackupServerGroup"></param>
 /// <param name="conn"></param>
 /// <returns></returns>
 public int InsertBackupServerGroup(BackupServerGroup BackupServerGroup, OdbcConnection conn)
 {
     try
     {
         return(db.insert(BackupServerGroup, "backupServerGroup", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="Log"></param>
 /// <param name="conn"></param>
 /// <returns></returns>
 public int InsertLog(Log Log, OdbcConnection conn)
 {
     try
     {
         return(db.insert(Log, "log", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="MonitorServerFile"></param>
 /// <param name="conn"></param>
 /// <returns></returns>
 public int InsertMonitorServerFile(MonitorServerFile MonitorServerFile, OdbcConnection conn)
 {
     try
     {
         return(db.insert(MonitorServerFile, "monitorServerFile", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="UserInfo"></param>
 /// <param name="conn"></param>
 /// <returns></returns>
 public int InsertUserInfo(UserInfo UserInfo, OdbcConnection conn)
 {
     try
     {
         return(db.insert(UserInfo, "userInfo", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
Пример #7
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="FileTypeSet"></param>
 /// <param name="conn"></param>
 /// <returns></returns>
 public int InsertFileTypeSet(FileTypeSet FileTypeSet, OdbcConnection conn)
 {
     try
     {
         return(db.insert(FileTypeSet, "FileTypeSet", conn));
     }
     catch (Exception e)
     {
         throw e;
     }
 }