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

  • Home
  • SEARCH
  • 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 4066446
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:07:53+00:00 2026-05-20T16:07:53+00:00

I have a web application where i want my users to dynamically create a

  • 0

I have a web application where i want my users to dynamically create a type…i can do this using reflection but i am not sure of how to persist that type using Entity framework

  • 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-05-20T16:07:54+00:00Added an answer on May 20, 2026 at 4:07 pm

    Once again – whether this approach is applicable or not (and in any case it is a workaround), depends on your scenario. However, what you can do is serialize your object and store it in a database field. You can basically serialize into any format (binary, json, xml, …).

    Note: when using the xml datatype you can actually query for the data inside the object (not sure if you can do that directly with EF, but you can always write an SP and call it with EF). See this link for an example.

    Here is an overview of Storing serialized objects in SQL Server.

    Here is an implementation of an XML serializer. You can use it to serialize your object into a string before assigning it to your entities property.

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

Sidebar

Related Questions

Using mysql, c#.net, Java Script I have the web application, i want to create
I have a web application using ASP.NET 2.0 and I want to know if
I have this web application that has grown to an unmanageable mess. I want
We're planning to create a web application where users can build custom forms, choosing
I have a Web Application project where the users can upload images to the
I have an iPhone web application that creates a meta viewport tag dynamically, using
I have a web application that is becoming rather large. I want to separate
I have a web server that runs my web application. If I want to
I have an application dependent on some internal web services, and so we want
I have a web application that should behave differently for internal users than external

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.