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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:17:52+00:00 2026-05-26T21:17:52+00:00

I want to dump the return into datagrid of silverlight application. I wrote a

  • 0

I want to dump the return into datagrid of silverlight application. I wrote a stored procedure with no key and just return 4 properties. I have imported the function into Entity Framework with

  • Function Import Name :: LecAllInfo
  • Stored procedure Name :: LecAllInfo
  • Returns a Collection of :: Complex : LecAllInfo_Result
  • Stored Procedure Column Information

    StartTime, EndTime, Venue, Purpose
    

Code in my Domain Service Class (OrganizationService.cs)

    public IQueryable<LecAllInfo_Result> LecAllInfoQuery(string lecId)
    {
        return this.ObjectContext.LecAllInfo(lecId).AsQueryable<LecAllInfo_Result>();
    }

Code in my Metadata (OrganizationService.metadata.cs)

[MetadataTypeAttribute(typeof(LecAllInfo_Result.LecAllInfo_ResultMetadata))]
public partial class LecAllInfo_Result
{
    internal sealed class LecAllInfo_ResultMetadata
     {
          private LecAllInfo_ResultMetadata()
          {
          }

          public DateTime StartTime { get; set; }
          public DateTime EndTime { get; set; }
          public string Venue { get; set; }
          public string Purpose { get; set; }
     }
}

But I failed to call back the LecAllInfo in usual way, which is ::

var context = new OrganizationContext();
context.Load(context.GetLecNotificationQuery(((App) Application.Current).GloUid), loadLectNort, null);
context.Load(context.Lec << Unable to Load it

context.Load(context.LecAllInfo(“LP123112”), true);

will return error and resharper telling
me to create method in ‘OrganizationContext.LecAllInfo’

May I know is there something wrong with my structure of code or how can i edit this while i got no idea on how to make it ??

when i click the resharper option, it created this at SolutionName.Web.g.cs

    public EntityQuery<object> LecAllInfo(string lp123112)
    {
        throw new NotImplementedException();
    }

I followed several tutorial available on web, stackoverflow members post as well but still failed to do so. Thank you for reply

  • 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-26T21:17:53+00:00Added an answer on May 26, 2026 at 9:17 pm

    To load Store Procedure should define anything as key in return. SOLVED

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

Sidebar

Related Questions

Seeing lots of SOAP/RDS stuff, but just want to dump some MySQL data and/or
I have a table (dump) with transactions, and I want to list the total
I just want to return the body and no IMG tags so it would
I want to retrieve stack trace from a user dump file programmatically . There
Is the svnadmin dump format documented somewhere? I want to record a datastructure containing
I want to validate below data using regex and python. Below is the dump
I'm using mwlib in Python to iterate over a Wikipedia dump. I want to
want to have a Hyperlink-Button in a gridView in which I can display a
I'm doing some kind of own templates system. I want to change <title>{site('title')}</title> Into
In my last question , i successfully to dump the data into combo box

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.