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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:41:15+00:00 2026-05-10T22:41:15+00:00

I am trying to leverage ORM given the following requirements: 1) Using .NET Framework

  • 0

I am trying to leverage ORM given the following requirements:

1) Using .NET Framework (latest Framework is okay)
2) Must be able to use Sybase, Oracle, MSSQL interchangeably
3) The schema is mostly static, BUT there are dynamic parts.

I am somewhat familiar with SubSonic and NHibernate, but not deeply.
I get the nagging feeling that the ORM can do what I want, but I don’t know how to leverage it at the moment.

SubSonic probably isn’t optimal, since it doesn’t currently support Sybase, and writing my own provider for it is beyond my resources and ability right now.

For #3 (above), there are a couple of metadata tables, which describe tables which the vendors can ‘staple on’ to the existing database.
Let’s call these MetaTables, and MetaFields.

There is a base static schema, which the ORM (NHibernate ATM) handles nicely.
However, a vendor can add a table to the database (physically) as long as they also add the data to the metadata tables to describe their structure.

What I’d really like is for me to be able to somehow ‘feed’ the ORM with that metadata (in a way that it understands) and have it at that point allow me to manipulate the data.

My primary goal is to reduce the amount of generic SQL statement building I have to do on these dynamic tables.
I’d also like to avoid having to worry about the differences in SQL being sent to Sybase,Oracle, or MSSQL.

My primary problem is that I don’t have a way to let ORM know about the dynamic tables until runtime, when I’ll have access to the metadata

Edit: An example of the usage might be like the one outlined here:

IDataReader rdr=new Query(‘DynamicTable1’).WHERE(‘ArbitraryId’,2).ExecuteReader();

(However, it doesn’t look like SubSonic will work, as there is no Sybase provider (see above)

  • 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. 2026-05-10T22:41:16+00:00Added an answer on May 10, 2026 at 10:41 pm

    Acording to this blog you can in fact use NHibernate with dynamic mapping. It takes a bit of tweaking though…

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

Sidebar

Ask A Question

Stats

  • Questions 51k
  • Answers 51k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer It seems about as arbitrary as creating a partial class… May 11, 2026 at 6:22 am
  • added an answer I have done some internal bots for my company using… May 11, 2026 at 6:22 am
  • added an answer ISO has not issued standards for naming of humans (yet),… May 11, 2026 at 6:22 am

Top Members

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

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.