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
- MultiPageTextView.cs
- WebUtil.cs
- TempEnvironment.cs
- MessageParameterAttribute.cs
- BindingGroup.cs
- VarRefManager.cs
- ResXBuildProvider.cs
- XamlSerializerUtil.cs
- BooleanProjectedSlot.cs
- ByteViewer.cs
- SynchronizationScope.cs
- XXXOnTypeBuilderInstantiation.cs
- Double.cs
- ByteStreamBufferedMessageData.cs
- ArgIterator.cs
- CatalogPartChrome.cs
- MessageDroppedTraceRecord.cs
- NavigationService.cs
- ReachDocumentReferenceSerializer.cs
- CodeAccessPermission.cs
- BindToObject.cs
- validation.cs
- ObjectQueryExecutionPlan.cs
- unitconverter.cs
- OdbcException.cs
- DistinctQueryOperator.cs
- ThemeableAttribute.cs
- LocalIdCollection.cs
- PersistencePipeline.cs
- CurrentChangedEventManager.cs
- ChangesetResponse.cs
- TypeExtension.cs
- PrimitiveCodeDomSerializer.cs
- XmlSchemas.cs
- ContentPresenter.cs
- SmtpSection.cs
- SqlConnectionString.cs
- CultureInfoConverter.cs
- TaskExtensions.cs
- SqlIdentifier.cs
- LinqDataSourceContextEventArgs.cs
- ProcessStartInfo.cs
- EnumValidator.cs
- WebPartConnectionCollection.cs
- GorillaCodec.cs
- SqlUserDefinedAggregateAttribute.cs
- SQLGuid.cs
- PerformanceCounters.cs
- CustomTypeDescriptor.cs
- HttpPostedFile.cs
- Vector3dCollection.cs
- GregorianCalendarHelper.cs
- DataGridTablesFactory.cs
- UIElement3DAutomationPeer.cs
- DbConnectionPool.cs
- PageCodeDomTreeGenerator.cs
- SharedStream.cs
- _FixedSizeReader.cs
- HtmlContainerControl.cs
- DrawingContextDrawingContextWalker.cs
- XsltQilFactory.cs
- CodeExporter.cs
- ModulesEntry.cs
- ConnectionManagementElement.cs
- MergeFailedEvent.cs
- TextElementCollectionHelper.cs
- GorillaCodec.cs
- ProvideValueServiceProvider.cs
- TextSelectionProcessor.cs
- _DigestClient.cs
- SizeLimitedCache.cs
- ResourceDictionary.cs
- StreamAsIStream.cs
- QilInvokeEarlyBound.cs
- RawStylusInputReport.cs
- XmlWellformedWriter.cs
- MenuItemStyle.cs
- AttributeUsageAttribute.cs
- Int64AnimationUsingKeyFrames.cs
- Style.cs
- AuthenticateEventArgs.cs
- SqlDelegatedTransaction.cs
- DataGridViewCellStyleConverter.cs
- RegexMatch.cs
- counter.cs
- WebPartManager.cs
- OleDbException.cs
- _LocalDataStore.cs
- FlowNode.cs
- FormsAuthenticationUserCollection.cs
- SqlBulkCopyColumnMapping.cs
- GridViewSelectEventArgs.cs
- URLIdentityPermission.cs
- XmlSchemaImporter.cs
- SkipStoryboardToFill.cs
- UrlPath.cs
- CodeDOMProvider.cs
- FrameworkPropertyMetadata.cs
- DocumentPageView.cs
- TabRenderer.cs