Class DatabaseBase
Assembly: Oqtane.Server.dll
Syntax
public abstract class DatabaseBase : IDatabase
Constructors
|
Improve this Doc
View Source
DatabaseBase(string, string)
Declaration
protected DatabaseBase(string name, string friendlyName)
Parameters
Properties
|
Improve this Doc
View Source
AssemblyName
Declaration
public string AssemblyName { get; }
Property Value
|
Improve this Doc
View Source
FriendlyName
Declaration
public string FriendlyName { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Improve this Doc
View Source
Provider
Declaration
public abstract string Provider { get; }
Property Value
|
Improve this Doc
View Source
TypeName
Declaration
public string TypeName { get; }
Property Value
Methods
|
Improve this Doc
View Source
AddAutoIncrementColumn(ColumnsBuilder, string)
Declaration
public abstract OperationBuilder<AddColumnOperation> AddAutoIncrementColumn(ColumnsBuilder table, string name)
Parameters
Returns
|
Improve this Doc
View Source
AlterStringColumn(MigrationBuilder, string, string, int, bool, bool, string)
Declaration
public virtual void AlterStringColumn(MigrationBuilder builder, string name, string table, int length, bool nullable, bool unicode, string index)
Parameters
|
Improve this Doc
View Source
ConcatenateSql(params string[])
Declaration
public virtual string ConcatenateSql(params string[] values)
Parameters
Type |
Name |
Description |
string[] |
values |
|
Returns
|
Improve this Doc
View Source
DropColumn(MigrationBuilder, string, string)
Declaration
public virtual void DropColumn(MigrationBuilder builder, string name, string table)
Parameters
|
Improve this Doc
View Source
ExecuteNonQuery(string, string)
Declaration
public abstract int ExecuteNonQuery(string connectionString, string query)
Parameters
Returns
|
Improve this Doc
View Source
ExecuteReader(string, string)
Declaration
public abstract IDataReader ExecuteReader(string connectionString, string query)
Parameters
Returns
|
Improve this Doc
View Source
Initialize(Type)
Declaration
protected static void Initialize(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
|
Improve this Doc
View Source
RewriteName(string)
Declaration
public virtual string RewriteName(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
|
Improve this Doc
View Source
RewriteValue(string, string)
Declaration
public virtual string RewriteValue(string value, string type)
Parameters
Returns
|
Improve this Doc
View Source
UpdateIdentityStoreTableNames(ModelBuilder)
Declaration
public virtual void UpdateIdentityStoreTableNames(ModelBuilder builder)
Parameters
|
Improve this Doc
View Source
UseDatabase(DbContextOptionsBuilder, string)
Declaration
public abstract DbContextOptionsBuilder UseDatabase(DbContextOptionsBuilder optionsBuilder, string connectionString)
Parameters
Returns
Implements