DataSet question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Horatiu Ripa

    #1

    DataSet question

    Once defined in SQL a database, with keys, indexes and relations between
    tables is it possible to create a DataSet to reflect all that?
    Basically I don't want to reestablish the relations, to set the identities,
    indexes and all that stuff again in the DataSet while I have them in SQL, is
    there a possibility just to "import" them???

    --
    Horatiu Ripa


  • Miha Markic

    #2
    Re: DataSet question

    Hi Horatiu,

    You can import table structures (by first creating adapters for each table
    and then right click on one of them and choose Generate Dataset) but there
    is no support for importing relations.
    The process is more or less drag&drop and click click.

    You might also check free utility CodeSmith.
    It has a template for creating datasets with relations.


    --
    Miha Markic - RightHand .NET consulting & software development
    miha at rthand com

    "Horatiu Ripa" <unreal@busines sco.us> wrote in message
    news:OP9a%23mZt DHA.3468@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > Once defined in SQL a database, with keys, indexes and relations between
    > tables is it possible to create a DataSet to reflect all that?
    > Basically I don't want to reestablish the relations, to set the[/color]
    identities,[color=blue]
    > indexes and all that stuff again in the DataSet while I have them in SQL,[/color]
    is[color=blue]
    > there a possibility just to "import" them???
    >
    > --
    > Horatiu Ripa
    >
    >[/color]


    Comment

    Working...