private void logMessage(string msg, DbContextActionMessageType msgType) { if (OnMessaging != null) { OnMessaging.Invoke(this, new DbContextActionMessage(msg, msgType)); } }
public DbContextActionMessage(string text, DbContextActionMessageType msgType) { _text = text; _type = msgType; }