[Mono-bugs] [Bug 324418] SqliteConnection.LastInsertRowId should be a long

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Aug 30 14:34:15 EDT 2008


User eric.zeltmann at gmail.com added comment

--- Comment #2 from Eric Zeltmann <eric.zeltmann at gmail.com>  2008-08-30 12:34:13 MDT ---
Created an attachment (id=236436)
 --> (https://bugzilla.novell.com/attachment.cgi?id=236436)
Proposed Patch - Added property LastInsertRowIdAsLong

This proposed patch implements a new property in the
Mono.Data.Sqlite.SqliteConnection class which returns the last insert row id as
a long.  This is done as an additional property as to not conflict with the int
property of a similar name.  

There is no test case done for this patch, since there did not exist a previous
test case for LastInsertRowId.  It is also a very simple piece of code.

This is my first patch to be contributed to the Mono project (so I hope I'm
doing this right ;-) ).

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list