﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / Business Objects and Data Access (How do I?)  / Restrict access for BusinessLayer Object properties and Methods / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Tue, 02 Dec 2008 16:53:37 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Restrict access for BusinessLayer Object properties and Methods</title><link>http://forum.strataframe.net/Topic15462-6-1.aspx</link><description>C# : [EditorBrowsable(EditorBrowsableState.Never)] attribute should be used.&lt;/P&gt;&lt;P&gt;There is a link which solves my problem. I 've done the same mistake.&lt;/P&gt;&lt;P&gt;&lt;A href="http://groups.google.com/group/microsoft.public.dotnet.framework.windowsforms.controls/browse_thread/thread/2f88b987be3948d0?fwc=1"&gt;http://groups.google.com/group/microsoft.public.dotnet.framework.windowsforms.controls/browse_thread/thread/2f88b987be3948d0?fwc=1&lt;/A&gt;</description><pubDate>Thu, 10 Apr 2008 01:42:06 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: Restrict access for BusinessLayer Object properties and Methods</title><link>http://forum.strataframe.net/Topic15462-6-1.aspx</link><description>No problem :)</description><pubDate>Wed, 09 Apr 2008 09:27:16 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Restrict access for BusinessLayer Object properties and Methods</title><link>http://forum.strataframe.net/Topic15462-6-1.aspx</link><description>Thanks.</description><pubDate>Wed, 09 Apr 2008 09:25:30 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item><item><title>RE: Restrict access for BusinessLayer Object properties and Methods</title><link>http://forum.strataframe.net/Topic15462-6-1.aspx</link><description>[quote]What is the best way ?[/quote]&lt;/P&gt;&lt;P&gt;You can't change the declaration type of a property, event, or method.  If you want to hide it, then your only option would be to add an attribute like &amp;lt;Browsable(False)&amp;gt; _ to prevent it from showing up in the designer.  There are other attributes as well depending on what you are trying to accoimplish, but you cannot turn a public into a private, etc.  That totally violates object oriented programming and you &lt;STRONG&gt;&lt;EM&gt;&lt;U&gt;will&lt;/U&gt;&lt;/EM&gt;&lt;/STRONG&gt; have downstream issues.</description><pubDate>Wed, 09 Apr 2008 09:21:05 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Restrict access for BusinessLayer Object properties and Methods</title><link>http://forum.strataframe.net/Topic15462-6-1.aspx</link><description>I have an Business Base class that is inhereted from BusinessLayer. I want to restrict some of them and not to see when dealing with my Business Base.&lt;/P&gt;&lt;P&gt;I have overriden some methods then made private. But It does not work. Because I ve got "virtual and abstract methods can not be private."message. &lt;/P&gt;&lt;P&gt;What is the best way ?</description><pubDate>Wed, 09 Apr 2008 06:20:03 GMT</pubDate><dc:creator>Ertan Deniz</dc:creator></item></channel></rss>