PreparedStatements?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Kirk

    PreparedStatements?

    Hi

    in Java I would more often than not use a PreparedStateme nt for database
    access (if I wasn't using an abstraction layer like Hibernate for example).

    Is there an equivalent construction to PreparedStateme nts in C#? (Or what is
    the best accepted method in the .NET/C# world for communicating with a
    database?)

    Thanks,
    Peter


  • Cordell Lawrence

    #2
    Re: PreparedStateme nts?

    Have only the most basic knowledge of Hybernate, which seems to be a ORM
    tool the .NET framework doesn't seem to have any production version of this
    type of tool.As for the most common way to access databases from .NET code
    would be to use ADO.NET, a collection of components that comes with the .NET
    framework that access to databases easy.

    If you have the framework check out the System.Data.* namespaces.

    This site has good links to ADO.NET resources
    Discover how Progress DataDirect cloud and on-premises data connectivity solutions support Relational, NoSQL, Big Data and SaaS data sources. Get started today!


    Good place to start


    Hope this helps.
    Cordell Lawrence
    Teleios Systems Ltd.

    "Peter Kirk" <pk@alpha-solutions.dk> wrote in message
    news:%23bQ%235w $PFHA.356@TK2MS FTNGP14.phx.gbl ...[color=blue]
    > Hi
    >
    > in Java I would more often than not use a PreparedStateme nt for database
    > access (if I wasn't using an abstraction layer like Hibernate for[/color]
    example).[color=blue]
    >
    > Is there an equivalent construction to PreparedStateme nts in C#? (Or what[/color]
    is[color=blue]
    > the best accepted method in the .NET/C# world for communicating with a
    > database?)
    >
    > Thanks,
    > Peter
    >
    >[/color]


    Comment

    Working...