Entity ent = (Entity)Transaction.GetObject(objId,OpenMode.ForRead);String ent_type = ent.GetType().Name;