InsertAtDB() публичный Метод

public InsertAtDB ( bool dbconOpened, string tableName ) : int
dbconOpened bool
tableName string
Результат int
    public int UploadRun(Run myTest)
    {
        int temp = myTest.UniqueID;

        myTest.UniqueID = -1;
        int id = myTest.InsertAtDB(false, Constants.RunTable);

        myTest.UniqueID = temp;
        return(id);        //uniqueID of person at server
    }
 public int UploadRun(Run myTest)
 {
     int temp = myTest.UniqueID;
     myTest.UniqueID = -1;
     int id = myTest.InsertAtDB(false, Constants.RunTable);
     myTest.UniqueID = temp;
     return id; //uniqueID of person at server
 }