Use package:Microsoft.EntityFrameworkCore.Relational
var mapping=dbContext.Model.FindEntityType(typeof(YourEntity)).Relational();
var schema=mapping.Schema;
var tableName=mapping.TableName;