StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Enhancement Requests
»
Static methods for TableName and TableSchema
Static methods for TableName and TableSchema
Post Reply
Like
0
Static methods for TableName and TableSchema
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Derek Price
Derek Price
posted 15 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 51,
Visits: 376
Occasionally we have to hand-craft SQL and it would be nice if we could get the TableName and TableSchema from the Business Object as a static call rather than instantiate the BO just to get a string.
Forgive the contrived example:
var myBO = new MyBO();
String.Format("MyBO TableName: {0}, myBO.TableName);
String.Format("MyBO TableName: {0}, MyBO.TableName);
Thanks,
Derek
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 15 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I've run into a need for this sort of thing also. Along the same lines, the AllFieldNames property would be useful also.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search