We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public class ModelBuilderHelper(ModelBuilder builder, string baseTableName) { public void HasKey<TRevision>(Expression<Func<TRevision, object?>> keySelector) where TRevision : class, TBaseRevision => builder.Entity<TRevision>().ToTable(baseTableName).HasKey(keySelector); }
Current output after fix applied (if it is a code fix bug):
Unchanged since should not reporting
Expected output after fix applied (if it is a code fix bug):
public class ModelBuilderHelper(ModelBuilder builder, string baseTableName) { public static void HasKey<TRevision>(Expression<Func<TRevision, object?>> keySelector) where TRevision : class, TBaseRevision => builder.Entity<TRevision>().ToTable(baseTableName).HasKey(keySelector); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug
Current output after fix applied (if it is a code fix bug):
Unchanged since should not reporting
Expected output after fix applied (if it is a code fix bug):
The text was updated successfully, but these errors were encountered: