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