Exemplo n.º 1
0
 public static string GetTableName <T>(this DbSet <T> dbSet) where T : class
 => dbSet.GetAnnotation(RelationalAnnotationNames.TableName).Value.ToString();
Exemplo n.º 2
0
 public static string GetSchema <T>(this DbSet <T> dbSet) where T : class
 => dbSet.GetAnnotation(RelationalAnnotationNames.Schema).Value.ToString();