Beispiel #1
0
        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);
            }
        }
Beispiel #2
0
 public override SyntaxNode VisitPageExtension(PageExtensionSyntax node)
 {
     this.CurrentTable = null;
     return(base.VisitPageExtension(node));
 }