Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8148777
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T14:42:45+00:00 2026-06-06T14:42:45+00:00

What I am looking may not be readily available. If so please let me

  • 0

What I am looking may not be readily available. If so please let me know.

Have an application where a users in a role can dynamically add fields. Fields are used to classify documents.

For string just have a single (static schema) table with pk as rowID, fieldID and a non-key field of value. For example fieldID = 1 is Subject and fieldID = 2 is Author. So can add user fields with no change to the database schema. Subject = Mapping maps to TSQL (fieldID=1 and Value=’Mapping’)

The primary interface is a UI but also have a button to export the search results (rows of fields) to XML. It is popular and would like to extend that to on ODATA type access.

Would like to add a WCF Data Service but expose the entity with properties Subject and Author and …. Read about EntityObject Generator but it appears need to update the reference. What I need is the EDMX to be built and read at run time and then a facility to map Subject=”Mapping” to (fieldID=1 and value=”Mapping”).

Hopefully I have described what I am looking for. Not looking for a prescriptive type answer. More like this tool should get you there or a no it just does not work that way.

I don’t know much about ODATA or WCF Data Service but if it looks like there is a way to make this work I will learn it .

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T14:42:46+00:00Added an answer on June 6, 2026 at 2:42 pm

    Since it seems the requirement is to generate entities with dynamic properties based on the fields rows in the DB, this can’t be done using the built-in EF or Reflection providers (since both rely on having statically defined CLR types to define the entities).

    The way to solve this is to implement a custom provider as described in this blog series: http://blogs.msdn.com/b/alexj/archive/2010/01/07/data-service-providers-getting-started.aspx
    Namely the un-typed custom provider.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application A which may or may not need to spawn an
I'm looking for a project that may or may not be checked into one
I have an ArrayList<MyObject> that may (or may not) contain duplicates of MyObject I
Periodically my application must update the database. This update may not be automatic. When
I have been looking to make my application a little more scalable by specifying
I have two arbitrary polygons that may or may not be the same shape,
Some of you may or may not (probably not) know about my framework .
I have a class ( Voxel ) with subclasses which may or may not
I realize the music application may or may not be the same depending on
It may not be a pure programming question but I'm looking for information about

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.