1 //---------------------------------------------------------------------
2 // <copyright file="TextElement.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
7 // @backupOwner Microsoft
8 //---------------------------------------------------------------------
11 using System.Collections;
12 using System.Collections.Generic;
16 namespace System.Data.EntityModel.SchemaObjectModel
19 /// Summary description for Documentation.
21 internal sealed class TextElement : SchemaElement
23 #region Instance Fields
24 private string _value = null;
27 #region Public Methods
31 /// <param name="parentElement"></param>
32 public TextElement(SchemaElement parentElement)
38 #region Public Properties
55 #region Protected Properties
56 protected override bool HandleText(XmlReader reader)
58 TextElementTextHandler(reader);
63 #region Private Methods
67 /// <param name="reader"></param>
68 private void TextElementTextHandler(XmlReader reader)
70 string text = reader.Value;
71 if ( string.IsNullOrEmpty(text) )
74 if ( string.IsNullOrEmpty(Value) )