I've just learned (the hard way) that does not work with the database field. It's no problem how easy are the automatic properties, but I was wondering why this is why. Can anyone explain?
I got a good explanation:
.. Because the public sector Not recommended practice. Though they are probably convenient for quick and dirty code, they do not have version. Instead of using properties you can change the login logic, and data collection behind the cover, as well as a validation argument can be added when assigned to a value. Apart from this, access to properties seems very similar, and it does not have any performance.
Comments
Post a Comment