Class DbContextFileBuilderConfigureAdder
Inheritance
DbContextFileBuilderConfigureAdder
Assembly: Volo.Abp.Cli.Core.dll
Syntax
public class DbContextFileBuilderConfigureAdder : ITransientDependency
Constructors
DbContextFileBuilderConfigureAdder(UsingStatementAdder)
Declaration
public DbContextFileBuilderConfigureAdder(UsingStatementAdder usingStatementAdder)
Parameters
Properties
Logger
Declaration
public ILogger<DbContextFileBuilderConfigureAdder> Logger { get; set; }
Property Value
UsingStatementAdder
Declaration
protected UsingStatementAdder UsingStatementAdder { get; }
Property Value
Methods
Add(string, string)
Declaration
public bool Add(string path, string moduleConfiguration)
Parameters
Type |
Name |
Description |
string |
path |
|
string |
moduleConfiguration |
|
Returns
FindIndexToInsert(string)
Declaration
protected int FindIndexToInsert(string file)
Parameters
Type |
Name |
Description |
string |
file |
|
Returns
GetLineToAdd(string)
Declaration
protected string GetLineToAdd(string moduleConfiguration)
Parameters
Type |
Name |
Description |
string |
moduleConfiguration |
|
Returns
GetNamespace(string)
Declaration
protected string GetNamespace(string moduleConfiguration)
Parameters
Type |
Name |
Description |
string |
moduleConfiguration |
|
Returns
Implements
Extension Methods