Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntityDesign / Design / System / Data / Entity / Design / EntityStoreSchemaFilterEntry.cs / 1305376 / EntityStoreSchemaFilterEntry.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Data.Entity.Design.Common; namespace System.Data.Entity.Design { ////// This class represent a single filter entry /// public class EntityStoreSchemaFilterEntry { private string _catalog; private string _schema; private string _name; private EntityStoreSchemaFilterObjectTypes _types; private EntityStoreSchemaFilterEffect _effect; ////// Creates a EntityStoreSchemaFilterEntry /// /// The pattern to use to select the appropriate catalog or null to not limit by catalog. /// The pattern to use to select the appropriate schema or null to not limit by schema. /// The pattern to use to select the appropriate name or null to not limit by name. /// The type of objects to apply this filter to. /// The effect that this filter should have on the results. public EntityStoreSchemaFilterEntry(string catalog, string schema, string name, EntityStoreSchemaFilterObjectTypes types, EntityStoreSchemaFilterEffect effect) { if (types == EntityStoreSchemaFilterObjectTypes.None) { throw EDesignUtil.Argument("types"); } _catalog = catalog; _schema = schema; _name = name; _types = types; _effect = effect; } ////// Creates a EntityStoreSchemaFilterEntry /// /// The pattern to use to select the appropriate catalog or null to not limit by catalog. /// The pattern to use to select the appropriate schema or null to not limit by schema. /// The pattern to use to select the appropriate name or null to not limit by name. public EntityStoreSchemaFilterEntry(string catalog, string schema, string name) :this(catalog, schema, name, EntityStoreSchemaFilterObjectTypes.All, EntityStoreSchemaFilterEffect.Allow) { } ////// Gets the pattern that will be used to select the appropriate catalog. /// public string Catalog { [DebuggerStepThroughAttribute] get { return _catalog; } } ////// Gets the pattern that will be used to select the appropriate schema. /// public string Schema { [DebuggerStepThroughAttribute] get { return _schema; } } ////// Gets the pattern that will be used to select the appropriate name. /// public string Name { [DebuggerStepThroughAttribute] get { return _name; } } ////// Gets the types of objects that this filter applies to. /// public EntityStoreSchemaFilterObjectTypes Types { [DebuggerStepThroughAttribute] get { return _types; } } ////// Gets the effect that this filter has on results. /// public EntityStoreSchemaFilterEffect Effect { [DebuggerStepThroughAttribute] get { return _effect; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Data.Entity.Design.Common; namespace System.Data.Entity.Design { ////// This class represent a single filter entry /// public class EntityStoreSchemaFilterEntry { private string _catalog; private string _schema; private string _name; private EntityStoreSchemaFilterObjectTypes _types; private EntityStoreSchemaFilterEffect _effect; ////// Creates a EntityStoreSchemaFilterEntry /// /// The pattern to use to select the appropriate catalog or null to not limit by catalog. /// The pattern to use to select the appropriate schema or null to not limit by schema. /// The pattern to use to select the appropriate name or null to not limit by name. /// The type of objects to apply this filter to. /// The effect that this filter should have on the results. public EntityStoreSchemaFilterEntry(string catalog, string schema, string name, EntityStoreSchemaFilterObjectTypes types, EntityStoreSchemaFilterEffect effect) { if (types == EntityStoreSchemaFilterObjectTypes.None) { throw EDesignUtil.Argument("types"); } _catalog = catalog; _schema = schema; _name = name; _types = types; _effect = effect; } ////// Creates a EntityStoreSchemaFilterEntry /// /// The pattern to use to select the appropriate catalog or null to not limit by catalog. /// The pattern to use to select the appropriate schema or null to not limit by schema. /// The pattern to use to select the appropriate name or null to not limit by name. public EntityStoreSchemaFilterEntry(string catalog, string schema, string name) :this(catalog, schema, name, EntityStoreSchemaFilterObjectTypes.All, EntityStoreSchemaFilterEffect.Allow) { } ////// Gets the pattern that will be used to select the appropriate catalog. /// public string Catalog { [DebuggerStepThroughAttribute] get { return _catalog; } } ////// Gets the pattern that will be used to select the appropriate schema. /// public string Schema { [DebuggerStepThroughAttribute] get { return _schema; } } ////// Gets the pattern that will be used to select the appropriate name. /// public string Name { [DebuggerStepThroughAttribute] get { return _name; } } ////// Gets the types of objects that this filter applies to. /// public EntityStoreSchemaFilterObjectTypes Types { [DebuggerStepThroughAttribute] get { return _types; } } ////// Gets the effect that this filter has on results. /// public EntityStoreSchemaFilterEffect Effect { [DebuggerStepThroughAttribute] get { return _effect; } } } } // 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
- ConstructorBuilder.cs
- StreamReader.cs
- SafeRightsManagementQueryHandle.cs
- SoapSchemaMember.cs
- DbDataSourceEnumerator.cs
- ScrollContentPresenter.cs
- RegexWorker.cs
- FamilyMap.cs
- VerticalConnector.xaml.cs
- EmissiveMaterial.cs
- PowerModeChangedEventArgs.cs
- Tile.cs
- MenuStrip.cs
- DesignerForm.cs
- OleDragDropHandler.cs
- CodeActivityMetadata.cs
- DocumentSchemaValidator.cs
- CompilerState.cs
- KeyManager.cs
- Processor.cs
- XmlObjectSerializerReadContextComplexJson.cs
- ToolStripHighContrastRenderer.cs
- HtmlAnchor.cs
- DataRecord.cs
- OpenTypeMethods.cs
- DataControlField.cs
- grammarelement.cs
- ServiceProviders.cs
- SqlComparer.cs
- KnownTypesHelper.cs
- CustomErrorCollection.cs
- COSERVERINFO.cs
- CompilationUtil.cs
- JavaScriptSerializer.cs
- DataTableClearEvent.cs
- sqlinternaltransaction.cs
- StringPropertyBuilder.cs
- SynchronizationScope.cs
- ContextMenuService.cs
- ConstraintEnumerator.cs
- CollectionViewProxy.cs
- BezierSegment.cs
- XmlResolver.cs
- MembershipValidatePasswordEventArgs.cs
- FixedSOMLineCollection.cs
- RuntimeConfigLKG.cs
- ValidationSummary.cs
- ValidatorUtils.cs
- MethodExpr.cs
- CalendarData.cs
- VirtualDirectoryMappingCollection.cs
- InvalidWMPVersionException.cs
- MexHttpBindingElement.cs
- CultureInfoConverter.cs
- Sql8ExpressionRewriter.cs
- TableLayoutSettingsTypeConverter.cs
- CompoundFileStreamReference.cs
- TextRenderer.cs
- VSWCFServiceContractGenerator.cs
- Interlocked.cs
- NetworkInformationPermission.cs
- PeerName.cs
- WindowsRegion.cs
- TextEndOfSegment.cs
- FrameworkElement.cs
- ProjectionCamera.cs
- WindowProviderWrapper.cs
- Point4DConverter.cs
- PrintPreviewControl.cs
- ListViewSortEventArgs.cs
- DynamicEndpoint.cs
- SystemResourceHost.cs
- Encoding.cs
- _NestedSingleAsyncResult.cs
- XPathDescendantIterator.cs
- Symbol.cs
- TagMapCollection.cs
- RegexInterpreter.cs
- DataMemberConverter.cs
- QilDataSource.cs
- TypeConverterHelper.cs
- Selector.cs
- ReflectTypeDescriptionProvider.cs
- ConstructorNeedsTagAttribute.cs
- UTF8Encoding.cs
- Page.cs
- Win32Native.cs
- VirtualPathProvider.cs
- RemoteCryptoDecryptRequest.cs
- DataServiceEntityAttribute.cs
- CatalogPartChrome.cs
- SortedList.cs
- ToolBar.cs
- PopupControlService.cs
- ValidatedMobileControlConverter.cs
- SessionStateUtil.cs
- BaseCodePageEncoding.cs
- Bitmap.cs
- StringDictionary.cs
- QilCloneVisitor.cs