in

System.Data.SQLite

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

Relationships: Album/track style entry in with details sub-table

Last post 05-21-2007 9:27 PM by Robert Simpson. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-13-2007 5:16 AM

    • g18c
    • Top 500 Contributor
    • Joined on 05-13-2007
    • Posts 4

    Relationships: Album/track style entry in with details sub-table

    Hi can anyone tell me if sqlite supports foreign key relationships? Im trying to make references to another table, but in create table i cant see any notion of foregin keys for fields. Or does the relationship purely exist when i defiene queries and the associated left joins etc.

    Many thanks in advance,

    Chris

  • 05-14-2007 1:47 AM In reply to

    Re: Album/track style entry in Visual Studio 2005 aka Main with details sub-table

    SQLite provider design support is practically the same as the provided by SQL Server. You can create strong typed datasets and table adapters.

    Your question is more a databinding or windows forms question than as SQLite question. I think you should ask in the apropriatte forums.
    Regards

    Jesús López

  • 05-21-2007 9:27 PM In reply to

    Re: Relationships: Album/track style entry in with details sub-table

    SQLite allows you to define foreign key constraints in your table definition.  It currently doesn't enforce those constraints, but it does allow you to define them.

    The SQLite provider will also parse them from the schema and fully report them so that the typed dataset designer will automatically generate the relationships when you drag and drop tables.

    Robert

     

Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems