Exemplo n.º 1
0
 protected override void SetID()
 {
     SummitDS.BodyShop_PrivateLabelRow thisRow = _rowToSave as SummitDS.BodyShop_PrivateLabelRow;
     if (thisRow != null)
     {
         this._ID = thisRow.id;
     }
 }
Exemplo n.º 2
0
        protected override void LoadFromRow(DataRow _dataRow)
        {
            SummitDS.BodyShop_PrivateLabelRow _thisRow = _dataRow as SummitDS.BodyShop_PrivateLabelRow;

            if (_thisRow != null)
            {
                this._ID                    = _thisRow.id;
                this.iPrivateLabelID        = _thisRow.Isprivate_label_idNull() ? (Nullable <Int32>)null : _thisRow.private_label_id;
                this.m_iShopID              = _thisRow.Isshop_idNull() ? (Nullable <Int32>)null : _thisRow.shop_id;
                this.m_strImagePageLogoPath = _thisRow.Ispage_logo_pathNull() ? String.Empty : _thisRow.page_logo_path;
                this.m_strImageBtnLogoPath  = _thisRow.Isbtn_logo_pathNull() ? String.Empty : _thisRow.btn_logo_path;

                _rowToSave = _thisRow;
            }
        }