/// <summary> /// Конструктор /// </summary> /// <param name="msg_system"></param> public BaseOracleManager(IPrintMessageSystem msg_system) : base(msg_system) { _open_bracket = '"'; _close_bracket = '"'; _parameters_prefix = ":"; }
/// <summary> /// Конструктор класса /// </summary> /// <param name="msg_system">Система оповещения об ошибке</param> public BasePostgresSQLManager(IPrintMessageSystem msg_system) : base(msg_system) { _open_bracket = '"'; _close_bracket = '"'; _parameters_prefix = "@"; }
/// <summary> /// Конструктор /// </summary> /// <param name="msg_system"></param> public BaseMSSQLManager(IPrintMessageSystem msg_system) : base(msg_system) { _open_bracket = '['; _close_bracket = ']'; _parameters_prefix = "@"; _owner = "dbo"; }
/// <summary> /// Конструктор класса /// </summary> /// <param name="msg_system">Система оповещения об ошибке</param> public BaseDbManager(IPrintMessageSystem msg_system) { MessagePrinter = msg_system; }
public void SetPrintMessageSystem(IPrintMessageSystem MsgSystem) { MessagePrinter = MsgSystem; MessagePrinter.MessagePrinted += OnMessagePrinted; }