dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteCommand Class / InsertID Property

In This Topic
    InsertID Property
    In This Topic
    Returns the rowid of the most recent successful INSERT into the database.
    Syntax
    'Declaration
     
    Public ReadOnly Property InsertID As Long
    public long InsertID {get;}

    Property Value

    The last generated rowid.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also