示例#1
0
        public static FranchisingInfo Parse(string stringify)
        {
            string[] ret = stringify.Split(new char[] { '|' }, 2, StringSplitOptions.None);
            if (ret.Length != 2)
            {
                throw new Exception("格式不正确,FranchisingInfo:" + stringify);
            }
            FranchisingInfo item = new FranchisingInfo();

            if (string.Compare("null", ret[0]) != 0)
            {
                item.Id = uint.Parse(ret[0]);
            }
            if (string.Compare("null", ret[1]) != 0)
            {
                item.Title = ret[1].Replace(StringifySplit, "|");
            }
            return(item);
        }
示例#2
0
 public int UnflagFranchising(FranchisingInfo Franchising) => UnflagFranchising(Franchising.Id);
示例#3
0
 public Shop_franchisingInfo FlagFranchising(FranchisingInfo Franchising) => FlagFranchising(Franchising.Id);
示例#4
0
 public static string ToJson(this FranchisingInfo item)
 {
     return(string.Concat(item));
 }
示例#5
0
 public Factory_franchisingInfo FlagFranchising(FranchisingInfo Franchising) => FlagFranchising(Franchising.Id);
示例#6
0
 public Rentsublet_franchisingInfo FlagFranchising(FranchisingInfo Franchising) => FlagFranchising(Franchising.Id);