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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:51:54+00:00 2026-05-26T04:51:54+00:00

For the past days I’ve been trying to use Entity Framework and LINQ 2

  • 0

For the past days I’ve been trying to use Entity Framework and LINQ 2 Entities, which work perfectly fine with SQL Server (as I would expect) but the problem is that I have to use Sybase ASE 15.5.

I say “the problem” because of the following:

  1. It usually takes too long to generate / update the model
  2. Sometimes it generates an error saying that the field < fieldname > is already in the metadata collection (I think it has something to do with named constraints or field names that are the same in tables with a relation (FKs being the most common)
  3. I made a simple model in which there would be no problems generating / updating, but the issue is that sometimes (depending on the query) the T-SQL generated by LINQ To Entities throws some error in ASE

I am using the Sybase SDK version 15.5.0.1000, Does the ADO.NET Provider from this SDK work well (as in, am I doing something wrong)?, if not, is there a newer one? are there any other stuff I have to install to solve these issues (like a newer SDK, some dll or some dialect for the translation)? (I’m aware there’s a new Sybase ASE -15.7- but does it come with a new SDK? and probably doesn’t matter much since I’m not sure the IT Director and CIO would approve for a change right now)

I’ve also tried the Data Direct provider but it gets stuck while trying to generate the model, BLToolkit is too, from what I read at their site, dependant on the vendor data provider (at least for non-Microsoft DBs). I would really like something that works with Entity Framework, but just something that works with ASE and ASE CE will do at this point (haven’t tried NHibernate just yet mostly because at first glance it seems to involve too much manual work, and read somewhere it had some problems with ASE)

Thanks in advance for any help that you can provide.

  • 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-26T04:51:54+00:00Added an answer on May 26, 2026 at 4:51 am

    Since it’s been a whole week and not even a comment was made, I’m gonna answer this myself.

    It seems that the SDK has indeed problems, apparently the model generation creates a monster of T-SQL that gets executed, thus the big delay. It indeed has some problems with constraints that are named similarly but only in ASE, in ASE CE it doesn’t appear to have any. I could not find any resource like a dialect specific for ASE so I guess their driver is not ready to use with Entity Framework, because the T-SQL generated is for SQL Server which in some queries will throw an exception with ASE.

    I’m probaly gonna go with NHibernate since it seems to be the one path that will be the most beneficial (as in, it actually works) and it’s free. Also, seems like the Progress (DataDirect) people do offer support during trial period for their ADO.NET provider, I will call them up and see if the issues can be solved easily, in which case, I’ll probably end up using it.

    UPDATE: Apparently this has been fixed since now I can create a model with the Sybase driver.

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

Sidebar

Related Questions

I've been the past days trying to test my first in-app purchse iphone application.
There have been several questions over the past few days about the proper use
For the past 2 days I've been struggling trying to successfully authenticate users into
Over the past few days, I have been trying to find an answer to
For the past 2 days I've been stuck on a violation which I can't
For the past few days, I have been trying to figure out how to
I have been trying these for past two days and getting stuck at same
I have been trying to learn Java for the past few days so my
I've been searching over the past few days of whether I should use mod_proxy_ajp
So for the past few days I've been trying to learn Python in App

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.