Skip to content

Oracle bulk copy

Jacek Hełka edited this page Nov 9, 2024 · 2 revisions

This feature is available in OracleManaged extensions package: DbFun.OracleManaged.

To make it work, implement configuration with DbFun.OracleManaged package instead of DbFun.Core.Builders, then create bulk copy builder object:

let bulkCopy = BulkCopyBuilder()

You can use it to generate bulk copy functions:

let bulkInsertBlogs = bulkCopy.WriteToServer<Blog>()

or using param specifiers:

let bulkInsertUsers = bulkCopy.WriteToServer(
    BulkCopyParams.Tuple<string, string, string, byte array>("id", "name", "email", "avatar"), 
    "userprofile")
Clone this wiki locally