W
Watty
Hi All
I have a class with a number of methods like below which have attributes,
now I would love to be able to do something like below, help would be really
appreciated.
Regards
Paul
Dim x As New Client
Dim y = GetMyAttributes( x.AddressLine1 )
<Column(Storage:="_AddressLine1", DbType:="NVarChar(100)",
UpdateCheck:=UpdateCheck.Never), _
DataMember(Order:=13)> _
Public Property AddressLine1() As String
Get
Return Me._AddressLine1
End Get
Set(ByVal value As String)
If (String.Equals(Me._AddressLine1, value) = False) Then
Me._AddressLine1 = value
End If
End Set
End Property
I have a class with a number of methods like below which have attributes,
now I would love to be able to do something like below, help would be really
appreciated.
Regards
Paul
Dim x As New Client
Dim y = GetMyAttributes( x.AddressLine1 )
<Column(Storage:="_AddressLine1", DbType:="NVarChar(100)",
UpdateCheck:=UpdateCheck.Never), _
DataMember(Order:=13)> _
Public Property AddressLine1() As String
Get
Return Me._AddressLine1
End Get
Set(ByVal value As String)
If (String.Equals(Me._AddressLine1, value) = False) Then
Me._AddressLine1 = value
End If
End Set
End Property