StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
How to access field descriptors
How to access field descriptors
Post Reply
Like
0
How to access field descriptors
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Greg McGuffey
Greg McGuffey
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I can't remember how to access the field descriptor in a BO. How do I do that again?
(Sorry, can't find post were this was shown...:blush
Thanks!
Reply
Like
0
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Are you talking about the GetCustomBindablePropertyDescriptors or creating a field descriptor class...or using reflection to talk to the field descriptor
?
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
I'm talking about getting the value of the Description attribute that is defined for a field, marked with "<---- THIS PUPPY" in the code sample below:
''' <summary>
''' Requirement Key
''' </summary>
''' <remarks></remarks>
<Browsable(False), _
BusinessFieldDisplayInEditor(), _
Description("Requirement Key"), _ <---- THIS PUPPY
DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)> _
Public Property [RequirementKey]() As System.Int32
Get
Return CType(Me.CurrentRow.Item("RequirementKey"), System.Int32)
End Get
Set(ByVal value As System.Int32)
Me.CurrentRow.Item("RequirementKey") = value
End Set
End Property
Reply
Like
0
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
Good description
I definitely got it this time. It is actually a method on the BO called GetFieldDescription:
Me.GetFieldDescription("RequirementKey")
Reply
Like
0
Greg McGuffey
Greg McGuffey
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 2K,
Visits: 6.6K
LOL...that was hard!
Thanks!
Reply
Like
0
Trent Taylor
Trent Taylor
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 6.9K
No worries...
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