in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Browse by Tags

  • How to retrieve the last autoincremented ID from a table when using a typed dataset?

    [Noob alert!] I constructed a typed dataset inside VS 2008. I am using the prefabricated datadapters to fill and update its tables. How can I retrieve the last autoincremented ID from a table? I understand that in SQL it is:Select last_insert_rowid(). But how do I call this SQL from C# ADO.Net? Thanks...
    Posted to How To (Forum) by aner on 01-25-2010
  • Entity Framework - edmx file - primary key - autoincrement (StoreGeneratedPattern="Identity")

    I'm using VB.Net in Visual Studio 2008 and SQLite Expert 2.3.19.1936 to generate the database and create the table and version 1.0.65.0 of System.Data.SQLite Here's my table creation: CREATE TABLE app_param ( param_id INTEGER, param TEXT NOT NULL, info TEXT NOT NULL, PRIMARY KEY(param_id ASC...
    Posted to Bugs (Forum) by magik on 01-09-2010
  • SQLite Sample Application

    So I just started working for this company, and my boss the optimist said, BTW, I need you to create an application that does XYZ by January 1st. That would be fine and all except my toolkit is totally new (I am a web LAMP/PHP guy) and maybe I have bit off more than I can chew. I know anyone who could...
    Posted to Feature Requests (Forum) by alsbury on 12-05-2009
  • AUTOINCREMENT Problem

    System.Data.Sqlite version = 1.0.60, VS 2005 I have a table that I should have set the Primary Key to be [NewsletterID] INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT but, in ignorance I set it to be [NewsletterID] SMALLINT NOT NULL PRIMARY KEY. The result seemed to be that the primary key was not automatically...
    Posted to How To (Forum) by rkulp on 11-24-2008
  • Re: autoincrement column from database

    You can query table 'sqlite_.sequences' to find all tables which they have autoincrement PKs. Then use connection.GetSchema("columns") to get all PKs.
    Posted to Feature Requests (Forum) by Snax on 11-26-2007
  • autoincrement column from database

    is it hard to implement property like: bool GetAutoincementPrimaryKeyValueFromDataSource (true/false) to the primary key column that after dataadapter.insert will get last_insert_rowid() and set this value to proper column in datatable? it would easy application developing, i think:) or maybe it...
    Posted to Feature Requests (Forum) by Wiaz on 08-13-2007
Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems