Table of Contents

Class SqlServerSetting<TSetting, TDbContext>

Namespace
HeBianGu.DataBase.Sqlite
Assembly
HeBianGu.DataBase.Sqlite.dll
public abstract class SqlServerSetting<TSetting, TDbContext> : DataBaseSetting<TSetting>, INotifyPropertyChanged, IDisplayer, ISetting, IDataBaseSetting, ISqliteOption where TSetting : new() where TDbContext : DbContext

Type Parameters

TSetting
TDbContext
Inheritance
DataBaseSetting<TSetting>
SqlServerSetting<TSetting, TDbContext>
Implements
Derived
Inherited Members
Extension Methods

Properties

ConfigPath

[Browsable(false)]
[Display(Name = "数据库配置文件路径", Description = "表示数据库连接字符串的配置文件存放的位置")]
public string ConfigPath { get; set; }

Property Value

string

FilePath

[Display(Name = "数据库文件夹路径", Description = "数据库保存的文件夹路径")]
public string FilePath { get; set; }

Property Value

string

InitialCatalog

[Display(Name = "数据库名称", Description = "数据库文件的名称")]
public string InitialCatalog { get; set; }

Property Value

string

Methods

GetConnect()

public override string GetConnect()

Returns

string

GetDefaultPath()

protected override string GetDefaultPath()

Returns

string

LoadDefault()

public override void LoadDefault()