Tup.Cobar4Net.Config.Model.SchemaConfig.SchemaConfig C# (CSharp) Method

SchemaConfig() public method

public SchemaConfig ( string name, string dataNode, string group, bool keepSqlSchema, TableConfig>.IDictionary tables ) : System.Collections.Generic
name string
dataNode string
group string
keepSqlSchema bool
tables TableConfig>.IDictionary
return System.Collections.Generic
        public SchemaConfig(string name,
                            string dataNode,
                            string group,
                            bool keepSqlSchema,
                            IDictionary<string, TableConfig> tables)
        {
            Name = name;
            DataNode = dataNode;
            Group = group;
            Tables = tables;
            IsNoSharding = tables == null || tables.IsEmpty();
            MetaDataNodes = BuildMetaDataNodes();
            AllDataNodes = BuildAllDataNodes();
            IsKeepSqlSchema = keepSqlSchema;
        }