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