标签:ons mat entity using linq orm format ack gen
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
public class ComBase
{
public string result { get; set; }
public ComBase(string data)
{
this.result = data;
}
}
public class ComRsp
{
public int code { get; set; }
public string msg { get; set; }
public ComBase data { get; set; }
public string BackJson(int code, string msg, string data)
{
this.code = code;
this.msg = msg;
this.data = new ComBase(data);
return Common.EntityToJson(this);
}
}
C# BackJson Beautiful format
标签:ons mat entity using linq orm format ack gen
原文地址:http://www.cnblogs.com/math3/p/6646522.html