2011-07-28 2 views

답변

9

캐스트 int로 parent.Id?

company.ParentID = (parent == null) ? null : (int?)parent.ID;

+0

도움 주셔서 감사합니다. –