Oracle
To set up Jerrycurl with an Oracle database, install the official NuGet package.
dotnet add package Jerrycurl.Vendors.Oracle
After this, configure your connection with the UseOracle
extension.
class MyDomain : IDomain
{
public void Configure(DomainOptions options)
{
options.UseOracle("SERVER=.;DATABASE=blogdb");
}
}
If you want to create an initial set of classes, use our CLI with the oracle
moniker.
jerry scaffold -v oracle -c "SERVER=.;DATABASE=blogdb"
Or, in Visual Studio, simply right-click a .orm
file and pick Jerrycurl -> Generate from Database
.