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); }
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; }