Definition
Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Commands Inheritance: CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Summary
Command for initializing EasyAF project configuration including database scaffolding, project types, and analyzer setup.Constructors
.ctor
Initializes a new instance of the InitCommand class.Syntax
Parameters
.ctor Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
.ctor Inherited
Inherited from
objectSyntax
Properties
ConnectionString
Gets or sets the connection string source.Syntax
Property Value
Type:string
ContextName
Gets or sets the DbContext class name.Syntax
Property Value
Type:string
DbContextNamespace
Gets or sets the namespace for the generated DbContext.Syntax
Property Value
Type:string
ExcludeTables
Gets or sets the tables to exclude.Syntax
Property Value
Type:string[]
NoDataAnnotations
Gets or sets a value indicating whether to disable data annotations.Syntax
Property Value
Type:bool
NoPluralize
Gets or sets a value indicating whether to disable pluralization.Syntax
Property Value
Type:bool
ObjectsNamespace
Gets or sets the namespace for the generated entity objects.Syntax
Property Value
Type:string
Provider
Gets or sets the database provider.Syntax
Property Value
Type:string
SimpleMessageBusProject
Gets or sets the SimpleMessageBus project name to create. If specified, creates a new SimpleMessageBus project.Syntax
Property Value
Type:string
SolutionFolder
Gets or sets the working directory for the solution. Defaults to current directory.Syntax
Property Value
Type:string
Tables
Gets or sets the specific tables to include.Syntax
Property Value
Type:string[]
Methods
CheckMSBuildRegistered Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
ConfigureDirectoryBuildProps Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
ConfigureProjectTypes Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
DetectCommonNamespace Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
Returns
Type:string
The detected common namespace, or null if none found.
DetermineProjectType Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
Returns
Type:string
The determined project type, or null if no supported type is detected.
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ExtractUserSecretsId Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
Returns
Type:string
The UserSecretsId if found, otherwise null.
ExtractUserSecretsIdFromDataProject Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
Returns
Type:string
The UserSecretsId if found, otherwise null.
ExtractUserSecretsIdFromDirectoryBuildProps Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Returns
Type:string
The UserSecretsId if found, otherwise null.
FindCommonPrefix Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
Returns
Type:string
The common prefix.
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 init command.Syntax
Returns
Type:System.Threading.Tasks.Task<int>
Exit code.
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
SetProjectType Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
SetUserSecretAsync Inherited
Inherited from
CloudNimble.EasyAF.Tools.Commands.EasyAFBaseCommandSyntax
Parameters
Returns
Type:System.Threading.Tasks.Task
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?