Skip to content

IDataLoader usage documentation is misleading and behavior is weird. #135

@jons-aura

Description

@jons-aura

The documentation for the DbConnectionFactory CreateTransient overload that takes an IDataLoader says

If the database is accessed the first time, then its state will be initialized by the provided object.

The problem is that what it actually does is get and store the Type object and the value of the Argument parameter which although there is a documentation note that

Gets or sets the argument that describes the complete state of the data loader.

this is not at all clear from the CreateTransient usage documentation

connectionString.DataLoaderType = dataLoader.GetType();

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions