Exemplo n.º 1
0
 // 根据主键ID返回指定的WenZhangLiuYan实体
 public static WenZhangLiuYanBusEntity GetEntity(int ID)
 {
     WenZhangLiuYanByPK exec = new WenZhangLiuYanByPK();
     exec.ID = ID;
     WenZhangLiuYanBusEntity obj = new WenZhangLiuYanBusEntity();
     obj.MetaDataTable = exec.ExecDataTable();
     return obj;
 }
Exemplo n.º 2
0
        // 根据主键ID返回指定的WenZhangLiuYan实体
        public static WenZhangLiuYanBusEntity GetEntity(int ID)
        {
            WenZhangLiuYanByPK exec = new WenZhangLiuYanByPK();

            exec.ID = ID;
            WenZhangLiuYanBusEntity obj = new WenZhangLiuYanBusEntity();

            obj.MetaDataTable = exec.ExecDataTable();
            return(obj);
        }