Re: Object oriented best practices // Creating Objects and ObjectColletions from DataLayer



Ok great. Thank you for showing me the light. I will use your
methodlogy from now on.

Another question I had was naming conventions in SQL 2000.

Currently I prefix my columns like
User ID would be int_userid_fk or int_userid_pk
User Name would be var_username
etc

I seen Microsoft do UserID as UserID

What naming convention should I use?

Microsoft's recommendation is at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconnamingguidelines.asp. You appear to be using a variant of Hungarian notation which is no longer the prefered convention. In general, use Pascal casing in most cases and camel casing in parameters. In addition, do not preface the variable with the type.

Jim Wooley
http://devauthority.com/blogs/jwooley/default.aspx


.



Relevant Pages

  • Re: Object oriented best practices // Creating Objects and ObjectColletions from DataLayer
    ... methodlogy from now on. ... Another question I had was naming conventions in SQL 2000. ... I seen Microsoft do UserID as UserID ...
    (microsoft.public.dotnet.framework)
  • Re: abstract naming conventions
    ... > We are having a debate in our organization about naming conventions for ... The three proposed methods are: ... > 1) Prefix the class name with abstract. ... Look at the problems that the debate is ...
    (comp.lang.java)
  • Re: UI Question: Protecting Critical Delete?
    ... I don't prefix variables either. ... such naming conventions are no ... meta data that is easily available. ... Rick Brandt, Microsoft Access MVP ...
    (comp.databases.ms-access)
  • Re: abstract naming conventions
    ... > We are having a debate in our organization about naming conventions for ... > abstract classes. ... The three proposed methods are: ... > 1) Prefix the class name with abstract. ...
    (comp.lang.java)
  • abstract naming conventions
    ... We are having a debate in our organization about naming conventions for ... abstract classes. ... The three proposed methods are: ... Prefix the class name with abstract. ...
    (comp.lang.java)