/// <summary> /// Constructor linking to a Logger method /// </summary> /// <param name="loggingMethod"></param> public FieldInformationManager(LogMethod loggingMethod) { this.Log = loggingMethod; this.tables = new Dictionary<string, Dictionary<string, FieldInformation>>(); dbHandler = null; slxModelHandler = null; }
/// <summary> /// Default Constructor /// </summary> public FieldInformationManager() { this.tables = new Dictionary<string, Dictionary<string, FieldInformation>>(); dbHandler = null; slxModelHandler = null; // no logger: log to console this.Log = delegate(string Msg) { Console.WriteLine(Msg); }; }
/// <summary> /// Setup the connection to slx model /// </summary> /// <param name="slxModelHandler"></param> public void LinkToSlxModel(SLXModelHandler slxModelHandler) { this.slxModelHandler = slxModelHandler; }