Esempio n. 1
0
        public static UploadError GetById(int id)
        {
            UploadError Result = null;

            try
            {
                UploadErrorDS DS = new UploadErrorDS();
                String objectHash = Guid.NewGuid().ToString();
                DataRow dr = DS.GetObjectById(id, objectHash);

                if (dr != null)
                {
                    Result = new UploadError();
                    ORM(Result, dr);
                }

            }
            catch (Exception ex)
            {
                throw ex;
            }

            return Result;
        }