PRIMAVERA | Developers

    Show / Hide Table of Contents

    Interface IStdBSDefinicaoBD

    Namespace: StdPlatBS100
    Assembly: StdPlatBS100.dll
    Syntax
    [ComVisible(true)]
    [Guid("5BBE20EF-C359-4628-AADF-C08A4A269BE8")]
    public interface IStdBSDefinicaoBD

    Methods

    CampoObrigatorio(String, String)

    Declaration
    bool CampoObrigatorio(string NomeTabela, string NomeCampo)
    Parameters
    Type Name Description
    System.String NomeTabela
    System.String NomeCampo
    Returns
    Type Description
    System.Boolean

    CampoOrigemForeignKey(String, String)

    Declaration
    bool CampoOrigemForeignKey(string strNomeTabela, string strNomeCampo)
    Parameters
    Type Name Description
    System.String strNomeTabela
    System.String strNomeCampo
    Returns
    Type Description
    System.Boolean

    DaChavePrimariaTabela(String, String)

    Declaration
    StdBEDefChavePrimaria DaChavePrimariaTabela(string strNomeTabela, string strNomeBD = "")
    Parameters
    Type Name Description
    System.String strNomeTabela
    System.String strNomeBD
    Returns
    Type Description
    StdBEDefChavePrimaria

    DaChavePrimariaTabelaEx2(String, String)

    Declaration
    StdBEDefChavePrimaria DaChavePrimariaTabelaEx2(string strNomeBD, string strNomeTabela)
    Parameters
    Type Name Description
    System.String strNomeBD
    System.String strNomeTabela
    Returns
    Type Description
    StdBEDefChavePrimaria

    DaNomeSimplesObjecto(String)

    Declaration
    string DaNomeSimplesObjecto(string strNome)
    Parameters
    Type Name Description
    System.String strNome
    Returns
    Type Description
    System.String

    DaParametrosStoredProcedure(String)

    Declaration
    StdBEDefParametros DaParametrosStoredProcedure(string StoredProcedure)
    Parameters
    Type Name Description
    System.String StoredProcedure
    Returns
    Type Description
    StdBEDefParametros

    DaParametrosUserDefinedFunction(String)

    Declaration
    StdBEDefParametros DaParametrosUserDefinedFunction(string UserDefinedFunction)
    Parameters
    Type Name Description
    System.String UserDefinedFunction
    Returns
    Type Description
    StdBEDefParametros

    DaResultadoUserDefinedFunction(String)

    Declaration
    StdBEDefParametro DaResultadoUserDefinedFunction(string UserDefinedFunction)
    Parameters
    Type Name Description
    System.String UserDefinedFunction
    Returns
    Type Description
    StdBEDefParametro

    DaRsDefinicaoCampo(String, String, String)

    Declaration
    ADORecordSetHelper DaRsDefinicaoCampo(string strNomeBD, string strNomeTabela, string strNomeCampo)
    Parameters
    Type Name Description
    System.String strNomeBD
    System.String strNomeTabela
    System.String strNomeCampo
    Returns
    Type Description
    UpgradeHelpers.DB.ADO.ADORecordSetHelper

    DaServicePackSQLServer()

    Declaration
    StdBETipos.EnumServicePackSQLS2000 DaServicePackSQLServer()
    Returns
    Type Description
    StdBETipos.EnumServicePackSQLS2000

    DaServicePackSQLServerStr()

    Declaration
    string DaServicePackSQLServerStr()
    Returns
    Type Description
    System.String

    DaVersaoSQLServer()

    Declaration
    StdBETipos.EnumVersaoSQLS DaVersaoSQLServer()
    Returns
    Type Description
    StdBETipos.EnumVersaoSQLS

    DaVersaoSQLServerStr()

    Declaration
    string DaVersaoSQLServerStr()
    Returns
    Type Description
    System.String

    EditaDefCampo(String, String, String)

    Declaration
    StdBEDefCampo EditaDefCampo(string strNomeBD, string strNomeTabela, string strNomeCampo)
    Parameters
    Type Name Description
    System.String strNomeBD
    System.String strNomeTabela
    System.String strNomeCampo
    Returns
    Type Description
    StdBEDefCampo

    EditaDefTabela(String, String)

    Declaration
    StdBEDefCamposEx EditaDefTabela(string strTabela, string strNomeBD = "")
    Parameters
    Type Name Description
    System.String strTabela
    System.String strNomeBD
    Returns
    Type Description
    StdBEDefCamposEx

    EditaTabela(String, String)

    Declaration
    StdBEDefCampos EditaTabela(string strTabela, string strNomeBD = "")
    Parameters
    Type Name Description
    System.String strTabela
    System.String strNomeBD
    Returns
    Type Description
    StdBEDefCampos

    ListaIndicesTabela(String, String)

    Declaration
    StdBEIndices ListaIndicesTabela(string strNomeTabela, string strNomeBD = "")
    Parameters
    Type Name Description
    System.String strNomeTabela
    System.String strNomeBD
    Returns
    Type Description
    StdBEIndices

    ListaObjectos(StdBETipos.EnumTipoObjectosBD, String)

    Declaration
    PrimaveraOrderedDictionary ListaObjectos(StdBETipos.EnumTipoObjectosBD enuTipoObjecto, string strNomeBD = "")
    Parameters
    Type Name Description
    StdBETipos.EnumTipoObjectosBD enuTipoObjecto
    System.String strNomeBD
    Returns
    Type Description
    Primavera.Platform.Collections.PrimaveraOrderedDictionary

    NomeServidor()

    Declaration
    string NomeServidor()
    Returns
    Type Description
    System.String

    Servidor2008()

    Declaration
    bool Servidor2008()
    Returns
    Type Description
    System.Boolean

    Servidor2008OuSuperior()

    Declaration
    bool Servidor2008OuSuperior()
    Returns
    Type Description
    System.Boolean

    Servidor2012()

    Declaration
    bool Servidor2012()
    Returns
    Type Description
    System.Boolean

    Servidor2014()

    Declaration
    bool Servidor2014()
    Returns
    Type Description
    System.Boolean

    Servidor2016()

    Declaration
    bool Servidor2016()
    Returns
    Type Description
    System.Boolean

    Servidor2017()

    Declaration
    bool Servidor2017()
    Returns
    Type Description
    System.Boolean

    ServidorMSDE()

    Declaration
    bool ServidorMSDE()
    Returns
    Type Description
    System.Boolean

    ServidorSuperior()

    Declaration
    bool ServidorSuperior()
    Returns
    Type Description
    System.Boolean

    UtilizadorSqlDBCreator()

    Declaration
    bool UtilizadorSqlDBCreator()
    Returns
    Type Description
    System.Boolean

    UtilizadorSqlSA()

    Declaration
    bool UtilizadorSqlSA()
    Returns
    Type Description
    System.Boolean