//------------------------------------------------------------------------------
// <auto-generated>
//     Este código fue generado por una herramienta.
//     Versión de runtime:4.0.30319.42000
//
//     Los cambios en este archivo podrían causar un comportamiento incorrecto y se perderán si
//     se vuelve a generar el código.
// </auto-generated>
//------------------------------------------------------------------------------

namespace Generator_Class_BD.Recursos {
    using System;
    
    
    /// <summary>
    ///   Clase de recurso fuertemente tipado, para buscar cadenas traducidas, etc.
    /// </summary>
    // StronglyTypedResourceBuilder generó automáticamente esta clase
    // a través de una herramienta como ResGen o Visual Studio.
    // Para agregar o quitar un miembro, edite el archivo .ResX y, a continuación, vuelva a ejecutar ResGen
    // con la opción /str o recompile su proyecto de VS.
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
    internal class RecursosBD {
        
        private static global::System.Resources.ResourceManager resourceMan;
        
        private static global::System.Globalization.CultureInfo resourceCulture;
        
        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        internal RecursosBD() {
        }
        
        /// <summary>
        ///   Devuelve la instancia de ResourceManager almacenada en caché utilizada por esta clase.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Resources.ResourceManager ResourceManager {
            get {
                if (object.ReferenceEquals(resourceMan, null)) {
                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Generator_Class_BD.Recursos.RecursosBD", typeof(RecursosBD).Assembly);
                    resourceMan = temp;
                }
                return resourceMan;
            }
        }
        
        /// <summary>
        ///   Reemplaza la propiedad CurrentUICulture del subproceso actual para todas las
        ///   búsquedas de recursos mediante esta clase de recurso fuertemente tipado.
        /// </summary>
        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
        internal static global::System.Globalization.CultureInfo Culture {
            get {
                return resourceCulture;
            }
            set {
                resourceCulture = value;
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a select 
        ///tab.name as Tabla,
        ///col.name as Columna,
        ///pk_tab.name as TablaPrincipal,
        ///pk_col.name as ColumnaRelacion,
        ///tp.name As TipoDato, 
        ///case when ic.object_id is null then 0 else 1 end as PK
        ///from sys.tables tab
        ///    inner join sys.columns col 
        ///        on col.object_id = tab.object_id
        ///   inner join sys.types tp on col.system_type_id = tp.system_type_id
        ///    left outer join sys.foreign_key_columns fk_cols
        ///        on fk_cols.parent_object_id = tab.object_id
        ///        and fk_cols.parent_column_id = col.co [resto de la cadena truncado]&quot;;.
        /// </summary>
        internal static string QueryCamporPorTablaRelacionados {
            get {
                return ResourceManager.GetString("QueryCamporPorTablaRelacionados", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a select f.name AS FK_Nombre, f.object_id As FK_Id,OBJECT_NAME(f.referenced_object_id) As Tabla, c.name As Columna, tp.name As TipoDato, CASE WHEN c.is_nullable = 1 THEN &apos;YES&apos; ELSE &apos;NO&apos; END As Nullable from sys.foreign_keys f inner join sys.tables t on f.referenced_object_id = t.object_id inner join sys.columns c on c.object_id = t.object_id inner join sys.types tp on c.system_type_id = tp.system_type_id where f.object_id in ({0})
        ///union
        ///select &apos;&apos; AS FK_Nombre, 0 As FK_Id, OBJECT_NAME(t.object_id) As Tabla,  [resto de la cadena truncado]&quot;;.
        /// </summary>
        internal static string QueryCamposPorTablas {
            get {
                return ResourceManager.GetString("QueryCamposPorTablas", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a Select 
        ///a.COLUMN_NAME,
        ///a.DATA_TYPE,
        ///a.IS_NULLABLE,
        ///CASE WHEN b.CONSTRAINT_NAME like &apos;%pk%&apos; then 1 else 0 end AS &apos;IS_PK&apos;,
        ///CASE WHEN b.CONSTRAINT_NAME like &apos;%fk%&apos; then 1 else 0 end AS &apos;IS_FK&apos;
        ///From INFORMATION_SCHEMA.columns as a 
        ///LEFT JOIN INFORMATION_SCHEMA.KEY_COLUMN_USAGE as b on a.table_name = b.table_name 
        ///AND a.column_name = b.column_name 
        ///where a.table_name = {0}.
        /// </summary>
        internal static string QueryColumnas {
            get {
                return ResourceManager.GetString("QueryColumnas", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a SELECT f.name As FK_Nombre, f.object_id As FK_Id, OBJECT_NAME(fc.referenced_object_id) As TablaRelacion, COL_NAME(fc.parent_object_id, fc.parent_column_id) AS ColumnaOrigen, COL_NAME(fc.referenced_object_id, fc.referenced_column_id) As ColumnaRelacion FROM sys.foreign_keys f INNER JOIN sys.foreign_key_columns fc ON f.object_id = fc.constraint_object_id WHERE f.object_id in ({0}) ORDER BY 1.
        /// </summary>
        internal static string QueryColumnasRelacion {
            get {
                return ResourceManager.GetString("QueryColumnasRelacion", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a Select a.COLUMN_NAME,a.DATA_TYPE,a.IS_NULLABLE,ISNULL(b.CONSTRAINT_NAME, &apos;0&apos;) as &apos;IS_PK&apos; From INFORMATION_SCHEMA.columns as a LEFT JOIN INFORMATION_SCHEMA.KEY_COLUMN_USAGE as b on a.table_name = b.table_name AND a.column_name = b.column_name and b.constraint_name like&apos;PK_%&apos;  where a.table_name = @TableName.
        /// </summary>
        internal static string QueryObtenerColumnas {
            get {
                return ResourceManager.GetString("QueryObtenerColumnas", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a SELECT DISTINCT f.name As FK_Nombre, f.object_id As FK_Id, OBJECT_NAME(fc.referenced_object_id) As TablaRelacion, STUFF((SELECT &apos;,&apos; + COL_NAME(fc.parent_object_id,fc.parent_column_id) FROM sys.foreign_key_columns fc WHERE fc.constraint_object_id = f.object_id FOR XML PATH(&apos;&apos;) ), 1, 1, &apos;&apos; ) As ColumnasRelacion FROM sys.foreign_keys f INNER JOIN sys.foreign_key_columns fc ON f.object_id = fc.constraint_object_id WHERE f.parent_object_id = OBJECT_ID(&apos;{0}&apos;).
        /// </summary>
        internal static string QueryRelacionesTabla {
            get {
                return ResourceManager.GetString("QueryRelacionesTabla", resourceCulture);
            }
        }
        
        /// <summary>
        ///   Busca una cadena traducida similar a  select 
        ///	obj.object_id as table_id, 
        ///	obj.name as table_name,
        ///	SCHEMA_NAME(obj.schema_id) AS &apos;schema&apos;, 
        ///	CASE WHEN Count(b.constraint_name) &gt; 0 THEN &apos;true&apos; ELSE &apos;false&apos; END AS fks
        ///from sys.objects AS obj 
        ///	left join information_schema.key_column_usage as b on obj.name = b.table_name AND b.CONSTRAINT_NAME LIKE &apos;%fk%&apos;
        ///WHERE type = &apos;u&apos;
        ///GROUP BY
        ///	obj.object_id,
        ///	obj.name,
        ///	obj.schema_id
        ///order by table_name.
        /// </summary>
        internal static string QueryTablas {
            get {
                return ResourceManager.GetString("QueryTablas", resourceCulture);
            }
        }
    }
}
