MySqlCommand.LastInsertedId Property

MySQL Connector/Net

MySqlCommandLastInsertedId Property

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public long LastInsertedId { get; }
Public ReadOnly Property LastInsertedId As Long
	Get
public:
property long long LastInsertedId {
	long long get ();
}
member LastInsertedId : int64 with get

Property Value

Type: Int64
See Also