Skip to content

Can not configure the table name. #47

@linqingfeng

Description

@linqingfeng

The following code,

protected override void OnModelCreating (DbModelBuilder modelBuilder)
{
modelBuilder.Entity () ToTable ("Base.DictionaryTimestamp");

var sqliteConnectionInitializer = new SqliteCreateDatabaseIfNotExists (modelBuilder);
Database.SetInitializer (sqliteConnectionInitializer);
}

Table name and the entity name mapping is not the same, but still with the name of the table created entity name, is still a "DictionaryTimestamp", rather than "Base.DictionaryTimestamp"
Is there a solution?

Thank you very much!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions