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