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
- OverloadGroupAttribute.cs
- IBuiltInEvidence.cs
- CaseKeyBox.xaml.cs
- XamlTreeBuilderBamlRecordWriter.cs
- Brush.cs
- BuildProviderUtils.cs
- ListDataBindEventArgs.cs
- StringArrayConverter.cs
- AncestorChangedEventArgs.cs
- PageCatalogPart.cs
- System.Data.OracleClient_BID.cs
- ContextStack.cs
- thaishape.cs
- AttributeData.cs
- OleDbError.cs
- DesignSurfaceServiceContainer.cs
- UserControlParser.cs
- AspNetHostingPermission.cs
- GridProviderWrapper.cs
- ColorDialog.cs
- ContextBase.cs
- DiscardableAttribute.cs
- ZipIOLocalFileDataDescriptor.cs
- FormsAuthenticationModule.cs
- Visitors.cs
- SystemFonts.cs
- ListViewTableCell.cs
- SoapFault.cs
- EventSinkActivityDesigner.cs
- ImageKeyConverter.cs
- HttpServerUtilityWrapper.cs
- TextFindEngine.cs
- TimeZone.cs
- SQLBoolean.cs
- X509CertificateTrustedIssuerElementCollection.cs
- ClockController.cs
- CodeTypeMember.cs
- DrawingCollection.cs
- ExpressionLink.cs
- URLAttribute.cs
- ComponentDispatcherThread.cs
- DebuggerService.cs
- InteropAutomationProvider.cs
- EntityDataSourceSelectedEventArgs.cs
- XmlIgnoreAttribute.cs
- LogRestartAreaEnumerator.cs
- ReservationNotFoundException.cs
- SwitchLevelAttribute.cs
- PeerEndPoint.cs
- TextTreeNode.cs
- AssociationSet.cs
- ConfigurationValues.cs
- HandleCollector.cs
- SpAudioStreamWrapper.cs
- PenLineJoinValidation.cs
- DbCommandTree.cs
- TrackingLocation.cs
- IconConverter.cs
- DeadCharTextComposition.cs
- AutoGeneratedField.cs
- TemplateControlParser.cs
- SmtpReplyReader.cs
- IHttpResponseInternal.cs
- FrugalList.cs
- CodeCommentStatementCollection.cs
- EpmCustomContentSerializer.cs
- InfoCardBinaryReader.cs
- AssemblyBuilder.cs
- CopyOnWriteList.cs
- StrongNameKeyPair.cs
- LoginCancelEventArgs.cs
- NativeMethods.cs
- RegexStringValidator.cs
- SqlBooleanMismatchVisitor.cs
- XsdCachingReader.cs
- While.cs
- _NestedSingleAsyncResult.cs
- InternalMappingException.cs
- SelfIssuedSamlTokenFactory.cs
- FontWeights.cs
- SecurityProtocolFactory.cs
- CalendarKeyboardHelper.cs
- RelationshipEnd.cs
- COM2ComponentEditor.cs
- UTF32Encoding.cs
- TableLayoutRowStyleCollection.cs
- MemoryRecordBuffer.cs
- X509UI.cs
- DataRowView.cs
- PropertyGridEditorPart.cs
- ThaiBuddhistCalendar.cs
- SolidColorBrush.cs
- TemplateLookupAction.cs
- RsaSecurityTokenAuthenticator.cs
- XmlMapping.cs
- MenuItemStyle.cs
- SystemFonts.cs
- x509store.cs
- ResolveDuplex11AsyncResult.cs
- NetStream.cs