Click here to Skip to main content
15,886,578 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

We have multiple schemas in oracle database. Each schema have same structure. We have defined a User Defined Type in each schema and a mapping class in C#. To map this class to oracle UDT I have decorated the class with attribute with:

[OracleCustomTypeMapping("MY_SCHEMA.CUSTOM_UDT")].

By using this I'm able to connect and execute a UDT on a particular schema. My application in run time resolves to which schema it needs to connect.

Is there any way I could pass SCHEMA_NAME in OracleCustomTypeMapping attribute dynamically?

Any help is highly appreciated.

Thanks,

Raghu
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900