microsoft / microsoft/sqlmanagementobjects
SMO Scripting - Missing regular property NotForReplication property bag state Lazy for type Trigger
まだ誰も着手していません。
- 主要言語
- C#
- スター
- 143
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Not doing anything fancy, just scripting out tables with ScriptingOptions.Triggers enabled.
Prefetch grabs nearly everything, except for the NotForReplication field it seems. When trying to script out a table with triggers enabled, it still reaches out to the database to grab this field.
No idea if it's relevant as I have no clue how these files are structured/used (other than for generating the prefetch query), but maybe it has something to do with how it's configured in this file?
I noticed for some reason its mode is set to deploy instead of design like the other fields. Might have nothing to do with it, but figured I would point it out in case it's helpful.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
src/Microsoft/SqlServer/Management/SqlEnum/xml/trigger.xml の 66-68 行目を調べ、NotForReplication フィールドを周囲のフィールドと比較します。ScriptingOptions.Triggers が有効な場合に、そのモードがプリフェッチにどのような影響を与えるかを追跡します; テーブルのスクリプト生成時にこのフィールドのためにデータベースへ問い合わせなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- csharp, sql
- 領域
- databases
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100