protected RepositoryBase(T context, string schemaName = null) { Context = context ?? throw new ArgumentNullException(nameof(context)); _schemaName = schemaName ?? throw new ArgumentNullException(nameof(schemaName)); _fullSchemaName = SchemaNames.SchemaWithTable(schemaName) ?? ""; }