-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: PaulLeo
Message 1 in Discussion
I'm using remoting through interfaces in my application. I could implement the methods
that I have declared in the interfaces. But, my need is to get a class kind of thing
in my client application rather than methods alone. But interfaces can have only
method declarations. Is there any way to do this? eg:
public interface IDBConnectService{
string InsertBPTM(int mBusnPartTeamId,string mBusnPartTeamNm);
string GetBPTM();}
I'm implementing the methods in a separate class file. There I have two public
variables.
public class DBServerObject: MarshalByRefObject, IDBConnectService{
private int _BusnPartTeamId;
private string _BusnPartTeamNm;
public int BusnPartTeamId
{
get{ return _BusnPartTeamId;}
set { _BusnPartTeamId=value;}
}
public string BusnPartTeamNm
{
get { return _BusnPartTeamNm; }
set { _BusnPartTeamNm=value.ToString(); }
}
public string InsertBPTM(int mBusnPartTeamId,string mBusnPartTeamNm)
{
}
...
The class goes like this. I need to access both the public variable and the methods in
the client application.
Any idea?
Thanks
Paul
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]