Click here to Skip to main content
15,885,757 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have my services running but I want to approapriately add additional services. I want to call the stored procedure that I created.

Here's the inition service function:

<pre lang="vb">Public Function GetBDISContract(ByVal Contract As String) As System.Collections.Generic.List(Of Contract) Implements IBDIS_Contract.GetBDISContract
        Dim db As New BDIS_ContractsDataContext()
        Dim matchingContracts = From Contracts In db.Contracts
        Where Contracts.Contract.Contains(Contract)
        Select Contracts

        Return matchingContracts.ToList()

    End Function



How do I correctly add a function to call the stored procedure?
Posted
Updated 22-Jul-10 12:08pm
v2

1 solution

I'm not sure if you're asking the same question over and over, or asking different questions with the same subject. If the former, stop it. If the latter, change your subject so that the regulars on this forum understand that you're asking different things.
 
Share this answer
 
Comments
technette 22-Jul-10 18:09pm    
Reason for my vote of 3
Christian is correct. I should change the subject heading.
Christian Graus 22-Jul-10 18:22pm    
Excellent. My first thought was that you were asking the same thing over and over, but when I looked, it didn't seem like you were. The same people post here every day, the same subject will cause people to ignore you, so now you're more likely to get the help you need. Never used WCF myself, so I'm not much use....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900