516062 Need Silverlight 4 Visual Basic Query Today.
N/A
Berlangsung
Dibuat hampir 13 tahun yang lalu
N/A
Dibayar ketika dikirim
Below is a working query that i have constructed in my Silverlight4 Project DomainService1 class. The query below returns all customers that have the current logged on users CompanyID. "Select Number" is the users - UserID. "CompanyId" is the users CompanyID.
I need a query written for my DomainService class that returns the current logged on users's Company_UUID to a TextBox. As you can see in the query below, "dim companyid" gets the Company_UUID but i need to return this value to a textbox. This needs to be written in VB. I need this completed today.
Public Function GetV2_Customer_Guid3(ByVal selectNumber As Guid) As IQueryable(Of v2_Customer)
Dim companyid =
(From b In Me.ObjectContext.v2_UsersCompany
Where b.User_UUID = selectNumber
Select b.Company_UUID).FirstOrDefault
Return From c In Me.ObjectContext.v2_Customer
Where ([login to view URL](companyid))
Select c
End Function
'''''
'''''
The [login to view URL] value will load as soon as the page loads. As you can see below, the [login to view URL] value will load as such.
'''''
'''''
Public Sub New()
InitializeComponent()
[login to view URL] = "hello"
[login to view URL] = [login to view URL] ' "a" will be the CompanyID
[login to view URL] = a
' Dim instance As New Guid(g)
End Sub