I've got a store procedure call returning a recordset whith field unknown in advance. For some interop reason I need to make it working on 3.5, so I don't have any dynamic support. Is there some built-in solution in dapper? I did not find any by myself. If there is no such a solution, does it make sense ( and does it work ) to create on the fly a type exposing the property I would fetch ? EDIT I managed to add a completely external solution ( without tweaking the original codebase ) by creating a dynamic object in c# 3.0. Here is the extension dapper code and here the factory for the dynamic object.
Related Questions in C#-3.0
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in DAPPER
- Dapper.Contrib can't insert into database
- An error occurred while trying to restore packages: 'Dapper' already has a dependency defined for 'System.Data.SqlClient'
- Intermittent dapper error "Object reference not set to an instance of an object" when running QueryAsync
- How to set "native" db types when passing parameters, e.g., NpgsqlDbType / SqlDbType / or just parameter.TypeName / etc.)
- How to using Dapper to extract data from column dynamically altered table
- QueryAsync returns intermittent errors 'This MySqlConnection is already in use.' and 'Connection must be Open; current state is Connecting'
- .NET 6 When using Dapper to call a stored procedure, I receive the error The I/O operation has been aborted
- Binding a complex model to Dapper DynamicParameters
- Sql connection works with MySql.Data but not with Dapper/IDbConnection with path not found error
- Dapper multi-mapping error one-to-many query
- Does DapperExtensions nuget package support writing complex objects in SQLite?
- How do I return an object (with another object within) from a join table in SQL using C# and Dapper?
- Dapper Dynamic Parameters Dictionary values
- Postgres loses one digit when saves DateTimeOffset from .Net app (Dapper)
- Using MS Tests with sqlite in memory DB for API unit testing
Related Questions in MICRO-ORM
- Does MikroORM support lazy loading?
- micro-orm FilterQuery error for mongo DAO function
- Mapping an object with read-only properties using Dapper
- Relationship error for Entities in microORM and Next.js
- throw new TypeError('Invalid argument type'); from{mypath}\Desktop\reddit\node_modules\@redis\client\dist\lib\client\RESP2\encoder.js:17 t
- How to use object of type Promise <string | null> as a string
- RepoDb - Extract function throws exception when using ExecuteQueryMultiple
- RepoDb does not seem to work for SQL Server tables with dot in the name
- RepoDB with SQL Server's OUTPUT clause
- RepoDB throwing SqlConnection Exception
- Is there any Dapper like micro ORM for Python?
- Get data using inner join from Dapper
- Can I populate multiple tables from one poco?
- What is the difference between ORM and micro ORM?
- Unable to use the Column attribute to associate properties to the column names using AsyncPoco
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Well, actually the
dynamicsupport in dapper is implemented via ExpandoObject, which is basically just a dictionary. It would be pretty simple to tweak the existing code to returnIDictionary<string,object>instead ofdynamicin the case of 3.5