You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
privatevoidConfigureContext(IRepositoryContextcontext){Guard.EnsureNotNull(context.Conventions,"No conventions have been configured for this context.");if(_options.Conventions!=null)RepositoryConventions.Combine(_options.Conventions,context.Conventions);if(_loggerProvider!=null)context.LoggerProvider=_loggerProvider;context.Conventions.ThrowsIfInvalidPrimaryKeyDefinition<TEntity>();}
The text was updated successfully, but these errors were encountered:
Instead of overriding the convention property we should probably use a callback instead. That way there is more flexibility and freedom.
The following will need to be revised:
.../src/DotNetToolkit.Repository/RepositoryBase.cs
The text was updated successfully, but these errors were encountered: