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 7830169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:06:21+00:00 2026-06-02T11:06:21+00:00

I come from an Objective-C programming background and as such, am used to using

  • 0

I come from an Objective-C programming background and as such, am used to using Core Data for storing my data. Core data allows you to define fields (attributes) which you can then refer to as if they were objects in code, for each item in the database.

I wondered if there is a similar way of doing things for C#.

A bit more background

I have a treeview on my winform. The treeview allows people to add and remove new nodes. I’ve created a subclass of TreeNode so I can store a little more information against each node but I’d like to have all of the database transactions for adding / deleting done as part of this subclass. For instance, when I delete a node from the tree that has subnodes, I can easily remove this from the tree by calling Remove (knowing it will remove all subnodes too), but I also need the database to keep those changes too.

So, as above – is there a way to treat DB records as objects?

Hope that’s clear enough!

  • 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-02T11:06:35+00:00Added an answer on June 2, 2026 at 11:06 am

    Entity Framework, LLBLGEN, NHibernate to name a few ORMs

    I would suggest looking at Beginner’s Guide to ADO.NET Entity Framework

    EntityFramework (Nuget Package) (Nuget is the preferred way to install packages such as EF)

    Also, take a look at Sam Saffron’s How I learned to stop worrying and write my own ORM and Small is Beautiful – .NET Micro ORMs

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

Sidebar

Related Questions

I come from a Java background, where packages are used, not namespaces. I'm used
I come from a CVS background. I'm currently investigating using SVN for a project.
I am very new to VB.NET, and I come from an Objective-C background. In
In C, can you create a dictionary? I come from a Objective-C background so
I come from a Java background and I am learning Objective C. I am
I come from a C# background and I am learning Objective-C. I was wondering
I come from a mainly PHP background and make good use of the Apache
I come from a background of MoM. I think I understand ESB conceptually. However,
I come from more of a Java background. In the last year or two,
I come from a Java background and with any servlets-based technology, it's trivial to

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.