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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T03:34:16+00:00 2026-05-27T03:34:16+00:00

I am working with Entity Framework 4.0, VS 2010, MySql server database, and mysql-connector-net-6.4.4

  • 0

I am working with Entity Framework 4.0, VS 2010, MySql server database, and mysql-connector-net-6.4.4 for connection purpose. It works fine, that said, it can generate Model classes, csdl, ssdl etc files well. But, for stored procedures it doesn’t work.

Here is what happens..

Right clicked on an SP from Model Browser, select [Add Function Import]. This opened a dialog box
Filled appropriate values like, Function Import Name, Stored Procedure Name
Click on [Get Column Information]. This results into some Grid filled up at the bottom of this button. In the grid, there is a column named [EDM Type]. This column shows [Not supported] due to some unknown reason 🙁
Now, clicked on [Create New Complex Type]. This goes OK, without Error
Now, clicked on OK button
After doing all above steps, there is no Complex Type created in the code however, which is the problem.

Can anyone please help?

  • 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-27T03:34:17+00:00Added an answer on May 27, 2026 at 3:34 am

    The generated Complex Type is in the Complex Types folder in the Model part of the Model Browser.

    To access ti in code, use it as any other Entity

    MyComplexType ct = new MyComplexType();
    

    And you can use it as a result type for your stored procedure:

    List<MyComplexType> info = ctx.GetAllEmployees().ToList<MyComplexType>();
    

    You must ensure that the GridView‘s columns mappings match the Complex Type‘s properties, or that the GridView‘s property AutoGenerateColumns is set to true.

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

Sidebar

Related Questions

I am working with VS 2010, Entity framework, SQl-Server 2005, ASP.Net web forms .
I'm working on a project that uses ADO.NET entity framework as the ORM framework
I am working in ASP.Net MVC 1.0 and SQL Server 2000 using Entity Framework.
I am working with Entity Framework 4.0 (VS 2010 Beta 2, NOT RC). I
We're working with Entity Framework 4 but we're being told the database to use
I'm wondering if using VS.Net 2010, I can have Entity Framework 3.5 code running
I am working with Entity Framework ... I have a database table for Patient
I have an MVC 3 project that I am working on using Entity Framework
I am working in Visual Web Developer 2010 Express, and using the Entity Framework
I am working on custom data provider using ADO .NET Entity Framework. In the

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.