private void CheckSourceTableProperty(SyntaxNode node) { //try to find current table this.CurrentTable = null; PropertyValueSyntax sourceTablePropertyValue = node.GetPropertyValue("SourceTable"); if (sourceTablePropertyValue != null) { string sourceTable = ALSyntaxHelper.DecodeName(sourceTablePropertyValue.ToString()); this.CurrentTable = this.TypeInformationCollector.ProjectTypesInformation.GetTable(sourceTable); } }
public override SyntaxNode VisitPageExtension(PageExtensionSyntax node) { this.CurrentTable = null; return(base.VisitPageExtension(node)); }