コード例 #1
0
 private YunShanOA.Model.MeetingRoom FillRecord(YunShanOA.DataAccess.Mapping.MeetingRoom mr)
 {
     YunShanOA.Model.MeetingRoom meetingType = null;
     if (mr != null)
     {
         meetingType = new MeetingRoom();
         meetingType.MeetingRoomID       = mr.MeetingRoomID;
         meetingType.MeetingRoomName     = mr.MeetingRoomName;
         meetingType.MeetingRoomStatus   = mr.MeetingRoomStatus;
         meetingType.MeetingRoomCapacity = mr.MeetingRoomCapacity;
         meetingType.MeetingTypeID       = mr.MeetingTypeID;
     }
     return(meetingType);
 }
コード例 #2
0
 private YunShanOA.Model.MeetingRoom FillRecord(YunShanOA.DataAccess.Mapping.MeetingRoom mr)
 {
     YunShanOA.Model.MeetingRoom meetingType = null;
     if (mr != null)
     {
         meetingType = new MeetingRoom();
         meetingType.MeetingRoomID = mr.MeetingRoomID;
         meetingType.MeetingRoomName = mr.MeetingRoomName;
         meetingType.MeetingRoomStatus = mr.MeetingRoomStatus;
         meetingType.MeetingRoomCapacity = mr.MeetingRoomCapacity;
         meetingType.MeetingTypeID = mr.MeetingTypeID;
     }
     return meetingType;
 }