Капитальная чистка кода
This commit is contained in:
@@ -22,7 +22,7 @@ public static class EfCleanHelper
|
||||
object? schema = entityType.FindAnnotation("Relational:Schema")?.Value;
|
||||
|
||||
string tableName =
|
||||
entityType.GetAnnotation("Relational:TableName")?.Value?.ToString()
|
||||
entityType.GetAnnotation("Relational:TableName").Value?.ToString()
|
||||
?? throw new($"Не могу определить название таблицы для типа {entityType}");
|
||||
|
||||
string schemaName = schema?.ToString() ?? defaultSchemaName;
|
||||
|
||||
Reference in New Issue
Block a user