For example, I have a table where the field in the database named COD_CLIENTE
, but in the model layer it is ID_CLIENTE
, how to access that value without changing the name of the model in VB.net
?
Partial Public Class CadastroCliente
Public Property nome As String
Public Property contato As String
Public Property tipo As String
Public Property ID_CLIENTE As Nullable(Of Integer)
End Class