Skip to content
New issue

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

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

Open
jons-aura opened this issue Sep 28, 2018 · 1 comment
Open
Assignees

Comments

@jons-aura
Copy link

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();

@JonathanMagnan JonathanMagnan self-assigned this Oct 3, 2018
@JonathanMagnan
Copy link
Member

Thank you for reporting @jons-aura ,

We will look at it.

Best Regards,

Jonathan


Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper PlusLinqToSql Plus

Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval FunctionSQL Eval Function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants