B
Big Daddy
For example, if I have a DB table called DownloadPoints with a column
named DownloadPointNo, then SqlMetal will create a file with a class
called DownloadPoints with an accessor named DownloadPointNo. I would
like the object to be able to pass me the string "DownloadPointNo".
For example, the code could be something like:
DownloadPoints dp = new DownloadPoints();
string colName = dp.DownloadPointNo.ColumnName;
Or I could write a helper function that would find it like this:
DownloadPoints dp = new DownloadPoints();
string colName = HelperFunction(dp.DownloadPointNo);
Is there any way to do this?
thanks in advance,
John
named DownloadPointNo, then SqlMetal will create a file with a class
called DownloadPoints with an accessor named DownloadPointNo. I would
like the object to be able to pass me the string "DownloadPointNo".
For example, the code could be something like:
DownloadPoints dp = new DownloadPoints();
string colName = dp.DownloadPointNo.ColumnName;
Or I could write a helper function that would find it like this:
DownloadPoints dp = new DownloadPoints();
string colName = HelperFunction(dp.DownloadPointNo);
Is there any way to do this?
thanks in advance,
John