Skip to content
DocsTry Aspire
DocsTry

DuckDBResource Constructors

ClassConstructors1 member
Represents a resource for a DuckDB database with a specified name and database path.
Constructor(string, string, string)Section titled Constructor(string, string, string)
Represents a resource for a DuckDB database with a specified name and database path.
public class DuckDBResource
{
public DuckDBResource(
string name,
string databasePath,
string databaseFileName)
{
// ...
}
}
namestringThe name of the resource.
databasePathstringThe path to the database directory.
databaseFileNamestringThe filename of the database file. Must include extension.