SHARE
TWEET

Untitled

a guest Apr 27th, 2016 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Class pUsers
  2.  
  3. Public Property UserId() As Long
  4. Public Property Username() As String
  5. Public Property Password() As String
  6. Public Property Email() As String
  7. Public Property Cell() As String
  8. Public Property DateCreated() As Date
  9. Public Property LastLogin() As DateTime
  10.  
  11. End Class
  12.    
  13. Public Function findAllUsers() As List(Of pUsers) Implements IServiceAPIServer.findAllUsers
  14.     Using mde As New AllMyAPIEntities()
  15.         Return mde.UserEntities.[Select](Function(ue) New pUsers() With {
  16.             .UserId = ue.UserId,
  17.             .Cell = wrapper.DecryptData(ue.Cell),
  18.             .DateCreated = ue.DateCreated,
  19.             .Email = wrapper.DecryptData(ue.Email),
  20.             .LastLogin = ue.LastLogin,
  21.             .Password = ue.Password,
  22.             .Username = wrapper.DecryptData(ue.Username)}).ToList()
  23.     End Using
  24. End Function
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top