Amazon.CognitoSync.SyncManager.Internal.SQLiteLocalStorage.SqliteStmtToRecord C# (CSharp) Method

SqliteStmtToRecord() private method

private SqliteStmtToRecord ( SQLitePCL.sqlite3_stmt stmt ) : Record
stmt SQLitePCL.sqlite3_stmt
return Amazon.CognitoSync.SyncManager.Record
        private Record SqliteStmtToRecord(Sqlite3Statement stmt)
        {
            string key = (string)GetColumnValue(stmt, typeof(string), RecordColumns.KEY);
            string value = (string)GetColumnValue(stmt, typeof(string), RecordColumns.VALUE);
            int syncCount = (int)GetColumnValue(stmt, typeof(int), RecordColumns.SYNC_COUNT);
            DateTime lastModified = (DateTime)GetColumnValue(stmt, typeof(DateTime), RecordColumns.LAST_MODIFIED_TIMESTAMP);
            string lastModifiedBy = (string)GetColumnValue(stmt, typeof(string), RecordColumns.LAST_MODIFIED_BY);
            DateTime deviceLastModifiedTimestamp = (DateTime)GetColumnValue(stmt, typeof(DateTime), RecordColumns.DEVICE_LAST_MODIFIED_TIMESTAMP);
            bool modified = (int)GetColumnValue(stmt, typeof(int), RecordColumns.MODIFIED) == 1;
            return new Record(key, 
                value, 
                syncCount,
                lastModified,
                lastModifiedBy,
                deviceLastModifiedTimestamp,
                modified);
        }
#endregion

Same methods

SQLiteLocalStorage::SqliteStmtToRecord ( SQLiteDataReader reader ) : Record