Exemplo n.º 1
0
        private void HandleTableOpMetadata(ScanTableBaseOp op)
        {
            // add to the list of referenced entitysets
            var entitySet = op.Table.TableMetadata.Extent as EntitySet;
            if (entitySet != null)
            {
                // If entitySet is an association set, the appropriate entity set references will be registered inside Visit(RefOp, Node).
                AddEntitySetReference(entitySet);
            }

            var elementType = TypeUsage.Create(op.Table.TableMetadata.Extent.ElementType);
            // add to the list of structured types
            AddTypeReference(elementType);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Default handler for all TableOps
 /// </summary>
 /// <param name="op"></param>
 /// <param name="n"></param>
 protected virtual void VisitTableOp(ScanTableBaseOp op, Node n)
 {
     VisitRelOpDefault(op, n);
 }