Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Dictionary collection support in ODP.NET

Dictionary collection support in ODP.NET

Scheduled Pinned Locked Moved C#
csharpdatabasequestionoraclevisual-studio
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E Offline
    Eagle32
    wrote on last edited by
    #1

    Hi there, I use Oracle 11gR2 database. I am developing in Visual Studio 2013 with C# and using ODP.NET. Question 1 Does ODP.NET support Dictionary collection? I couldn't seem to find the necessary information so i was wondering if someone could explain if this is possible please? Question 2 Secondly I have the following collection:

    Dictionary> myDict = new Dictionary>();

    My intention is to send this collection to my stored procedure and perform a Bulk insert of this data. If it is possible how can I go about doing this? Can someone provide me with example in PL/SQL and C# please? Kind Regards,

    D 1 Reply Last reply
    0
    • E Eagle32

      Hi there, I use Oracle 11gR2 database. I am developing in Visual Studio 2013 with C# and using ODP.NET. Question 1 Does ODP.NET support Dictionary collection? I couldn't seem to find the necessary information so i was wondering if someone could explain if this is possible please? Question 2 Secondly I have the following collection:

      Dictionary> myDict = new Dictionary>();

      My intention is to send this collection to my stored procedure and perform a Bulk insert of this data. If it is possible how can I go about doing this? Can someone provide me with example in PL/SQL and C# please? Kind Regards,

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      No database engine out there knows what a .NET Dictionary is. Since your using a stored procedure on the database side, you might be a bit disappointed. Read these[^].

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      E 1 Reply Last reply
      0
      • D Dave Kreskowiak

        No database engine out there knows what a .NET Dictionary is. Since your using a stored procedure on the database side, you might be a bit disappointed. Read these[^].

        A guide to posting questions on CodeProject

        Click this: Asking questions is a skill. Seriously, do it.
        Dave Kreskowiak

        E Offline
        E Offline
        Eagle32
        wrote on last edited by
        #3

        Thanks for your input. I will check those links out. Ultimately what I am trying to achieve is to improve the performance of the application I am working on. Currently I do a database call for each entity. This works but from a performance aspect it isn't good hence why I decided to ask the dev community.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups