/// <summary> /// Visits the given <paramref name="defaultPrimaryKeyNode"/>. /// </summary> /// <param name="defaultPrimaryKeyNode"></param> public override void Visit(IDefaultPrimaryKeyNode defaultPrimaryKeyNode) { // // Add "primary-key" property defaultPrimaryKeyNode.Properties.AddProperty(AstNodeProperty.Symbol(MdlSyntax.PrimaryKey, "true")); this.defaultPrimaryKeyNode = defaultPrimaryKeyNode; }
/// <summary> /// Visits the given <paramref name="defaultPrimaryKeyNode"/>. /// </summary> /// <param name="defaultPrimaryKeyNode"></param> public override void Visit(IDefaultPrimaryKeyNode defaultPrimaryKeyNode) { Visit(defaultPrimaryKeyNode.ChildNodes); }
/// <summary> /// Visits the given <paramref name="defaultPrimaryKeyNode" />. /// </summary> /// <param name="defaultPrimaryKeyNode"></param> public override void Visit(IDefaultPrimaryKeyNode defaultPrimaryKeyNode) { textWriter.Write("default-primary-key {0}", GetIdentifier(defaultPrimaryKeyNode.Name)); WriteProperties(defaultPrimaryKeyNode); VisitBlock(defaultPrimaryKeyNode); }
/// <summary> /// Visits the given <paramref name="defaultPrimaryKeyNode"/>. /// </summary> /// <param name="defaultPrimaryKeyNode"></param> public override void Visit(IDefaultPrimaryKeyNode defaultPrimaryKeyNode) { ResolveTypeAlias(defaultPrimaryKeyNode); }