← Foro de Tecnologías .NET

ChangePoint & .NET

Hilo en el foro de Tecnologías .NET · 31 de Octubre del 2008 · 0 respuestas
sinipa31 de Octubre del 2008
Pregunta
Hola !!

No se si me podreis ayudarme, estoy intentando crear un proyecto usando unas APIS que tiene ChangePoint en .Net, pero no hay manera !!
El problema es que no se generar el tipo de datos Identity. Vease:

Dim myCon As New Changepoint.ChangepointAPI2.ApiConnection()
myCon.LoginId = "cpadmin"
myCon.LoginPassword = "demodb"
myCon.ConnectionString = sConnstr
Dim myUser As Changepoint.ChangepointAPI2.ApiUser = myCon.Login()
Dim myPrj As New Changepoint.ChangepointAPI2.ApiProject()

With myPrj
.Name = "Dataload Test"
.Currency = "EUR"
.Engagement = New Changepoint.Base.BusinessBase.Identity("{4EC600C3-211A-4A22-905C-C5045A5D880A }")
.FirstStatus = "01/01/2009"
.PlannedFinish = "31/12/2009"
.PlannedHours = 230
.PlannedStart = "01/01/2009"
.ProjectStatus = "A"
.ProjectType = "SR"

.....

.StatusFrequency = 1
.CPConnection = myCon
End With

Dim retId As String = ""
Dim ret As Int32 = myPrj.Add(retId)
Return retId
¿Buscas más hilos como este? Mira el foro de Tecnologías .NET o usa el buscador.