public int WCFRESTful( string assemblyName, string className, string methodName, List <IRAPJsonTable> jsonTable, ref string jsonContent, out string backTypeFullName, out string errText) { int errCode = -1; IRAPDevFramework irapfw = new IRAPDevFramework(); IRAPJsonResult result = (IRAPJsonResult)irapfw.WCFRESTful( assemblyName, className, methodName, jsonTable, out errCode, out errText); if (result != null) { backTypeFullName = result.TypeName; jsonContent = result.Json; } else { backTypeFullName = DBNull.Value.GetType().ToString(); jsonContent = ""; } return(errCode); }
public string UploadBinary( string assemblyName, string className, string methodName, byte[] binaryBytes, out int errCode, out string errText) { IRAPDevFramework irapfw = new IRAPDevFramework(); string result = irapfw.UpLoadBinary( assemblyName, className, methodName, binaryBytes, out errCode, out errText); return(result); }
public byte[] GetBinary( string assemblyName, string className, string methodName, Hashtable paramDict, out int errCode, out string errText) { byte[] binaryBytes; IRAPDevFramework irapfw = new IRAPDevFramework(); binaryBytes = irapfw.GetBinary( assemblyName, className, methodName, paramDict, out errCode, out errText); return(binaryBytes); }
public int ExChange( string assemblyName, string className, string methodName, List <IRAPJsonTable> jsonTable, ref string jsonContent, out string backTypeFullName, out string errText) { int errCode = -1; IRAPDevFramework irapfw = new IRAPDevFramework(); jsonContent = (string)irapfw.ExChange( assemblyName, className, methodName, jsonTable, out backTypeFullName, out errCode, out errText); return(errCode); }