Back to OIM Explorer

Npgsql/Npgsql/PregeneratedMessages.cs

Decompiler Source FileNpgsql.PregeneratedMessagesDecompiled Source

7 extracted method/event/call references in PregeneratedMessages.

Source: F:\Claude\.tmp\oim-decompiled-full\0938_One_Identity_Manager_Npgsql.dll\Npgsql\PregeneratedMessages.cs

Source size: 1.564 characters

Interpretation

  • Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.

Relations

  • Generate: BEGIN ISOLATION LEVEL REPEATABLE READ at line 26
  • Generate: BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE at line 27
  • Generate: BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED at line 28
  • Generate: BEGIN TRANSACTION ISOLATION LEVEL READ UNCOMMITTED at line 29
  • Generate: COMMIT at line 30
  • Generate: ROLLBACK at line 31
  • Generate: DISCARD ALL at line 32

Typed Edges

  • No typed edges extracted for this source.

References

  • No direct source references extracted.

Referenced By

  • No direct source references extracted.

C# source-derived context

Generated by pattern extraction from the decompiled C# source and decompile index. This is factual source evidence, not inferred behavior.

None extracted.

Summary: classes PregeneratedMessages; methods Generate

Classes

PregeneratedMessages

Methods

DB/Dialog object references

None extracted.

OIM key/entity markers

None extracted.

API/entity calls

None extracted.

Registrations / handlers

None extracted.

Complete Source

C#47 lines
1using System.IO;2using System.Text;3using Npgsql.Internal;45namespace Npgsql;67internal static class PregeneratedMessages8{9	internal static readonly byte[] BeginTransRepeatableRead;1011	internal static readonly byte[] BeginTransSerializable;1213	internal static readonly byte[] BeginTransReadCommitted;1415	internal static readonly byte[] BeginTransReadUncommitted;1617	internal static readonly byte[] CommitTransaction;1819	internal static readonly byte[] RollbackTransaction;2021	internal static readonly byte[] DiscardAll;2223	static PregeneratedMessages()24	{25		using NpgsqlWriteBuffer buf = new NpgsqlWriteBuffer(null, new MemoryStream(), null, 4096, Encoding.ASCII);26		BeginTransRepeatableRead = Generate(buf, "BEGIN ISOLATION LEVEL REPEATABLE READ");27		BeginTransSerializable = Generate(buf, "BEGIN TRANSACTION ISOLATION LEVEL SERIALIZABLE");28		BeginTransReadCommitted = Generate(buf, "BEGIN TRANSACTION ISOLATION LEVEL READ COMMITTED");29		BeginTransReadUncommitted = Generate(buf, "BEGIN TRANSACTION ISOLATION LEVEL READ UNCOMMITTED");30		CommitTransaction = Generate(buf, "COMMIT");31		RollbackTransaction = Generate(buf, "ROLLBACK");32		DiscardAll = Generate(buf, "DISCARD ALL");33	}3435	internal static byte[] Generate(NpgsqlWriteBuffer buf, string query)36	{37		int byteCount = Encoding.ASCII.GetByteCount(query);38		buf.WriteByte(81);39		buf.WriteInt32(4 + byteCount + 1);40		buf.WriteString(query, byteCount, async: false).Wait();41		buf.WriteByte(0);42		byte[] contents = buf.GetContents();43		buf.Clear();44		return contents;45	}46}47