Ürün
Mağaza demosu
Vitrin
Özellikler
Neden geliştiriciler için
Neden mağaza sahipleri için
Endüstriler
Moda
Sağlık & Güzellik
Yiyecek & İçecek
Otomotiv
Endüstriyel & İlmi
Mobilya
B2B e-Ticaret
Uluslararası
İndirilenler
nopCommerce indir
Pazaryeri
Çeviriler
Telif hakkı kaldırma anahtarı
Mobil uygulama
Web API
Destek & hizmetler
Eğitim
Dökümantasyon
Topluluk forumları
Premium destek hizmetleri
Bir teklif isteği
İletişim
İş ortakları
Türkçe
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Başlayın
Shopping cart
Hesabım
Oturum aç
Kayıt olmak
Ana Sayfa
>
Forum
>
General
>
Development
>
How to access current database with easy way in plugin?
How to access current database with easy way in plugin?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Xxxzzz
Toplam Gönderi:
1
Karma:
5
Katılım:
13.03.2019
yer:
United States
Gönderildi:
5 yıl önce
Hello everyone.I want to acces current database(database that was created while nopcommerce instalatio n) in my plugin's controller.Is there an easy way to do this.For example Datacontext db =new Datacontext(); or something like this?
smi10
MVP
Sertifikalı Geliştirici
Toplam Gönderi:
982
Karma:
8043
Katılım:
10.02.2017
yer:
India
Gönderildi:
5 yıl önce
Hello,
There are lots of way to access it.
But best is to follow nopcommerce structure.
You have to create service for that and this service you must register at dependency register file of your plugin.
That's way you have to access db.
Hope you will understand..!!
bidzinagoginashvili
Toplam Gönderi:
13
Karma:
61
Katılım:
5.03.2019
yer:
Georgia
Gönderildi:
5 yıl önce
what u mean at service ?
bidzinagoginashvili
Toplam Gönderi:
13
Karma:
61
Katılım:
5.03.2019
yer:
Georgia
Gönderildi:
5 yıl önce
what is the service for current database,that i should register?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hâlen sorularınız mı var veya yardıma mı ihtiyacınız var?
.
Premium destek hizmetleri
.
24 saat içinde garantili bir yanıtla nopCommerce ekibinden özel destek alın.
.
Gelişitiriciler için çevrimiçi kurs
.
nopCommerce internet sitelerini işletmek ve özelleştirmek için gereken pratik ve teknik becerileri edinin.