Ejemplo n.º 1
0
 public static void QuickLog <C>(this ILogger <C> logger, DbOperationType dbOperationType, Entity entity, int id)
 => logger.LogInformation(string.Format(dbOperationType.Description(), entity.GetType().Name, id));
Ejemplo n.º 2
0
 public static void QuickLog <C>(this ILogger <C> logger, DbOperationType dbOperationType, Type type, int id)
 => logger.LogInformation(string.Format(dbOperationType.Description(), type.Name, id));