private static void Prefix(SqlCommand __instance, ref string value)
 {
     value = SqlCommandSetProcessor.Process(__instance.Connection, __instance, value);
 }
Ejemplo n.º 2
0
 static void Postfix(SqlCommand __instance, string cmdText, SqlConnection connection, SqlTransaction transaction, SqlCommandColumnEncryptionSetting columnEncryptionSetting)
 {
     __instance.CommandText = SqlCommandSetProcessor.Process(connection, __instance, cmdText);
 }
Ejemplo n.º 3
0
 static void Postfix(SqlCommand __instance, SqlCommand from)
 {
     __instance.CommandText = SqlCommandSetProcessor.Process(from.Connection, __instance, from.CommandText);
 }
Ejemplo n.º 4
0
 static void Postfix(SqlCommand __instance, string cmdText, SqlConnection connection)
 {
     __instance.CommandText = SqlCommandSetProcessor.Process(connection, __instance, cmdText);
 }