Class InitialMigrationCreator
Inheritance
object
InitialMigrationCreator
Implements
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Cli.Commands.Services
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class InitialMigrationCreator : ITransientDependency
Constructors
InitialMigrationCreator(ICmdHelper, DotnetEfToolManager)
Declaration
public InitialMigrationCreator(ICmdHelper cmdHelper, DotnetEfToolManager dotnetEfToolManager)
Parameters
| Type | Name | Description |
|---|---|---|
| ICmdHelper | cmdHelper | |
| DotnetEfToolManager | dotnetEfToolManager |
Properties
CmdHelper
Declaration
public ICmdHelper CmdHelper { get; }
Property Value
| Type | Description |
|---|---|
| ICmdHelper |
DotnetEfToolManager
Declaration
public DotnetEfToolManager DotnetEfToolManager { get; }
Property Value
| Type | Description |
|---|---|
| DotnetEfToolManager |
Logger
Declaration
public ILogger<InitialMigrationCreator> Logger { get; set; }
Property Value
| Type | Description |
|---|---|
| Microsoft.Extensions.Logging.ILogger<TCategoryName><InitialMigrationCreator> |
Methods
CreateAsync(string, bool)
Declaration
public Task<bool> CreateAsync(string targetProjectFolder, bool layeredTemplate = true)
Parameters
| Type | Name | Description |
|---|---|---|
| string | targetProjectFolder | |
| bool | layeredTemplate |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><bool> |