X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FMono.Data.Sqlite%2FMono.Data.Sqlite_2.0%2FSQLiteMetaDataCollectionNames.cs;h=4b8bfd2f881fd52998dae0c16490c54b68aea2e2;hb=6352c16dd5306ccb8bedc742bf99505688695dc6;hp=fab3e1a1fec654e8e28ff0f6a20acf279cfa18c1;hpb=a83a4d36fed07eb34fd0ea84835c125018b68629;p=mono.git diff --git a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteMetaDataCollectionNames.cs b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteMetaDataCollectionNames.cs index fab3e1a1fec..4b8bfd2f881 100644 --- a/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteMetaDataCollectionNames.cs +++ b/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteMetaDataCollectionNames.cs @@ -1,84 +1,54 @@ -// -// Mono.Data.Sqlite.SQLiteMetaDataCollectionNames.cs -// -// Author(s): -// Robert Simpson (robert@blackcastlesoft.com) -// -// Adapted and modified for the Mono Project by -// Marek Habersack (grendello@gmail.com) -// -// -// Copyright (C) 2006 Novell, Inc (http://www.novell.com) -// Copyright (C) 2007 Marek Habersack -// -// Permission is hereby granted, free of charge, to any person obtaining -// a copy of this software and associated documentation files (the -// "Software"), to deal in the Software without restriction, including -// without limitation the rights to use, copy, modify, merge, publish, -// distribute, sublicense, and/or sell copies of the Software, and to -// permit persons to whom the Software is furnished to do so, subject to -// the following conditions: -// -// The above copyright notice and this permission notice shall be -// included in all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -// - -/******************************************************** - * ADO.NET 2.0 Data Provider for Sqlite Version 3.X - * Written by Robert Simpson (robert@blackcastlesoft.com) - * - * Released to the public domain, use at your own risk! - ********************************************************/ -#if NET_2_0 -namespace Mono.Data.Sqlite -{ - using System; - - /// - /// MetaDataCollections specific to Sqlite - /// - public static class SqliteMetaDataCollectionNames - { - /// - /// Returns a list of databases attached to the connection - /// - public static readonly string Catalogs = "Catalogs"; - /// - /// Returns column information for the specified table - /// - public static readonly string Columns = "Columns"; - /// - /// Returns index information for the optionally-specified table - /// - public static readonly string Indexes = "Indexes"; - /// - /// Returns base columns for the given index - /// - public static readonly string IndexColumns = "IndexColumns"; - /// - /// Returns the tables in the given catalog - /// - public static readonly string Tables = "Tables"; - /// - /// Returns user-defined views in the given catalog - /// - public static readonly string Views = "Views"; - /// - /// Returns underlying column information on the given view - /// - public static readonly string ViewColumns = "ViewColumns"; - /// - /// Returns foreign key information for the given catalog - /// - public static readonly string ForeignKeys = "ForeignKeys"; - } -} -#endif +/******************************************************** + * ADO.NET 2.0 Data Provider for SQLite Version 3.X + * Written by Robert Simpson (robert@blackcastlesoft.com) + * + * Released to the public domain, use at your own risk! + ********************************************************/ + +namespace Mono.Data.Sqlite +{ + using System; + + /// + /// MetaDataCollections specific to SQLite + /// + public static class SqliteMetaDataCollectionNames + { + /// + /// Returns a list of databases attached to the connection + /// + public static readonly string Catalogs = "Catalogs"; + /// + /// Returns column information for the specified table + /// + public static readonly string Columns = "Columns"; + /// + /// Returns index information for the optionally-specified table + /// + public static readonly string Indexes = "Indexes"; + /// + /// Returns base columns for the given index + /// + public static readonly string IndexColumns = "IndexColumns"; + /// + /// Returns the tables in the given catalog + /// + public static readonly string Tables = "Tables"; + /// + /// Returns user-defined views in the given catalog + /// + public static readonly string Views = "Views"; + /// + /// Returns underlying column information on the given view + /// + public static readonly string ViewColumns = "ViewColumns"; + /// + /// Returns foreign key information for the given catalog + /// + public static readonly string ForeignKeys = "ForeignKeys"; + /// + /// Returns the triggers on the database + /// + public static readonly string Triggers = "Triggers"; + } +}