Skip to content

Support: Initiate the support to 'Microsoft.Data.SqlClient' namespace. #374

@mikependon

Description

@mikependon

The author knows this already but has not yet introduced the support.

The message is taken from the ORM Cookbook recipe to support this claim.

 EmployeeCount
  No source available
   Duration: 40 ms

  Message: 
    Test method Recipes.Ado.RowCount.RowCountTests.EmployeeCount threw exception: 
    RepoDb.Exceptions.MissingMappingException: There is no database setting mapping found for 'Microsoft.Data.SqlClient.SqlConnection'.
  Stack Trace: 
    DbConnectionExtension.GetDbSetting(IDbConnection connection)
    DbConnectionExtension.InsertAllInternalBase[TEntity](IDbConnection connection, String tableName, IEnumerable`1 entities, Int32 batchSize, IEnumerable`1 fields, Nullable`1 commandTimeout, IDbTransaction transaction, ITrace trace, IStatementBuilder statementBuilder, Boolean skipIdentityCheck)
    DbConnectionExtension.InsertAllInternal[TEntity](IDbConnection connection, IEnumerable`1 entities, Int32 batchSize, Nullable`1 commandTimeout, IDbTransaction transaction, ITrace trace, IStatementBuilder statementBuilder)
    DbConnectionExtension.InsertAll[TEntity](IDbConnection connection, IEnumerable`1 entities, Int32 batchSize, Nullable`1 commandTimeout, IDbTransaction transaction, ITrace trace, IStatementBuilder statementBuilder)
    DbRepository`1.InsertAll[TEntity](IEnumerable`1 entities, Int32 batchSize, IDbTransaction transaction)
    RowCountScenario.InsertBatch(IList`1 employees) line 31
    RowCountTests`1.EmployeeCount() line 24

Metadata

Metadata

Assignees

Labels

deployedFeature or bug is deployed at the current releaseduplicateThis issue or pull request already existsenhancementNew feature or requestfixedThe bug, issue, incident has been fixed.todoThings to be done in the future

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions