J
Jeff Gaines
I am working on a program that used CodeDom to create a class file, I've
just about got to the stage where I can produce either a C# or VB file so
I am making progress.
I have made myself a CodeDom Helper class to cut down on code repetition
but I'm struggling to come up with descriptive names for the helper
functions.
As an example I have helper functions that produce the following
CodeExpressionStatements:
dbConnection.Open();
dbDataAdapter.Fill(dataSet, m_TableName);
GetSingleRecordDetails(selectString, alpha01Data);
Calling them all "CreateCodeExpressionStatement" isn't helpful when I'm
struggling to learn CodeDom.
I am thinking along the lines of Createxxx but I don't know what they are
technically called apart from "statements" (and I'm not even sure that is
correct).
I am weak on the technical expressions used in C# / NET so if anybody can
suggest a consistent naming convention or NET guidelines on naming it
would be very helpful
just about got to the stage where I can produce either a C# or VB file so
I am making progress.
I have made myself a CodeDom Helper class to cut down on code repetition
but I'm struggling to come up with descriptive names for the helper
functions.
As an example I have helper functions that produce the following
CodeExpressionStatements:
dbConnection.Open();
dbDataAdapter.Fill(dataSet, m_TableName);
GetSingleRecordDetails(selectString, alpha01Data);
Calling them all "CreateCodeExpressionStatement" isn't helpful when I'm
struggling to learn CodeDom.
I am thinking along the lines of Createxxx but I don't know what they are
technically called apart from "statements" (and I'm not even sure that is
correct).
I am weak on the technical expressions used in C# / NET so if anybody can
suggest a consistent naming convention or NET guidelines on naming it
would be very helpful