protected override Csla.WcfPortal.UpdateRequest ConvertRequest(Csla.WcfPortal.UpdateRequest request) { Csla.WcfPortal.UpdateRequest returnValue = new Csla.WcfPortal.UpdateRequest(); returnValue.ClientContext = CompressionUtility.Compress(request.ClientContext); returnValue.GlobalContext = CompressionUtility.Compress(request.GlobalContext); returnValue.ObjectData = CompressionUtility.Compress(request.ObjectData); returnValue.Principal = CompressionUtility.Compress(request.Principal); return(returnValue); }
protected override Csla.WcfPortal.CriteriaRequest ConvertRequest(Csla.WcfPortal.CriteriaRequest request) { Csla.WcfPortal.CriteriaRequest returnValue = new Csla.WcfPortal.CriteriaRequest(); returnValue.ClientContext = CompressionUtility.Compress(request.ClientContext); returnValue.GlobalContext = CompressionUtility.Compress(request.GlobalContext); if (request.CriteriaData != null) { returnValue.CriteriaData = CompressionUtility.Compress(request.CriteriaData); } returnValue.Principal = CompressionUtility.Compress(request.Principal); returnValue.TypeName = request.TypeName; return(returnValue); }