Class SqlServerSetting<TSetting, TDbContext>
public abstract class SqlServerSetting<TSetting, TDbContext> : DataBaseSetting<TSetting>, INotifyPropertyChanged, IDisplayer, ISetting, IDataBaseSetting, ISqliteOption where TSetting : new() where TDbContext : DbContext
Type Parameters
TSetting
TDbContext
- Inheritance
-
LazySettingInstance<TSetting>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
FilePath
[Display(Name = "数据库文件夹路径", Description = "数据库保存的文件夹路径")]
public string FilePath { get; set; }
Property Value
InitialCatalog
[Display(Name = "数据库名称", Description = "数据库文件的名称")]
public string InitialCatalog { get; set; }
Property Value
Methods
GetConnect()
public override string GetConnect()
Returns
GetDefaultPath()
protected override string GetDefaultPath()
Returns
LoadDefault()
public override void LoadDefault()