addSqlite
Method
interface IDistributedApplicationBuilder { // ... omitted for brevity addSqlite( name: string, databasePath?: string, databaseFileName?: string): SqliteResource;}Signature
method
addSqlite builderAdds an Sqlite resource to the application builder.
addSqlite( name: string, databasePath?: string, databaseFileName?: string): SqliteResourceParameters
namestringThe name of the resource.databasePath stringoptionalThe optional path to the database file. If no path is provided the database is stored in a temporary location.databaseFileName stringoptionalThe filename of the database file. Must include extension. If no file name is provided, a randomly generated file name is used.Returns
SqliteResource Applies to
This method applies to the following types: