SMO Scripting - Missing regular property NotForReplication property bag state Lazy for type Trigger

オープン
#198 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
csharp, sql
領域
databases

調査の方向性

src/Microsoft/SqlServer/Management/SqlEnum/xml/trigger.xml の 66-68 行目を調べ、NotForReplication フィールドを周囲のフィールドと比較します。ScriptingOptions.Triggers が有効な場合に、そのモードがプリフェッチにどのような影響を与えるかを追跡します; テーブルのスクリプト生成時にこのフィールドのためにデータベースへ問い合わせなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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?

https://github.com/microsoft/sqlmanagementobjects/blob/17b6e3235f4a7267c920a79685ae1e8941961e92/src/Microsoft/SqlServer/Management/SqlEnum/xml/trigger.xml#L66-L68

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.

主要言語
C#
スター
143
フォーク
28
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/sqlmanagementobjects のほかの issue

microsoft/sqlmanagementobjects の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。