locked
Not ble to use OracleBulkCopy method RRS feed

  • Вопрос

  • Hai,

    In my application I have included the namespace, Oracle.DataAccess.Client, but still I am not able to get the ODP.Net method OracleBulkCopy.

    How do I get this?

    Thanks,

    Viknesh.A

     

    • Перемещено Paul Zhou 2 августа 2011 г. 10:16 (From:64-Bit .NET Framework Development.)
    27 июля 2011 г. 5:40

Все ответы

  •  

    I suggest you post thread in ADO.NET Managed Providers forum to get better support.

     

    Have a nice day.


    Paul Zhou [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    28 июля 2011 г. 6:43
  • OracleBulkCopy is a class not a method.

    Try this way

    using (OracleBulkCopy bulkCopy = new OracleBulkCopy(ConnectionString))
    {

    bulkCopy.BulkCopyOptions = OracleBulkCopyOptions.Default;
    bulkCopy.DestinationTableName = "TESTTABLE";
    bulkCopy.WriteToServer(reader);
    }


    Lingaraj Mishra
    • Предложено в качестве ответа Lingaraj Mishra 2 августа 2011 г. 14:10
    28 июля 2011 г. 11:18