製品
店舗デモ
ショーケース
機能
開発者向け
店舗オーナー向け
産業
ファッション
健康& 美容
食品&飲料
自動車
工業 & 科学
家具
B2B eコマース
国際
ダウンロード
nopCommerce ダウンロード
マーケットプレース
翻訳
著作権削除キー
モバイルアプリケーション
Web API
サポート & サービス
トレーニング
ドキュメント
コミュニティフォーラム
プレミアムサポートサービス
見積り依頼
お問い合わせ
パートナー
日本語
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
始めましょう
Shopping cart
ユーザ
ログイン
ユーザ登録
ホーム
>
フォーラム
>
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
投稿総数:
1
カルマ:
5
参加:
2019/03/13
ロケーション:
United States
投稿完了:
5 年 前
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
認定開発者
投稿総数:
982
カルマ:
8043
参加:
2017/02/10
ロケーション:
India
投稿完了:
5 年 前
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
投稿総数:
13
カルマ:
61
参加:
2019/03/05
ロケーション:
Georgia
投稿完了:
5 年 前
what u mean at service ?
bidzinagoginashvili
投稿総数:
13
カルマ:
61
参加:
2019/03/05
ロケーション:
Georgia
投稿完了:
5 年 前
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.
まだ質問があるか、助けが必要ですか?
.
プレミアムサポートサービス
.
24時間以内に応答を保証するnopCommerceチームからの専任サポートを受けてください。
.
開発者向けオンラインコース
.
nopCommerceウェブサイトの実行およびカスタマイズに必要な実用スキルおよび技術スキルを習得します。