Ejemplo n.º 1
0
 public ForumPost()
 {
     UserSummary = new ForumUserSummary();
 }
Ejemplo n.º 2
0
        public void PopulateForumUserSummary(SqlDataReader _dtr, ForumUserSummary obj)
        {
            int columnIndex = 0;
            columnIndex = _dtr.GetOrdinal(ForumUserDataMapper.CN_FORUM_USER_ID);
            if (!_dtr.IsDBNull(columnIndex))
            {
                obj.ID = _dtr.GetInt32((columnIndex));
            }

            columnIndex = _dtr.GetOrdinal(ForumUserDataMapper.CN_FORUM_USER_IMAGE);
            if (!_dtr.IsDBNull(columnIndex))
            {
                obj.Image = _dtr.GetString((columnIndex));
            }

            columnIndex = _dtr.GetOrdinal(ForumUserDataMapper.CN_FORUM_USER_SIGNATURE);
            if (!_dtr.IsDBNull(columnIndex))
            {
                obj.Signature = _dtr.GetString((columnIndex));
            }

            columnIndex = _dtr.GetOrdinal(ForumUserDataMapper.CN_FORUM_USER_USER_ID);
            if (!_dtr.IsDBNull(columnIndex))
            {
                obj.UserID = _dtr.GetInt32((columnIndex));
            }

            columnIndex = _dtr.GetOrdinal(ForumUserDataMapper.CN_FORUM_USER_NAME);
            if (!_dtr.IsDBNull(columnIndex))
            {
                obj.UserName = _dtr.GetString((columnIndex));
            }

            columnIndex = _dtr.GetOrdinal(ForumUserDataMapper.CN_FORUM_USER_USER_RATE_VALUE);
            if (!_dtr.IsDBNull(columnIndex))
            {
                obj.UserRateValue = _dtr.GetInt32((columnIndex));
            }
        }
Ejemplo n.º 3
0
 public ForumThread()
 {
     UserSummary = new ForumUserSummary();
 }