示例#1
0
文件: Dao.cs 项目: nkaluva/helper
 public System.Collections.Generic.IDictionary<string, MyField> ToDic()
 {
     Dictionary<string, MyField> dic = new Dictionary<string, MyField>();
     dic["IDx"] = new MyField(this.IDx, typeof(System.Int32), true);
     dic["Title"] = new MyField(this.Title, typeof(System.String));
     dic["Indate"] = new MyField(this.Indate, typeof(System.DateTime));
     dic["Content"] = new MyField(this.Content, typeof(System.String));
     dic["img1"] = new MyField(this.img1, typeof(System.String));
     dic["img2"] = new MyField(this.img2, typeof(System.String));
     dic["IsTop"] = new MyField(this.IsTop, typeof(System.Int32));
     dic["Price"] = new MyField(this.Price, typeof(System.Decimal));
     return dic;
 }
示例#2
0
文件: Dao.cs 项目: nkaluva/helper
 public System.Collections.Generic.IDictionary<string, MyField> ToDic()
 {
     Dictionary<string, MyField> dic = new Dictionary<string, MyField>();
     dic["ClassId"] = new MyField(this.ClassId, typeof(System.String));
     dic["Click"] = new MyField(this.Click, typeof(System.Int32));
     dic["Content"] = new MyField(this.Content, typeof(System.String));
     dic["Description"] = new MyField(this.Description, typeof(System.String));
     dic["Idx"] = new MyField(this.Idx, typeof(System.Int32), true);
     dic["Img1"] = new MyField(this.Img1, typeof(System.String));
     dic["Img2"] = new MyField(this.Img2, typeof(System.String));
     dic["Img3"] = new MyField(this.Img3, typeof(System.String));
     dic["Img4"] = new MyField(this.Img4, typeof(System.String));
     dic["Img5"] = new MyField(this.Img5, typeof(System.String));
     dic["Img6"] = new MyField(this.Img6, typeof(System.String));
     dic["Img7"] = new MyField(this.Img7, typeof(System.String));
     dic["Img8"] = new MyField(this.Img8, typeof(System.String));
     dic["InDate"] = new MyField(this.InDate, typeof(System.DateTime));
     dic["Istop"] = new MyField(this.Istop, typeof(System.Int32));
     dic["Kwd"] = new MyField(this.Kwd, typeof(System.String));
     dic["Title"] = new MyField(this.Title, typeof(System.String));
     dic["UpdateTime"] = new MyField(this.UpdateTime, typeof(System.DateTime));
     return dic;
 }