Skip to main content

Definition

Assembly: CloudNimble.EasyAF.Tools.dll Namespace: CloudNimble.EasyAF.Tools.Commands Inheritance: System.Object

Syntax

CloudNimble.EasyAF.Tools.Commands.DatabaseGenerateCommand

Summary

Command for generating EDMX from database.

Constructors

.ctor

Initializes a new instance of the DatabaseGenerateCommand class.

Syntax

public DatabaseGenerateCommand(CloudNimble.EasyAF.EFCoreToEdmx.EdmxConverter converter)

Parameters

NameTypeDescription
converterCloudNimble.EasyAF.EFCoreToEdmx.EdmxConverterThe EDMX converter service.

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

ContextName

Gets or sets the DbContext class name to use for finding the configuration file. When not specified, all .edmx.config files will be processed.

Syntax

public string ContextName { get; set; }

Property Value

Type: string

Project

Gets or sets the project directory path (defaults to auto-detected .Data folder).

Syntax

public string Project { get; set; }

Property Value

Type: string

SolutionFolder

Gets or sets the working directory for the solution. Defaults to current directory.

Syntax

public string SolutionFolder { get; set; }

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

OnExecuteAsync

Executes the generate command.

Syntax

public System.Threading.Tasks.Task<int> OnExecuteAsync()

Returns

Type: System.Threading.Tasks.Task<int> Exit code.

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?