Exemplo n.º 1
0
 public static EntityBLL GetDetails(int EntityID)
 {
     EntityBLL e = new EntityBLL();
     DataTable dt = EntityDAL.GetDetails(EntityID).Tables[0];
     if (dt.Rows.Count > 0)
     { e = (EntityBLL)dt.Rows[0]; }
     return e;
 }
Exemplo n.º 2
0
        public static EntityBLL GetDetails(int EntityID)
        {
            EntityBLL e  = new EntityBLL();
            DataTable dt = EntityDAL.GetDetails(EntityID).Tables[0];

            if (dt.Rows.Count > 0)
            {
                e = (EntityBLL)dt.Rows[0];
            }
            return(e);
        }