Exemplo n.º 1
0
 // 使用指定的字符串初始化对象
 public tb_user(string s)
 {
     this.var_struct_tb_user = ((struct_tb_user)(Keel.DB.Common.StringToStruct(s, typeof(struct_tb_user))));
 }
Exemplo n.º 2
0
        // 使用空字符串初始化对象
        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))));
        }