使用oracle存储过程的C#代码生成器好吗?
问题描述:
我正在寻找一个C#代码生成器,该生成器会自动生成C#以访问Oracle数据库上的存储过程。
I'm looking for a C# code generator which generate C# automatically to access stored procedures on Oracle Database.
例如,如果我在模式DEV上有一些软件包像这样:
For instance, if I have some packages on schema DEV like:
- 带有FUNC1,FUN2的PACKAGE1
- 带有FUNC3,FUN4的PACKAGE2
生成器创建代码以从C#运行以下代码:
The generator creates code to run from C# the following code:
int a = PACKAGE1.FUNC1(12, 34, "hello");
有任何线索吗?
答
MyGeneration 是开源的,由模板驱动,并且可以用C#编写模板。这样可以满足您的需求,或者甚至可以通过模板来解决它们。
MyGeneration is open source, is template driven, and the templates can be written in C#. So would meet your needs, or there might even by a template out their already.