// 使用指定的字符串初始化对象 public tb_codsoftitem(string s) { this.var_struct_tb_codsoftitem = ((struct_tb_codsoftitem)(Keel.DB.Common.StringToStruct(s, typeof(struct_tb_codsoftitem)))); }
// 使用空字符串初始化对象 public tb_codsoftitem() { string s = ""; this.var_struct_tb_codsoftitem = ((struct_tb_codsoftitem)(Keel.DB.Common.StringToStruct(s.PadRight(this.GetLenght(), ' '), typeof(struct_tb_codsoftitem)))); }