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 return value from the method in C#
- How to handle "Violation of UNIQUE KEY constraint" exception in asp.net web application
- In WPF based desktop app touch drag and drop is working on window 7 but not on Window 8
- LDAP Authentication not working in remote server only on localhost
- How can I avoid duplicate code in the long if-else chain?
- Get values inside quotes from a string
- Unable to load the xml because of empty value
- GetcontentResolver (); equivalent
- are there anybody can help me ? i'm writting a program ( reversing an array ), but it doesn't run :(
- Redirect user to a new page on anchor tag click through a ASPX page
Related Questions in DAPPER
- How to put objects into a dictionary using Dapper in C#?
- Why does Dapper not require an open connection?
- How to protect yourself from accidental typos when defining entity classes for Dapper?
- C# Identity UserManager CreateAsync then FindByEmailAsync returns User with Id=0
- Query with JOIN clause always returns a empty result set using Dapper
- Wait all tasks one by one with the same transaction instance failed c#
- Entity framework using statement with Dapper
- Passing in a list of items (that can possibly be null) as params for an IN clause using Dapper
- Bulk insert or update within same function with Dapper
- C# - Passing parameter to stored procedure and return IEnumerable
Related Questions in MICRO-ORM
- PetaPoco - How to turn off auto increment?
- How to add values for searching dynamically in Dapper.NET
- Does MikroORM support lazy loading?
- Dynamic resultset with dapper on 3.5
- Where are micro orm tools positioned in the application architecture
- Simple.Data Micro ORM with Intellisense in Visual Studio (dynamics)
- Simple.Data Default Generated Queries and Performance
- Customizing SQL with Dapper Extensions
- How to use object of type Promise <string | null> as a string
- Dapper: is it possible to customize the type mapping of a specific field of a specific type?
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?
Popular Tags
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