Ok it is still running thru each prop of my dataobject, here is what I
have:
public class AjaxCartUtil
{
[AjaxPro.AjaxMethod(AjaxPro.HttpSessionStateRequirement.Read)]
public static AjaxObjects.AjaxCart GetSessionCart()
{
return new
AjaxObjects.AjaxCart(Util.CartUtil.GetSessionCart());
}
}
//GetSessionCart() returns a Cart object, when this happens, it steps
into this class and goes thru all the properties. I was expecting it to
just continue on and instantiate the new AjaxCart object....
//This test class just copies a couple properties from the Cart
object....
public class AjaxCart : DataObjects.Cart
{
public AjaxCart(DataObjects.Cart cart)
{
this._id = cart.ID;
this.Type = cart.Type;
}
}
So, it for some reason is still runnign thru the entire Cart class, all
properties, etc.... any ideas how to fix this?
Thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info
-~----------~----~----~----~------~----~------~--~---