StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WebForms (How do I?)
»
Prevent property be included in BO Info list
Prevent property be included in BO Info list
Post Reply
Like
0
Prevent property be included in BO Info list
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Chan
Chan
posted 16 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 533,
Visits: 2K
Hi,
I would like to add a public property that set/get PrimaryBusinessObject for a form. I faced problem that, SF Web base page will treat this property as BO property and auto assign base BO to it. It cause my code break.
Anyway to prevent it?
Thank you
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
What does your property definition look like?
Reply
Like
0
Chan
Chan
posted 16 Years Ago
ANSWER
Post Details
Share Post
Group: Forum Members
Posts: 533,
Visits: 2K
Hi,
public class BaseBO : BusinessLayer
{
}
public BaseBO PrimaryBusinessObject
{
get { return _primaryBusinesObject; }
set { _primaryBusinesObject = value; }
}
Thank you
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
I will have to set this up and test it, but try typing it as a BusinessLayerBase and see if the problem persists. The BusinessLayer inherits from BusinessLayerBase so this should not cause an issue. But I would just be curious to see if your problem persists.
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