Nextended.Aspire.Hosting.DbTools — API reference
The complete public surface of Nextended.Aspire.Hosting.DbTools, generated from the compiled assembly.
Generated
This page is generated by tools/ApiRef from the compiled assembly — it includes members with no XML comment and therefore cannot drift from the code. Do not edit by hand.
Nextended.Aspire.Hosting.DbTools
DbCloneOptions
class
What a clone copies, and what it is allowed to overwrite.
Constructors
DbCloneOptions()
Properties
DataOnly : bool { get; set; }
The rows into a schema that is already there.Image : string { get; set; }
The image the dump and restore run in.Name : string { get; set; }
The name of the resource the clone appears as, so the dashboard says which one it is when a stack has several.OnlyWhenEmpty : bool { get; set; }
Leave a target that already has something in it alone.Overwrite : bool { get; set; }
Replace whatever is in the target.SchemaOnly : bool { get; set; }
The shape without the rows.TimeoutSeconds : int { get; set; }
How long the clone may take before it is a failure. A first clone of a large database is minutes, not seconds.
DbEndpoint
class
Where a database is and how to get in.
Methods
Of(string host, string port, string user, string password, string database) : DbEndpoint
Everything as literal text — what a test reads back, and what a typed source with no password looks like.Parse(string connectionString, int defaultPort) : DbEndpoint
A connection string as the parts its engine's command line wants.
Properties
IsWhole : bool { get; }
True when this is one whole connection string for the script to take apart, false when the parts are already known here.
MongoDBCloneExtensions
static class
Fills a MongoDB database with the contents of another one.
MySqlCloneExtensions
static class
Fills a MySQL or MariaDB database with the contents of another one.
PostgresCloneExtensions
static class
Fills a PostgreSQL database with the contents of another one.
RedisCloneExtensions
static class
Fills a Redis server with the contents of another one.
SqlServerCloneExtensions
static class
Fills a SQL Server database with the contents of another one.
Projects
Nextended_Aspire_Hosting_DbTools
class
Metadata for the Aspire AppHost project.
Properties
ProjectPath : string { get; }
The path to the Aspire Host project.