Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / EntityModel / SchemaObjectModel / FunctionCommandText.cs / 1305376 / FunctionCommandText.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Diagnostics; using System.Xml; using System.Data; using System.Data.Metadata.Edm; namespace System.Data.EntityModel.SchemaObjectModel { ////// Represents an CommandText element. /// internal sealed class FunctionCommandText : SchemaElement { private string _commandText; ////// Constructs an FunctionCommandText /// /// Reference to the schema element. public FunctionCommandText(Function parentElement) : base(parentElement) { } public string CommandText { get { return _commandText; } } protected override bool HandleText(XmlReader reader) { _commandText = reader.Value; return true; } internal override void Validate() { base.Validate(); if (String.IsNullOrEmpty(_commandText)) { AddError(ErrorCode.EmptyCommandText, EdmSchemaErrorSeverity.Error, System.Data.Entity.Strings.EmptyCommandText); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- remotingproxy.cs
- mediaeventshelper.cs
- ColorTransform.cs
- NavigationWindowAutomationPeer.cs
- XhtmlBasicControlAdapter.cs
- ColorContext.cs
- WindowsImpersonationContext.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- Vector3DAnimationUsingKeyFrames.cs
- WebPartEventArgs.cs
- XmlCountingReader.cs
- AnimationStorage.cs
- DictionarySurrogate.cs
- SolidColorBrush.cs
- DataSourceGeneratorException.cs
- PageContent.cs
- UnsafeNativeMethodsMilCoreApi.cs
- DbModificationCommandTree.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ObjectFullSpanRewriter.cs
- HtmlInputFile.cs
- httpstaticobjectscollection.cs
- EntityDesignerBuildProvider.cs
- DataListItemCollection.cs
- DeploymentExceptionMapper.cs
- mactripleDES.cs
- OracleException.cs
- DbConnectionPool.cs
- DynamicPropertyHolder.cs
- util.cs
- Trace.cs
- MetadataItemSerializer.cs
- RelatedEnd.cs
- PassportAuthenticationModule.cs
- ArglessEventHandlerProxy.cs
- MessageSmuggler.cs
- UnsafePeerToPeerMethods.cs
- Rectangle.cs
- MultilineStringConverter.cs
- ObjectViewQueryResultData.cs
- ResourcesBuildProvider.cs
- ClientFormsIdentity.cs
- WindowsAuthenticationEventArgs.cs
- XmlDocumentViewSchema.cs
- AsymmetricSignatureDeformatter.cs
- RetrieveVirtualItemEventArgs.cs
- oledbmetadatacollectionnames.cs
- TextLine.cs
- CookielessHelper.cs
- WpfWebRequestHelper.cs
- DataGridSortCommandEventArgs.cs
- SqlCacheDependencySection.cs
- Shared.cs
- AppDomainUnloadedException.cs
- WriteFileContext.cs
- ApplicationSettingsBase.cs
- SerialPinChanges.cs
- ConvertEvent.cs
- ErrorsHelper.cs
- ZipPackage.cs
- basecomparevalidator.cs
- FacetChecker.cs
- PropertyChangingEventArgs.cs
- SrgsOneOf.cs
- WebServiceTypeData.cs
- BamlLocalizableResource.cs
- UInt16Storage.cs
- DocumentReferenceCollection.cs
- LoginView.cs
- CheckedListBox.cs
- MenuItem.cs
- XPathNodeIterator.cs
- MetadataItemEmitter.cs
- recordstatefactory.cs
- OdbcCommandBuilder.cs
- SchemaElementDecl.cs
- UInt32Storage.cs
- TextProviderWrapper.cs
- MemberInfoSerializationHolder.cs
- MessageQueueKey.cs
- CustomWebEventKey.cs
- StatusBar.cs
- ExternalCalls.cs
- XmlLanguageConverter.cs
- XmlSerializer.cs
- __Error.cs
- ListBindingConverter.cs
- ZipIOExtraFieldPaddingElement.cs
- StreamInfo.cs
- DataGridViewButtonCell.cs
- Vars.cs
- ImageAnimator.cs
- PrintDialog.cs
- ProgramNode.cs
- WindowsAuthenticationModule.cs
- WorkflowRuntime.cs
- AssemblyBuilderData.cs
- EncodingDataItem.cs
- Helper.cs
- GridViewSelectEventArgs.cs