메소드 | 설명 | |
---|---|---|
ChiakiYuDbContext ( ) : System |
构造函数
|
|
ChiakiYuDbContext ( string nameOrConnectionString ) : System |
使用连接名称或连接字符串
|
메소드 | 설명 | |
---|---|---|
OnModelCreating ( DbModelBuilder modelBuilder ) : void |
메소드 | 설명 | |
---|---|---|
GetConnectionStringName ( ) : string |
获取 数据库连接串名称
|
public ChiakiYuDbContext ( string nameOrConnectionString ) : System | ||
nameOrConnectionString | string | |
리턴 | System |
protected OnModelCreating ( DbModelBuilder modelBuilder ) : void | ||
modelBuilder | DbModelBuilder | |
리턴 | void |