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