private AutoDictionary basedata(string TableName, string Name, string Value, string Text, string keyValue) { string[] strlist = new string[5]; strlist[0] = TableName; strlist[1] = Name; strlist[2] = Value; strlist[3] = Text; strlist[4] = keyValue; AutoDictionary ad = new AutoDictionary(); ad.AutoDictionaryChiledList(strlist); return(ad); }
private AutoDictionary basedataForChild(string TableName, string Name, string Value, string Text, string keyValue) { string[] strlist = new string[5]; strlist[0] = TableName; strlist[1] = Name; strlist[2] = Value; strlist[3] = Text; strlist[4] = keyValue; AutoDictionary ad = new AutoDictionary(); ad.AutoDictionaryChiledList(strlist);//这里需要传递5个参数过去,keyvalue就是该表的主键ID return(ad); }