[Solved] Member name same as class name [closed]


You don’t have to make the member names match the SQL column names. If you’re using some kind of ORM, there’s almost always a way to specify the mapping explicitly. For ADO.Net, obviously you’re free to use the names as appropriate.

I’d rename the member NoteText. I’d also consider applying the same change in SQL, simply because it more accurately reflects that this is (apparently) but one component of something you’re calling Note.

2

solved Member name same as class name [closed]