Basics of SQLite designer in Visual Studio 2010

Topics: Graphical user interface, Data modeling, SQL Pages: 2 (512 words) Published: July 28, 2012

In previous post I have shown how to add a data connection in server explorer for a SQLite database file, and along the way also showed the process to create a new SQLite database file using visual studio 2010. if you haven’t read it or wish to read it please visit farther more you can visit for other SQLite post.

In this post we are going to discuss about few basics about SQLite designer in Visual Studio 2010, we have already see some basics of how to create table and view in previous post in this post we would look some of the related staff. The designer tools

All the tool related to the SQLite designer is accessible from the Visual studio toolbar when you select data table or any database object. Note that the tool specific for each purpose is context sensitive, so upon selecting right object the tool button will get enabled.


After creating the table first thing we want to do is to create a primary key from for the table, hopefully we have id column for our tables, to do this we can select the column the either click on the tool bar or right click and select set primary key from context menu. Pretty simple.


You can also see the generated script if in case you needed it, for this you have to select the table then select generate change script from context menu. Bellow I have given a screen show which shows the table “user”’s generated script in a dialog window.


To setup unique ness you have to set it from the table designer properties, which is situated down the table designer column editor. Bellow a screenshot is shown for this purpose.

setting up auto increment column for primary key

In this section we would see how to setup a primary key which is auto increment or identity column. To do this simply click on index editor from context menu or tool...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Visual Basic 6.0 Essay
  • Visual Studio 2010
  • Essay on Introduction to Visual Studio .Net
  • Visual Basic Project Essay
  • The History of Visual Basic Essay
  • Essay about Lesson Plan Visual Basic
  • Visual Basic

Become a StudyMode Member

Sign Up - It's Free