Ejemplo n.º 1
0
 internal Tk5DbCodeTable(Tk5CodeTableConfig config)
     : base(Tk5DataXml.Create(config.DataXml))
 {
     fDataXml    = (Tk5DataXml)Scheme;
     fAttribute  = new CodeTableAttribute(config);
     ContextName = config.Context;
     OrderBy     = config.OrderBy;
     FilterSql   = config.FilterSql;
     if (!string.IsNullOrEmpty(config.NameExpression))
     {
         NameExpression = config.NameExpression;
     }
     if (config.CacheDependency != null)
     {
         fDependency = config.CacheDependency.CreateObject();
     }
     else
     {
         fDependency = NoDependency.Dependency;
     }
 }
Ejemplo n.º 2
0
 public InternalTk5DbCodeTable(Tk5CodeTableConfig config)
     : base(config)
 {
 }