microsoft / microsoft/sqlmanagementobjects
SMO Scripting - Missing regular property NotForReplication property bag state Lazy for type Trigger
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C#
- Sterne
- 143
- Forks
- 28
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Untersuche src/Microsoft/SqlServer/Management/SqlEnum/xml/trigger.xml in den Zeilen 66-68 und vergleiche das Feld NotForReplication mit den umgebenden Feldern. Verfolge, wie sich sein Modus auf das Prefetching auswirkt, wenn ScriptingOptions.Triggers aktiviert ist; fertig ist die Aufgabe, wenn das Scripting der Tabelle die Datenbank für dieses Feld nicht mehr abfragt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp, sql
- Bereich
- databases
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100