I used ef6.0 to migrate the database to Oracle, how to build a database field in Upper
I saw the other question: Configure Entity Framework v6 Code-First Identifiers to use ALL CAPS and I find the answer ,
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
base.OnModelCreating(modelBuilder);
modelBuilder.Properties()
.Configure(c => c.HasColumnName(c.ClrPropertyInfo.Name.ToUpperInvariant()));
modelBuilder.Types()
.Configure(c => c.ToTable(c.ClrType.Name.ToUpperInvariant()));
}
I wish could help other people in need.