How Transfer object into com+
-
Friday, June 20, 2008 1:07 AMHi,ALL:
Can we transfer object into com+ like this:
[ComVisible(true)]
[Serializable]
public class CAccount
{
public string Name;
public decimal Total;
}
public class BAL_Account:ServicedComponent
{
public void UpdateAccount(CAccount account)
{
/// do something;
}
}
or use
[Serializable]
public class CAccount:ServicedComponent
{
public string Name;
public decimal Total;
}
public class BAL_Account:ServicedComponent
{
public void UpdateAccount(CAccount account)
{
/// do something;
}
}
All Replies
-
Friday, May 11, 2012 3:21 AMModerator
This thread was moved into the Off Topic forum. I can move it into a specific forum for you if you want.
Thanks!
Ed Price (a.k.a User Ed), SQL Server Experience Program Manager (Blog, Twitter, Wiki)
- Proposed As Answer by Ed Price - MSFTMicrosoft Employee, Moderator Friday, May 11, 2012 3:21 AM
- Marked As Answer by Ed Price - MSFTMicrosoft Employee, Moderator Friday, May 11, 2012 3:21 AM