예제 #1
0
        protected override void Handle(SqlGetSchemaQueueItem workitem)
        {
            var workitemLoads = workitem.Loads;

            var dictionary = SchemaLoader.GetSchemasForLoads(workitemLoads, Config.ConnectionString, Config.TopLevelKeyColumn);

            AddToOutputQueue(new SaveSchemaQueueItem
            {
                Mappings = dictionary.ToList()
            });
        }