Sorry, It's call my BRL which is using LLGen. Here is the code for that
Namespace EntityClass
Public Class xProjectRequest
Inherits PBDAL.EntityClasses.XProjectRequestEntity
Public Shared Sub AddProjectRequest(ByVal costCenterId As String, ByVal ClientName As String, ByVal ExpectedStartDate As Date, ByVal ExpectedEndDate As Date, ByVal RequestStatus As String, ByVal Billings As Integer, ByVal Revenue As Integer, ByVal ProjDesc As String, ByRef BudReqID As Integer)
Dim obj As New xProjectRequest
obj.CostCenterId = costCenterId
obj.CustId = ClientName
obj.ExpectedStartDate = ExpectedStartDate
obj.ExpectedEndDate = ExpectedEndDate
obj.RequestStatus = RequestStatus
obj.Billings = Billings
obj.Revenue = Revenue
obj.ProjDesc = ProjDesc
obj.Save()
BudReqID = obj.BudReqId
End Sub
Public Shared Sub UpdateProjectRequest(ByVal BReqID As Integer, ByVal costCenterId As String, ByVal ClientID As String, ByVal ExpectedStartDate As Date, ByVal ExpectedEndDate As Date, ByVal RequestStatus As String, ByVal RateCardID As String, ByVal Billings As Integer, ByVal Revenue As Integer, ByVal ProjDesc As String, ByVal NoBid As Boolean)
Dim obj As New xProjectRequest
obj.FetchUsingPK(BReqID)
obj.CostCenterId = costCenterId
obj.CustId = ClientID
obj.ExpectedStartDate = ExpectedStartDate
obj.ExpectedEndDate = ExpectedEndDate
obj.RequestStatus = RequestStatus
obj.RateCardId = RateCardID
obj.Billings = Billings
obj.Revenue = Revenue
obj.ProjDesc = ProjDesc
obj.NoBid = NoBid
obj.Save()
End Sub
End Class
End Namespace
I'm not up on the lingo, but once I get the returned value, how can I add it to my variable in my ASPX form?
THanks