/// <summary> /// Creates a EntityStoreSchemaFilterEntry /// </summary> /// <param name="catalog">The pattern to use to select the appropriate catalog or null to not limit by catalog.</param> /// <param name="schema">The pattern to use to select the appropriate schema or null to not limit by schema.</param> /// <param name="name">The pattern to use to select the appropriate name or null to not limit by name.</param> /// <param name="types">The type of objects to apply this filter to.</param> /// <param name="effect">The effect that this filter should have on the results.</param> 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; }
/// <summary> /// Creates a EntityStoreSchemaFilterEntry /// </summary> /// <param name="catalog">The pattern to use to select the appropriate catalog or null to not limit by catalog.</param> /// <param name="schema">The pattern to use to select the appropriate schema or null to not limit by schema.</param> /// <param name="name">The pattern to use to select the appropriate name or null to not limit by name.</param> /// <param name="types">The type of objects to apply this filter to.</param> /// <param name="effect">The effect that this filter should have on the results.</param> public EntityStoreSchemaFilterEntry( string catalog, string schema, string name, EntityStoreSchemaFilterObjectTypes types, EntityStoreSchemaFilterEffect effect) { if (types == EntityStoreSchemaFilterObjectTypes.None) { throw new ArgumentException( string.Format( CultureInfo.CurrentCulture, Resources_VersioningFacade.InvalidStringArgument, "types")); } _catalog = catalog; _schema = schema; _name = name; _types = types; _effect = effect; }