Run.InsertAtDB C# (CSharp) Method

InsertAtDB() public method

public InsertAtDB ( bool dbconOpened, string tableName ) : int
dbconOpened bool
tableName string
return int
    public override int InsertAtDB(bool dbconOpened, string tableName)
    {
        return SqliteRun.Insert(dbconOpened, tableName,
                uniqueID.ToString(),
                personID, sessionID,
                type, distance, time,
                description, simulated, initialSpeed);
    }

Usage Example

コード例 #1
0
    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
    }
All Usage Examples Of Run::InsertAtDB