public void Visit(XElement element, ParsingContext context) { var table = context.Serializer.Deserialize <TableSchemaMetadata>(element); context.CurrentObject <List <TableSchemaMetadata> >().Add(table); context.PushObject(table); }
public void Visit(XElement element, ParsingContext context) { var field = context.Serializer.Deserialize <FieldSchemaMetadata>(element); context.CurrentObject <TableSchemaMetadata>().AddField(field); context.PushObject(field); }