public string Test() { RootObject r1 = new RootObject(); List <Jz_userImages> listuserimage = new List <Jz_userImages>(); listuserimage = BLLTable <Jz_userImages> .Select(); List <Jz_resume> listresume = new List <Jz_resume>(); List <Jz_userEducation> listuserEducation = new List <Jz_userEducation>(); Jz_resume resume1 = BLLTable <Jz_resume> .GetRowData(1); if (!string.IsNullOrEmpty(resume1.Tags)) { Jz_userTagVOs cond1 = new Jz_userTagVOs(); cond1.In(Jz_userTagVOs.Attribute.UserTagId, resume1.Tags.Trim(',')); Jz_userTagVOs val1 = new Jz_userTagVOs(); val1._Name = ""; List <Jz_userTagVOs> listUserTag = BLLTable <Jz_userTagVOs> .Select(val1, cond1); r1.Add(listUserTag, "userTags"); } listuserEducation = BLLTable <Jz_userEducation> .Select(3); r1.Add(listuserEducation, "userEducations"); r1.Add(listuserEducation[0], "userEducation"); r1.Add(listuserimage, "userImages"); r1.Add(resume1); r1.isDebug = true; r1.isShuati = true; string json1 = r1.ToJsonHeadLower(); return(json1); }
/// <summary></summary> public override ITableImplement af_GetOptionValueSchema() { Jz_userTagVOs value = new Jz_userTagVOs(); if (BLLTable.IsExistOptionValue(this.TableName(), "Id")) { value.id_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "Uuid")) { value.uuid_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "CreateTime")) { value.createtime_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "Name")) { value.name_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "Select")) { value.select_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "UserTagId")) { value.usertagid_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "TagType")) { value.tagtype_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "User_id")) { value.user_id_initialized = true; } if (BLLTable.IsExistOptionValue(this.TableName(), "ToUserId")) { value.touserid_initialized = true; } return(value); }
/// <summary>获得一个实例 </summary> public static Jz_userTagVOs GetOneInstance() { Jz_userTagVOs value = new Jz_userTagVOs(); return(value); }