示例#1
0
 public IQueryable <T> AsQueryable <T>() where T : class
 {
     if (_config == null)
     {
         _config = _model.Compile();
     }
     return(_httpClientAdapter.All <T>());
 }
示例#2
0
        public ModelDefinitions Compile()
        {
            var modelDefinition = new ModelDefinitions();

            foreach (var type in _types)
            {
                modelDefinition.Add(type);
            }
            return(modelDefinition);
        }