306 reputation
138
bio website mikehofer.blogspot.com
location Jacksonville, FL
age 47
visits member for 3 years, 9 months
seen Oct 15 '13 at 12:53

Just a poor schmoe learning every day that I don't know anywhere near what I think I do.


Mar
1
awarded  Necromancer
Oct
4
awarded  Nice Answer
Jun
10
comment Class Naming Conundrum
@MathewFoscarini: Yes. All three classes (Entity, SqlEntity and DataEntity) are abstract. Consumers provide an object to the "data framework" that derives from either SqlEntity or DataEntity.
Jun
10
comment Class Naming Conundrum
@JoachimSauer: That was exactly the issue I had with the name, and why I created this post. :) It didn't seem correct. The reason it derives from Entity, along with DataEntity, is because the underlying engine needs to know about these two types, and they share a number of common properties and methods (which are used for runtime reflection). I didn't want to have to duplicate the code.
Jun
10
comment Class Naming Conundrum
@MathewFoscarini: Currently, both SqlEntity and DataEntity derive from Entity. Your suggestion is to rename SqlEntity to Query, and drop the -Entity suffix from both of them? I like it. Only problem is that SqlEntity (as it currently stands) can handle stored procedures as well.
Jun
10
awarded  Supporter
Jun
10
comment Class Naming Conundrum
@MathewFoscarini I am completely open to a better name for all of these classes! I am a huge fan of clarity. Suggest something! (And do it in the answers section, so you get credit!)
Jun
10
awarded  Editor
Jun
10
revised Class Naming Conundrum
added 431 characters in body
Jun
10
comment Class Naming Conundrum
I should probably have noted that SqlEntity also supports stored procedures. So Query isn't exactly a fitting name. :-/
Jun
10
awarded  Student
Jun
10
asked Class Naming Conundrum
Mar
7
awarded  Yearling
May
11
answered Can anyone suggest a project for me write to help me understand threading
Mar
7
answered How do you know when to split an object method into 2 or more other methods?
Mar
7
awarded  Nice Answer
Mar
7
answered Do you have to be good at math to be a good programmer?
Mar
7
awarded  Great Answer
Mar
7
awarded  Good Answer
Mar
7
awarded  Nice Answer