Gets or sets SQL command for retrieving ID for last inserted row.
Namespace: NReco.DataAssembly: NReco.Data (in NReco.Data.dll) Version: 1.0.2
public string LastInsertIdSelectText { get; set; }
public string LastInsertIdSelectText { get; set; }
Public Property LastInsertIdSelectText As String
Get
Set
Public Property LastInsertIdSelectText As String
Get
Set
public:
property String^ LastInsertIdSelectText {
String^ get ();
void set (String^ value);
}
public:
property String^ LastInsertIdSelectText {
String^ get ();
void set (String^ value);
}
member LastInsertIdSelectText : string with get, set
member LastInsertIdSelectText : string with get, set
Property Value
Type:
String
LastInsertIdSelectText for popular databases:
MsSql (System.Data.SqlClient): "SELECT @@IDENTITY"Sqlite (Microsoft.Data.Sqlite): "SELECT last_insert_rowid()"PostgreSql (Npgsql): "SELECT lastval()"MySql (MySql.Data): "SELECT LAST_INSERT_ID()"