Example #1
0
        protected override void LoadFromRow(DataRow _dataRow)
        {
            SummitDS.User_PreferredShopRow _thisRow = _dataRow as SummitDS.User_PreferredShopRow;

            if (_thisRow != null)
            {
                this._ID = _thisRow.ID;

                this.m_iShopId = _thisRow.Isshop_idNull() ? (Nullable <Int32>)null : _thisRow.shop_id;
                this.m_iUserId = _thisRow.Isuser_idNull() ? (Nullable <Int32>)null : _thisRow.user_id;

                //  this.m_dt_ts = _thisRow.Is_tsNull() ? (Nullable<DateTime>) null : _thisRow._ts ;
                _rowToSave = _thisRow;
            }
        }