Click here to Skip to main content
15,891,033 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Custom Class Exception Management / Setup Pin
Pete O'Hanlon4-Oct-12 2:32
mvePete O'Hanlon4-Oct-12 2:32 
QuestionI need an idea for program Pin
Cihangir Giray Han3-Oct-12 22:02
Cihangir Giray Han3-Oct-12 22:02 
AnswerRe: I need an idea for program Pin
Pete O'Hanlon3-Oct-12 22:08
mvePete O'Hanlon3-Oct-12 22:08 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han3-Oct-12 22:33
Cihangir Giray Han3-Oct-12 22:33 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon3-Oct-12 22:39
mvePete O'Hanlon3-Oct-12 22:39 
GeneralRe: I need an idea for program Pin
Cihangir Giray Han4-Oct-12 1:47
Cihangir Giray Han4-Oct-12 1:47 
GeneralRe: I need an idea for program Pin
Pete O'Hanlon4-Oct-12 1:51
mvePete O'Hanlon4-Oct-12 1:51 
QuestionEntity Framework, Import Function Stored Procs & Data Services Pin
Worried Brown Eyes1-Oct-12 23:57
Worried Brown Eyes1-Oct-12 23:57 
Hi

I'm hoping someone can point me in the right direction.

I'm trying to use EF within a Data Service, returning data from a SQL stored procedure.

I've successfully followed the quickstart here http://msdn.microsoft.com/en-us/library/dd728275.aspx[^] to get a basic service up & running against my own DB, rather than Northwind.

I've found this article telling me how to expose stored procedures http://msdn.microsoft.com/en-us/data/gg699321.aspx[^], which creates the expected public ObjectResult<t> entry in the model, but when my service tries to do the
Quote:
config.SetServiceOperationAccessRule("GetContact", ServiceOperationRights.AllRead);
I get the error 'The given name 'GetContact' was not found in the service operations', even though I can see it as a public method in the object browser.

I have also found this article http://msdn.microsoft.com/en-us/library/cc668788.aspx[^] saying that to be exposed as a service operation for the service, it must return viod, IQueryable, IEnumerable, priomitive type or an entity type in the model.

How do I reconcile the latter requirement with the former ObjectResult way of doing things. My Google skills have failed me, so pointers to documentation will be welcome.

Regards, Stewart
QuestionHow to use FileSystemWatcher Control ? Pin
DEEPAK9489@GMAIL.COM1-Oct-12 16:47
DEEPAK9489@GMAIL.COM1-Oct-12 16:47 
AnswerRe: How to use FileSystemWatcher Control ? Pin
JF20151-Oct-12 19:05
JF20151-Oct-12 19:05 
AnswerRe: How to use FileSystemWatcher Control ? Pin
Eddy Vluggen2-Oct-12 4:42
professionalEddy Vluggen2-Oct-12 4:42 
QuestionHow to know .NET Framework, deeply? Pin
atoi_powered1-Oct-12 12:22
atoi_powered1-Oct-12 12:22 
AnswerRe: How to know .NET Framework, deeply? Pin
Eddy Vluggen2-Oct-12 4:40
professionalEddy Vluggen2-Oct-12 4:40 
GeneralRe: How to know .NET Framework, deeply? Pin
isenthil2-Oct-12 6:27
isenthil2-Oct-12 6:27 
GeneralRe: How to know .NET Framework, deeply? Pin
atoi_powered2-Oct-12 8:23
atoi_powered2-Oct-12 8:23 
QuestionCrytal reports Pin
yaswanth0011-Oct-12 1:27
yaswanth0011-Oct-12 1:27 
AnswerRe: Crytal reports Pin
Pete O'Hanlon1-Oct-12 1:46
mvePete O'Hanlon1-Oct-12 1:46 
GeneralRe: Crytal reports Pin
yaswanth0011-Oct-12 7:04
yaswanth0011-Oct-12 7:04 
GeneralRe: Crytal reports Pin
Pete O'Hanlon1-Oct-12 9:42
mvePete O'Hanlon1-Oct-12 9:42 
QuestionAndroid applications Pin
Member 940514026-Sep-12 6:24
Member 940514026-Sep-12 6:24 
AnswerRe: Android applications Pin
Richard MacCutchan26-Sep-12 6:32
mveRichard MacCutchan26-Sep-12 6:32 
AnswerRe: Android applications Pin
Abhinav S1-Oct-12 1:49
Abhinav S1-Oct-12 1:49 
QuestionJagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger25-Sep-12 6:50
M-Badger25-Sep-12 6:50 
AnswerRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
Richard Deeming4-Oct-12 8:23
mveRichard Deeming4-Oct-12 8:23 
GeneralRe: Jagged Array as Return Type from Function - Syntax Driving me Bonkers Pin
M-Badger4-Oct-12 20:43
M-Badger4-Oct-12 20:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.