Definition
Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Commands Inheritance: System.ObjectSyntax
Summary
Command for refreshing existing EDMX files.Constructors
.ctor
Initializes a new instance of the DatabaseRefreshCommand class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
converter | CloudNimble.EasyAF.EFCoreToEdmx.EdmxConverter | The EDMX converter service. |
.ctor Inherited
Inherited from
objectSyntax
Properties
ContextName
Gets or sets the DbContext class name to use for finding the EDMX and configuration files. When not specified, all .edmx files will be processed.Syntax
Property Value
Type:string
Project
Gets or sets the project directory path (defaults to auto-detected .Data folder).Syntax
Property Value
Type:string
SolutionFolder
Gets or sets the working directory for the solution. Defaults to current directory.Syntax
Property Value
Type:string
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
OnExecuteAsync
Executes the refresh command.Syntax
Returns
Type:System.Threading.Tasks.Task<int>
Exit code.
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?