Exemplo n.º 1
0
        internal StandardDbCodeTable(StandardCodeTableConfig config)
            : base(new StandardCodeTableScheme(config.TableName))
        {
            fAttribute = new CodeTableAttribute(config);

            if (string.IsNullOrEmpty(config.OrderBy))
            {
                OrderBy = DEFAULT_ORDER;
            }
            else
            {
                OrderBy = config.OrderBy;
            }
            ContextName = config.Context;
            FilterSql   = config.FilterSql;
            if (!string.IsNullOrEmpty(config.NameExpression))
            {
                NameExpression = config.NameExpression;
            }
        }
 public InternalStandardDbCodeTable(StandardCodeTableConfig config)
     : base(config)
 {
 }